Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Showcase / Ruby Racer
- - By Maimer Date 2014-06-15 13:38 Edited 2014-06-18 20:38
This is my first project with Gosu.

LINK TO GITHUB REPO: https://github.com/Maimer/ruby_racer

HIGH SCORES: http://rubyracergame.herokuapp.com/

It is a 2D platformer that makes use of random level generation to make every game completely unique. The goal of the game is to maneuver your character as to stay on the screen as long as possible and to generate the highest score. The game begins with a board that slowly scrolls vertically, with the scrolling speed increasing every 10 seconds. Once your character moves off the top of the screen the game is over.

There are multiple ways to increase your score and multiple strategies for success! First, the score increases continually as the game goes on, but it increases at a higher rate the lower the player is on the screen. The second way to increase your score is to collect coins! There are randomly generated coins that provide a substantial point bonus when they are collected. There is also a point multiplier that causes coins to be worth more the longer you have been playing.

Got yourself in a jam and don't want to lose the game? Use your bombs to blast your way through the floor! The player starts the game with a single bomb in their inventory, but for every 5 coins collected, the player is awarded another bomb.

Pass your name as an argument when you start the game in order to have it saved on the High Scores list online.  (ex. $ ruby main.rb "Maimer")

Main Menu:



Example Level:



Using a Bomb:

Attachment: rubyracer4.png (698k)
Parent - - By jahmaican Date 2014-06-15 16:57
Nice, but you should always convert all the audio files to ogg, as mp3 doesn't work properly in Gosu on every platform.
Parent - By Maimer Date 2014-06-16 01:52
Thanks for the reply.  I will do that on this repo tomorrow as I was unaware that this was the case.
Parent - By Maimer Date 2014-06-18 20:36
I updated the game a bit and now it automatically posts your high scores to: http://rubyracergame.herokuapp.com

If you download the latest version just pass your name as an argument when you start the game.

Ex: $ ruby main.rb "Maimer"
Ex: $ ruby main.rb "Big Boss Man"

Alternatively you can just edit the main.rb file and change the Global Varibale NAME to be whatever name you want and then you don't have to pass an argument every time you start the game.
Up Topic Gosu / Gosu Showcase / Ruby Racer

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill