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

Map 2

Map 3

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

Map 2

Map 3

#22
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.
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.
#25
cheers
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 namespacecheers
#26
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.
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
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.
03/05/2005 (1:41 pm)
Ahhh....lolthats 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.
Torque Owner Harold "LabRat" Brown