Wednesday, March 16, 2011

Source Code: Block Breaker

Do you have some awesome ideas you want to see in a block breaker game? Are you a graphics designer wanting to turn a game with crappy graphics into a masterpiece? Don't have time to start from scratch? No problem!

Few months ago, I teamed up with a friend, Paul Harvey, to make a block breaker game in C# using the Microsoft XNA environment.

1. Game Features:


- 5 Different block types:











































Block Image



Block Name



Collidable



Destructible



Normal Block



Always



Yes – One hit



Hard Block



Always



Yes – Two hits



Boundary Block



Always



No



Ghost Block



When not fading



When not fading



Ghost Boundary Block



When not fading



No














































Block Image



Block Name



Collidable



Destructible





Normal Block



Always



Yes – One hit





Hard Block



Always



Yes – Two hits





Boundary Block



Always



No





Ghost Block



When not fading



When not fading





Ghost Boundary Block



When not fading



No




- 5 Different Power Ups/Downs:


Extra Life


Bigger Paddle


Smaller Paddle


Fast Ball


Extra Ball



- Countdown timer to finish the level.


- Score Board.


- Levels are parsed from text file, which allows user-created levels.


- Sound Effects.


2. Credits:


Programming: Sadiq Al-Khalili and Paul Harvey.
Graphics: Sadiq Al-Khalili and Paul Harvey.
Sounds effects: www.grsites.com

3. Download:


Game


Source Code


Have fun with it! Feel free to play around with the code and add/modify features!

No comments:

Post a Comment