Giter Club home page Giter Club logo

matinafzal / thejumonrunner Goto Github PK

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

the jumon runner It is a game made with pygame library In this game, the main character named Matin must try to escape from the spells (Jumons) and try to survive. In making this game, many features of the pygame library and game mechanics have been used.

License: MIT License

Python 100.00%
2d-game 2d-graphics game game-2d game-development game-development-python gamedev gameprogramming pygame pygame-basics

thejumonrunner's Introduction

JummonRunnerBanner

the jumon runner It is a game made with pygame library In this game, the main character named Matin must try to escape from the spells (Jumons) and try to survive. In making this game, many features of the pygame library and game mechanics have been used The initial version of this game was programmed by me in 4 days My main goal was to learn how to work with another Python library better.

The Jumon Runner

preview.mp4

The challenges I faced

I faced many challenges during this project I will describe two of the most difficult ones for you: The first challenge was to be able to process the spritesheet well and cut it into different frames relative to the pixels. In the initial version, the movements of the main character only have 4 frames in 4 directions (up, down, right and left), which Pressing each key will change the frame. In the future, if I have time, I will try to process and place more frames to make the character movement look more natural

The second challenge was to build a mechanism where the Jumons could follow the character on the screen The solution to build this mechanism is by calculating the distance between the spawned spell (outside the screen) and the main character (inside the screen) and calculating the normalized direction vector. Finally, you can use that vector to move the spells to the main character at a specified speed

Requirements

Python 3.10.7 > https://www.python.org/downloads/
pygame https://www.pygame.org/

Installation

You can download the execute version (.exe) of JummonRunner from here (recommended) Or you can clone this repository

execute (.exe) download: https://github.com/MatinAfzal/TheJumonRunner/releases/tag/V0.0.1

OR

Clone of this repository:


git clone https://github.com/MatinAfzal/TheJumonRunner

Usage

Open cmd:

C:\Windows\system32> cd ./<path>/TheJumonRunner

C:\TheJumonRunner> python main.py

Creator

thejumonrunner's People

Contributors

matinafzal 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.