Previous Blog Next Blog
Prev/Next Blog
by date

Astral Objects: powered by TGB

Astral Objects: powered by TGB
Name:Mike Lilligreen 
Date Posted:Jan 27, 2008
Rating:5.0 out of 5
Public:NO
Comments:YES
RSS Feed:GarageGames Blog feedor Subscribe with .
Profile Page:View profile page for Mike Lilligreen

Blog post
As is perhaps typical for a hobbyist, T2D/TGB has always been an on again, off again affair for me. Having taken a large break for most of 2007, I downloaded TGB 1.6 when it was released and checked out the included projects as a starting point to relearn the editor and Torquescript. While the behavior playground is a nice showcase for how easy and useful behaviors are in TGB, in some ways it lacks the flair of a complete or semi-complete game like the old side scrolling shooter was in T2D.

One of the saved scenes in the behavior playground is a simple example of an asteroids-like game. Having found this rough diamond, I thought this would be the perfect way to teach myself the new method of putting together a game via behaviors. Since the gameplay is rather simple, it also kept the target of creating a finished product within reach.

I set out with the following goals: 1. Only use the artwork provided with the playground, 2. Keep the majority of game logic inside behaviors and thus easily modifiable within the TGB editor, 3. Give back to the community through the creation of a TDN tutorial series based on this game.

6 weeks, 22 behaviors and only 2 new png files (the TGB and Astral Objects logo) later, I can finally share the finished game. As with any game for any developer, there's still a ton of things both big and small that I would love to keep tinkering with, but it's time to move on with other ideas and projects in TGB. Overall I'm quite happy with the result and I've learned quite a lot about what is needed to create a somewhat complete game package.



All that is left now is to finish up the last two sections of the tutorial series, plus make any changes based on the community's feedback of the game. Hope you enjoy this remake of a near 30 year old arcade title - powered by TGB.

The windows version can be downloaded from the TDN Asteroids Tutorial Hub Page or direct here: tdn.garagegames.com/wiki/images/3/3a/TGB_AstralObjects.zip

Submit ResourceSubmit your own resources!

Ed Johnson   (Jan 28, 2008 at 05:00 GMT)
I just saw this tutorial yesterday, great stuff!

Vashner   (Jan 28, 2008 at 17:42 GMT)
You mean "asteriod like". Don't use the Atari term "Asteriods" as a direct representation of the game (advice not orders lol). Call it something else and then credit asteriods as an inspiration for gameplay mechanics.

Justin DuJardin   (Jan 28, 2008 at 21:02 GMT)   Resource Rating: 5
Wow awesome tutorial, good work!

Mike Lilligreen   (Jan 28, 2008 at 21:13 GMT)
Thanks for the advice Vashner, I've changed the game title. Guess I didn't really think much of it when researching all the free flash games called "Asteroids", but you're right - better to respect any existing trademarks by other companies.

Ajari Wilson   (Jan 29, 2008 at 22:00 GMT)
I like the new name. Good save. The game looks cool too.

Deozaan   (Feb 02, 2008 at 08:00 GMT)   Resource Rating: 5
Looks great! I look forwarding to going through the tutorial!

Andre Prior   (Feb 03, 2008 at 20:30 GMT)
Awesome tutorial. Iam currently working myself through it.

Chiefy   (Feb 05, 2008 at 10:23 GMT)   Resource Rating: 5
Hey, Thanks for the great tutorial. I just completed section one but I've run into a problem.

Each asteroid that spawns remains stationary. I double checked with the asteroid demo that was included in the behavior playground and the asteroids don't move around in that either!

My only guess is that the Random velocity behavior is faulty, or due to my version game builder (1.5.1)

Any help would be appreciated!

Chiefy   (Feb 05, 2008 at 18:32 GMT)   Resource Rating: 5
I may have worked out the problem but I'm still lost!

I think The template behavior that disables the "master" asteroids, are also present on the asteroids created by the spawn machine so they remain stationary, as if there not being treated as clones.

If i delete the template behavoir from the master asteroid it will move around but the ones being created still aren't functional.

Deozaan   (Feb 05, 2008 at 19:53 GMT)   Resource Rating: 5
Chiefy: Try these for a solution:

Behavior Bugs: Spawn Area, Random Velocity, etc. -> TGB Private Forums

Behavior Playground Asteroids Solution -> TGB Public Forums
Edited on Feb 05, 2008 19:59 GMT

Mike Lilligreen   (Feb 05, 2008 at 20:47 GMT)
Looking over the TGB change log, it looks like the bug you are experiencing got fixed in version 1.6 Chiefy. I've imported the game into 1.7.1 and it works fine, so feel free to download the newest version of TGB from your account page.

Chiefy   (Feb 06, 2008 at 04:17 GMT)   Resource Rating: 5
Awesome. Both solutions worked fine, thank you both for your help!

Brett Seyler   (Feb 22, 2008 at 14:17 GMT)
This is awesome! Nice work :)

You must be a member and be logged in to either append comments or rate this resource.