Pages

Saturday, August 18, 2018

Platformer Game 1.0.0.0


Download: https://goo.gl/UK3opA

Platformer Game is my very first game created in Python programming language. The project contains only about 500 lines of code and 8 Python modules (in alphabetical order): Counter, Game, GameObject, MapLoader, Pickup, Player, Sounds and Values. Class inheritance is implemented for some game objects such as player and pickup items. Values module has important game data like screen resolution and other settings. The project is compiled into stand-alone executable file using PyInstaller (a program that freezes Python programs/packages into stand-alone executables). The executable file can contain all required data files (images, sounds and music) and also DLL files. Game music requires libogg.dll, libvorbis.dll and libvorbisfile.dll. There is no need to worry about audio playback because all required DLLs are packed into the executable. The executable file size is less than 9 MB. Version info and custom icons can be easily set with a little piece of code for the compiled file. The game uses custom font and game graphics are created in Inkscape. The levels of this game are created in Notepad where each letter represents game object such as player, wall and coin. Well, this is only a small demo game which I made in 2 days. I hope you'll like it.

Controls:
W/A/S/D: Move
Space: Jump
Enter: Start game
Escape: Quit

Gameplay:
Collect all coins.

No comments:

Post a Comment