github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

tylerc / block-bounce

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 4
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (13)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (4)
    • linux-bin
    • master ✓
    • newsprites
    • windows-bin
  • Tags (13)
    • final1-windows
    • final1-linux
    • final1
    • beta1-linux
    • beta1
    • alpha8
    • alpha7
    • alpha6
    • alpha5
    • alpha4
    • alpha3
    • alpha2
    • alpha1
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

a simple breakout clone written in Ruby with rubygame — Read more

  cancel

rubygamedev.wordpress.com

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Centered README 
tylerc (author)
Wed Jul 29 12:26:58 -0700 2009
commit  34269be2a1d5d1754efb92cb6288bacb9723d52a
tree    f7a6868c658f75a6b8c57941f318ccebe1d0a874
parent  9e594a0c15b309ad822c41651b5da39ed169b097
block-bounce /
name age
history
message
file .gitignore Loading commit data...
file BUGS
file FreeSans.ttf
file README.html
file README.textile
file TODO
file block.rb
directory doc/
file genread.rb
file level.rb
directory levels/
file properties.rb
file settings.yml
directory sound/
file sprite.rb
directory sprites/
README.textile

Block Bounce

Written by: Tyler Church

Version: final1

License

Copyright © 2009 Tyler Church

This software is provided ‘as-is’, without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgement in the product documentation would be appreciated but is not required.

2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.

3. This notice may not be removed or altered from any source distribution.

Versions

alpha – Some features implemented. More features in each successive release. Not all features decided upon.

beta – All features implemented, adding few extras (levels, sprites, etc) and bug fixes

final – All features implemented, anything after final1 is purely bug-fix, or contributed additions

Description

This game is a simple breakout clone.
I am making this for a few reasons:

  • To test and improve my development skills
  • To create a reusable tile engine
  • To create a tile map editor
  • To create a game with physics!

Running The Game

(Note: This game is tested and developed on Linux with Ruby 1.8.7)
You need Rubygame installed (see below) to play the game
To run the game use the command:

ruby -rubygems block.rb

Installing Rubygame

Mac and Windows Instructions
Ubuntu/Debian Instructions

Playing The Game

In The Menu:

  • Start starts a game that plays through all levels (your progress is saved if you quit)
  • Continue continues a game from where you left off
  • Play Level lets you choose a specific level to play
  • Options lets you turn on and off FX, change the speed of the ball, reset progress, and reset everything
  • Quit quits the game

In Game:

  • Your mouse moves the blue paddle
  • You goal is to destroy all the blocks on the screen
  • Blocks occasionally drop “powers”, which alter certain parts of the game
  • Press ‘p’ to pause the game
  • Press Escape (ESC) to quit
  • HINT: Some powers are good, some bad, its up to you to figure out which are which
  • HINT: The ball bounces at a different angle depending on where it hits the paddle

Running The Level Editor

ruby -rubygems level.rb

  • See doc/LEVEL-TUTORIAL for a tutorial on making levels
  • See doc/LEVEL-DOC for full information
  • See doc/LEVEL-PROPERTIES-DOC for information on adding level properties

Running the Level Properties Editor

ruby -rubygems properties.rb

  • See doc/LEVEL-PROPERTIES-DOC for more information

Running The Sprite Editor

It is recommended that you do NOT use the sprite editor. Just use a different program and save to a .bmp file

ruby -rubygems sprite.rb [existing-sprite-name]

See doc/SPRITE-DOC for full information

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server