u/VirusMission9156

▲ 10 r/pygame

Tilemap editor for pygame

https://preview.redd.it/10m2jibevckh1.png?width=2514&format=png&auto=webp&s=3d238a0231580fde9c9ba255dcffb875b35f91b2

https://preview.redd.it/45pvjrgkvckh1.png?width=2822&format=png&auto=webp&s=906d7ba7cf72c530d01cc4437c1f58008a1c0e30

https://preview.redd.it/5kcej2y5wckh1.png?width=2184&format=png&auto=webp&s=30ea83a6cc8f3bc2aaf8667bda4aee5ce3bef4bf

https://preview.redd.it/pg1hjdn8wckh1.png?width=2010&format=png&auto=webp&s=90685f954daedcdd49a56b0a719814d8124bc3ca

https://preview.redd.it/9jso902dwckh1.png?width=2300&format=png&auto=webp&s=a23835ceacca4e7ac54b6fb57866f056595cf9c2

Hello guys i have made tilemap-editor package thats fully based on pygame-ce and 0 dependencies.
I have made small demo game if you are interested..

It can simply be used this way:
- `pip install tilemap-editor`
- tilemap-editor init(generates settings.json very important)
- tilemap-editor run

Note: always use virtual environment

or simply
```
import Editor from editor
Editor().run()
```

Features:
- fully json output
- Few existing themes and fully customizable themes
- tilemap canvas
- godot like convex polygon collision editor and multi region object collision editor(polygon based)
- animation editor
- 3x3, 1x3 3x1 autotile
- own builtin filemanager
- object/grid and animated tileset in tree node structure with virtual folders(erased after exit)
- object/tile layer with layer locking and visibility option
- tile/object/tileset property editor
- area and particle nodes
- relative file path resolution
- hundred of particles emission with 60+ pre existing(some are weird but particle node are editable with config) like campfire, bonefire(used quantization and caching for optimization)
- character collision editor(capsule, rect and circle)
- small spritesheet editor for easy grid manupulation scaling, multi-region based images extraction
- render scale

If you are interested you can check : https://pypi.org/project/tilemap-editor/

If you want to know about it or learn it, its indexed in. deepwiki , you can ask question and look into it https://deepwiki.com/FluffyBrudy/tilemap

In case of those point/spotlight, i have made a live coding video though i have not spoken, i have explained with comment as i code in this video: https://youtu.be/LN7u20H7zK4

The map was inspired by youtuber dafluffypotato which i was hooked after the way he made platformer game. This tilemap is iterated version from the editor that he made one for his game, although this package has evolved with some/many idea from Godot itself. Sorry for bad ui and no wonder if you encounter bugs

reddit.com
u/VirusMission9156 — 14 hours ago