Coder Social home page Coder Social logo

davidhlavacek / pythonplatformgame Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11.35 MB

A fun and challenging platform game made with Python and Pygame. Featuring pixel-perfect collision detection, parabolic jumps, sprite animations, and randomized elements for unique gameplay experiences every time. Originally created as a beginner project, with plans for optimization and new features. ๐ŸŽฎ

Python 100.00%

pythonplatformgame's Introduction

๐ŸŽฎ Savana Rumble

A small platform game made in Python

Hey guys! Thank you for checking out my platform game. This was a project I created when I was 13 years old. While the optimization might not be the best, I have plans to improve it in the future. Enjoy playing!

Features ๐ŸŒŸ

  • Platform Mechanics: Classic platform game with jumping, moving, and avoiding obstacles.
  • Basic Enemies: Avoid comets, bullets, and spikes coming from the ground.
  • Pixel-Perfect Collision: Experience precise collision detection for a smooth gameplay experience.
  • Parabolic/Physics-Perfect Jump: Realistic jumping mechanics to enhance the platforming challenge.
  • Sprite Animation: Animated sprites for more lively and engaging visuals.
  • Randomized Gameplay: Each run is different, providing unique challenges and experiences.
  • Obstacle Damage: Each type of obstacle inflicts different damage levels, adding to the game's strategic depth.

Prerequisites ๐Ÿ“‹

Before running the Python platform game, ensure you have the following prerequisites installed on your system:

  1. Python 3.x:

    • Install Python to run the game.
    • Download Link: Python.org

Setup and Running ๐Ÿ› ๏ธ

  1. Clone the repository

  2. Open a terminal or command prompt.

  3. Navigate to the directory src where main.py is located.

  4. Run the following command to install the pygame library:

    pip install pygame
    
  5. Run the game using the following command:

    python Version5.py
    

How to Play ๐ŸŽฎ

  1. Move Left: Press A key
  2. Move Right: Press D key
  3. Jump: Press SPACEBAR
  4. Avoid Obstacles: Avoid comets, bullets, and spikes to survive as long as possible.
  5. Survive: The longer you survive, the higher your score.

Demo ๐Ÿ“น

Savana-Rumble Demo

Future Plans ๐ŸŒ

  • Optimization: Improve code structure and optimize performance.
  • Highscore: Implement a highscore tracking system.
  • Pause Functionality: Add a pause feature.
  • Super Powers: Introduce new abilities for the player.
  • Executable File: Convert the game into an executable file for easier distribution.

Disclaimer โ„น๏ธ

This project is a work in progress and was created when I was 13 years old. Future updates will improve performance and add new features.

pythonplatformgame's People

Contributors

davidhlavacek avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.