Game engine uses map editor… the sprite (coming soon)

Some sneaks from the next version.

Where we were

So, We made this little map maker and we want to use the maps into a game. I made some code to move a sprite around into this post here (click here to read about it).

I thought it could be a good idea to put together the code to show the tiles with the code to move a sprite (in form of a dog). The result is shown below without any collision detection or gravity simulation code. If you want to see the code to move the sprite, go here in this repository, look for the file of the pygame_tutorial repository. Maybe, at the end we will have a real game or an engine for 2d games.


A sneak peek into the code

This code is still a work in progress, you find the assets on the github repository. This file, to work, needs the folder dog with the images and the pickle file

Post written by Avatar A python enthusiast

Pygame map editor devlog

The devlog of the Pygame map editor. A work in progress to create a map editor to create maps with tiles with an example of a game that uses these maps. The current version is 1.5 of the map editor and 0.2 of the game, not yet ready for the 1.5 version of the editor (16.9.2020). Repository of the map editor