Skip to content

Latest commit

 

History

39 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Kangaroo Dash

Overview

Kangaroo Dash is an offline 2D arcade game built using Python and the Pygame library, directly inspired by Google Chrome's Dinosaur Game. Players control a pixelated kangaroo dashing through an endless desert environment, executing timed jumps over cacti and ducking under flying birds to avoid collisions as the game progressively speeds up.

Title screen of Kangaroo Dash

Context

This project was developed to explore fundamental 2D game development concepts using Python and Pygame.

  • A primary goal was implementing an infinite scrolling background mechanism inspired by Coding With Russ's Pygame tutorial.

  • Furthermore, the project served as an opportunity to implement delta time (dt) for frame-rate-independent movement and physics.

  • Additionally, the project incorporates hardware integration by connecting physical button inputs to the game using the pyFirmata library for Arduino.

Setup

Requirements

  • Python Version: Python 3.9 or higher
  • Python Packages:
    • pygame
    • pyfirmata

To install the required dependencies, run:

pip install pygame pyfirmata

How to Run

  1. Clone this repository:
git clone https://github.com/franciskendrick/Kangaroo-Dash.git
cd Kangaroo-Dash
  1. Run the application:
python src/main.py

About

Kangaroo Dash is an offline 2D arcade game built in Python and Pygame that features infinite scrolling, delta-time physics, and optional Arduino hardware integration, created to explore game development concepts.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages