by date
My first TGB experiment
My first TGB experiment
| Name: | Jon Mitchell | ![]() |
|---|---|---|
| Date Posted: | Apr 24, 2007 | |
| Rating: | 3.0 out of 5 | |
| Public: | YES | |
| Comments: | YES | |
| RSS Feed: | or Subscribe with . | |
| Profile Page: | View profile page for Jon Mitchell |
Blog post
I have had a license for TGB for a little over two years now, it does not seem like two years have come and gone already but they have. Up until recently I had done nothing with TGB except the tutorials and I felt like it was a little of a waste to have it and not do some experimenting or something.
So there I was a bit before the holidays I decided to sit down and finally do something and I did start to do something! I started to make a top down tank shooter game. There was a bit of a learning curve and a lot of time searching TDN and the forums for answers, I had started to make good headway on my little experimental game until I ran into problems trying to put together something resembling and AI for the enemies. I got very hung up on this problem and I worried that I would get nothing accomplished if I continued to only work on this one problem, so I stopped working on the game for a while.
What I did was take some of the code I already had for the tank function and what I had learned and put together a simple little game I am calling Retro tank.
It is not very polished and it has a couple of game play bugs, but it was a great learning experience, I even came out of it with a pair of resources I submitted and were approved from what I learned while working on this game, one was for something that drove me crazy looking for, and that is how to do a quick and basic bounce, the other is for respawning with collision detection.
There are some things I know I re-invented the wheel on, like the way I went about setting up key binding for the two players. I really wanted to do the proper way with a listener for when you choose to bind a key or button push, but I could not quite figure out how it is currently done or find much for documentation. What I did instead was kind of interesting.
I guess what is really important is I had some fun while doing this and a feel I learned a lot. So with out further ado here are two downloads, one for Mac and one for Win
Retrotank for Win
Retrotank for Mac

So there I was a bit before the holidays I decided to sit down and finally do something and I did start to do something! I started to make a top down tank shooter game. There was a bit of a learning curve and a lot of time searching TDN and the forums for answers, I had started to make good headway on my little experimental game until I ran into problems trying to put together something resembling and AI for the enemies. I got very hung up on this problem and I worried that I would get nothing accomplished if I continued to only work on this one problem, so I stopped working on the game for a while.
What I did was take some of the code I already had for the tank function and what I had learned and put together a simple little game I am calling Retro tank.
It is not very polished and it has a couple of game play bugs, but it was a great learning experience, I even came out of it with a pair of resources I submitted and were approved from what I learned while working on this game, one was for something that drove me crazy looking for, and that is how to do a quick and basic bounce, the other is for respawning with collision detection.
There are some things I know I re-invented the wheel on, like the way I went about setting up key binding for the two players. I really wanted to do the proper way with a listener for when you choose to bind a key or button push, but I could not quite figure out how it is currently done or find much for documentation. What I did instead was kind of interesting.
I guess what is really important is I had some fun while doing this and a feel I learned a lot. So with out further ado here are two downloads, one for Mac and one for Win
Retrotank for Win
Retrotank for Mac

Recent Blog Posts
| List: | 09/29/08 - Looking to start a Torque users group in Maine 04/24/07 - My first TGB experiment |
|---|
Submit your own resources!| BigPapa (Apr 24, 2007 at 17:33 GMT) |
| J Sears (Apr 24, 2007 at 17:34 GMT) |
| NUTS! (Apr 24, 2007 at 19:15 GMT) |
| David Higgins (Apr 24, 2007 at 19:54 GMT) |
Looks like you did a good job on this, and I'll definitely be checking it out when I get home tonight.

| Justin DuJardin (Apr 25, 2007 at 03:47 GMT) Resource Rating: 3 |
I couldn't figure out how to rotate the cannon on my Mac build, is there a trick I'm missing or are the keybinds just not Mac friendly?
Cheers,
-Justin
| Leroy Frederick (Apr 25, 2007 at 09:02 GMT) |
| Jon Mitchell (Apr 25, 2007 at 12:13 GMT) |
I have not had a chance to test changing the keybindings on a mac because I do not have one readily available to test on. The little testing I did get to do the default Q and E for player one did work, as did 7 and 9 for player two.
I could not imagine there would be an input issue between the G4 I tested and something newer liek a G5 or intelmac. But I have been wrong about many tings before :-p
If you hit one of those keys and then hit the ~ key, is there any error output besides the font not loading?
| David Higgins (Apr 26, 2007 at 01:12 GMT) |
The controls are simple, however, I believe the tank turret should track the rotation of the tank ... cause, realistically, unless the turrent controller is changing the direction of the turret, it would follow the actual tanks rotation ... the fact that it doesn't make the game a bit tricky ...
erm ... yeah ... thats my only pet-peave at the moment ... :)
good job, and I love the tank art work ... ;)

| Jon Mitchell (Apr 26, 2007 at 03:04 GMT) |
You must be a member and be logged in to either append comments or rate this resource.



3.0 out of 5


