Game Development Community

Source Code for Go Beryllium - a TGB shoot em up

by Conor O Kane · in Torque Game Builder · 08/02/2008 (5:09 am) · 8 replies

Download the source code here

This is the source code for my latest game, Go Beryllium, which is a 2D bullet-hell style shmup. Read about the game here

This zip file contains only the scripts in the game/gamescripts folder - it is not the complete source for Go Beryllium. It is intended for Torque Game Builder users who want to learn how to make shoot-em-ups.

Some useful code provided with this game:

Managing large numbers of bullets.
Synchronizing sound effects to music.
Saving and loading settings from files.
Uploading information to a database via a php file.
RGB to HSV color space transformations.

It's a complete game, using TGB 1.7.2, entirely written in script - ie no C++ or engine modifications.

I'm not an experienced programmer (this is only the 3rd game I've written) so my code may be badly designed or just plain dumb. If you see something I'm doing wrong, please let me know!

#1
08/02/2008 (7:55 am)
Thanks for sharing - all code is interesting, especially the non-shootery bits you've done.
#2
08/02/2008 (8:07 am)
Thanks for releasing the source of this great game!
#3
08/02/2008 (7:27 pm)
I'm not making a shooter right now but I will definitely take a peek at the code. Thank you for sharing, not many people do. Game looks cool by the way I may have to just play it first.
#4
08/06/2008 (9:48 am)
Thanks for sharing this Conor :)
#5
08/09/2008 (7:09 am)
Quote:Synchronizing sound effects to music.

Worth the download just for that.
#6
08/09/2008 (8:47 am)
Kevin - that part was probably the hardest to write too! Almost everything else I was able to find a tutorial or some C++ code on the web to help me out but that part I had to basically work out myself.
#7
08/12/2008 (10:17 am)
Really helpful! One of TGB's biggest curses is the inability for projects to be completely open.
#8
08/12/2008 (11:56 am)
Quote:One of TGB's biggest curses is the inability for projects to be completely open.

Why would a TGB project not be able to be completely open?