GithubHelp home page GithubHelp logo

gurkanctn / jeep-command Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 2.22 MB

A horizontal scroller game, using Pygame in Python. It's being developed to learn Python, and it aims to resemble the Jeep Command of Commodore 64 era. See README.md for more info.

License: GNU General Public License v3.0

Python 100.00%
game python pygame pygame-application commodore-64 scroller learning-by-doing

jeep-command's Introduction

THIS GAME IS A PROTOTYPE OF THE THEN-FAMOUS "Jeep Command" ON Commodore 64

See the following video for a preview: https://youtu.be/jHGZiCgM6dc

And this is the original game video: https://www.youtube.com/watch?v=OhdjJTSCFvc

Jeep Command

This game aims to resemble the "Jeep Command" of the Commodore 64.

The game is played via the keyboard. Right and Left arrow buttons will Accelerate-Decelerate the Jeep, Up arrow button will Jump, and Space will fire (rear or forward, depending on the last pressed arrow button).

Some personal notes: This is my first code in Python! I've decided to learn Python as a hobby. In the past, I'd coded Quick Basic and Turbo Pascal / Assembler as a hobby in the nineties; and have coded in Fortran, C/C++ and Matlab for several scientific-engineering works since around 2000.

After a quick internet search I've found a "moving_platforms" code, which I used as a game code base for my game. Here: https://github.com/Mekire/pygame-samples/blob/master/platforming/moving_platforms.py

I considered starting Python game programming with Pooyan. Then decided to go with a horizontal scroller. Btw, Pooyan is another great game, but the Jeep Command has a bit more adrenaline!

I've put together my initial working code, and you can already enjoy several seconds of gameplay. (maybe even a minute or two) :)

I've uploaded both the original soundtrack and also a music I improvised.

You can listen to the original background music here: Lemon: http://www.lemon64.com/?mainurl=http%3A//www.lemon64.com/games/details.php%3FID%3D1359

I've converted from SID to WAV using SID2WAV of http://www.vgmpf.com/Wiki/index.php/SID_to_WAV

Happy coding everyone!

And please say Hi if you visited this page.

Note: There may be several months of inactivity in 2017, due to a new project that I've joined. Enjoy the codes and don't hesitate to improvize on them, and let me know!

Thoughts for the future:

  1. Read levels from file: some parameters include: length of level, number of obstacles, definition of obstacles (location, shape, size, color)
  2. Show current score, Record score, and number of lives left (as hearts?).

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.