Game Development Community

This one is for Melv

by Harold "LabRat" Brown · in Torque Game Builder · 02/27/2005 (2:43 am) · 29 replies

UPDATE: Short of Networking and more maps... I'd say this is pretty much done.

Two packages, TankPong-Redist.zip is packaged per the EULA (Josh might want to confirm that it's OK)
TankPong-Source is the .CS files for the game.

NOTE: My redistribution format uses a very slimmed down Common folder.... you may or may not find it of use when packaging your own game.

torque.feylab.com/downloads/TankPong-Redist.zip
torque.feylab.com/downloads/TankPong-Source.zip

Map 1
torque.feylab.com/albums/album01/T2D_2005_02_27_21_50_27_00.sized.png
Map 2
torque.feylab.com/albums/album01/T2D_2005_02_27_21_50_30_07.sized.png
Map 3
torque.feylab.com/albums/album01/T2D_2005_02_27_21_50_33_48.sized.png
Page«First 1 2 Next»
#21
03/04/2005 (8:42 am)
Melv... Yeah the tanks probably do rotate a bit slow... I should really make the rotation and movement speeds global variables so they can be adjusted easily.
#22
03/04/2005 (10:46 am)
That would be really good. I looked for them but not enough time to play.

As soon as you do that, it'll be completely you fault that I don't get any bugs fixed. :)

Also, could you do the same for the projectile life?

Gonna be sweet playing this at work. Woot!

- Melv.
#23
03/04/2005 (11:00 am)
I'll add those tonight.
#24
03/04/2005 (11:04 am)
I'd better get those bugs fixed quickly then. ;)

- Melv.
#25
03/05/2005 (10:48 am)
Hey ya, just a quick q on ya code, in the scene.cs there is a function to rebuild the map for collision, whats wrong with how its loaded initally. and where is tankpong defined as u seem to declare alot of functions as part of that namespace

cheers
#26
03/05/2005 (12:38 pm)
Right now there is a bug in the Tile Scaling. If you scale a tilemap up it doesn't scale the collisions for those tiles correctly. Melv is working on a fix for it now.


As for the namespace thing... I'm just abusing that :) In the future I'm going to put both the Pong and Tank Pong into one game. To keep functions and variables seperate I use the Namespace prefex so I don't get conflicts. Since you can call the function with TankPong::Function() vs the actual namespace call of %obj.Function.
#27
03/05/2005 (1:15 pm)
But which file was the inital TankPong namespace setup in, i'm just missing it somewhere and wasnt sure how to set one up in t2d
#28
03/05/2005 (1:37 pm)
That's just it.... I'm not setting one up.... hence the "abusing that" comment.
#29
03/05/2005 (1:41 pm)
Ahhh....lol
thats pretty sweet. imagine trying that in c++!
still its not a bad idea, kinda gives that ability to set all these things up incase do need then in the future rather than going back and chaning all the code.
Page«First 1 2 Next»