A simple game project to create a 2D top down RPG style game. I started out following a guide but found it was incomplete, no longer had a working link to source code, and was also written for python 2. I updated examples for python 3 initially and did some experimentation with the configurations and map drawing.
I included a tileset that is free on itch.io because of the original for the tutorial being unavailable. I plan to eventually replace with a homemade tileset.
- tileset.py - provides a basic class for loading tilesets. It also, when run by itself, will load a tileset and display to screen broken into individual tiles.
- level.py - provides a basic class for loading a level. It also, when run by itself, will load a level and display it staticly.
- sprite.py - provides a basic class for loading sprites.
- player.py - provides a basic class for the main player character
- game.py - the game class, which binds all the classes together into a playable game loop
- map - text based representation of the map
- tileset - defines the tileset to use for the level build
- tile translation definitions - translate the text to unique tiles
- name - can be used to define how tiles are interpreted in other classes
- tile - defines which tile to use from tileset
- wall - if true, marks the tile as a wall which makes it an overlay
- block - if true, blocks movement
- spawn - if true, is the player spawn location
- sprite - if true, is a sprite and gets added to the list of sprites loaded
- make a new tileset that isn't someone else's intellectual property
- sprite tiles for : player character, interacterables, and enemies
- Implement a status box in game screen
- Design more levels, add in transitioning between maps
- If designing by hand is a pain, design a level designing tool (big project)
- Add a farming map/game loop
- Add a mining map/game loop
- Add running a shop in the main map
