Menu

Skyruner

Home / portfolio / skyrunner

Skyrunner

Videogame made with Pygame

Run, jump, and shoot through unique levels, dodging obstacles and facing enemies to achieve the highest score. In "Sky Runner," several important features have been implemented.

Various classes have been defined to organize the code and represent different entities in the game, such as Player, Enemy, Boss, and Level. Inheritance was used to create subclasses of Enemy, like Boss, allowing for reuse and extension of the base class code. Pygame sprites were utilized to represent and manage game entities, including loading images, handling animations, and detecting collisions. Game loops were implemented in the Level class to manage game logic, update the game state, and redraw the screen. Event handling was developed to respond to user actions, such as moving the player and pausing the game. A scoring system was created that increases when the player collects coins. The Pygame library was used to play background music and sounds in the game. Additionally, a feature was implemented to save the player's score in a JSON file.

Learn more about the project.