Game Development Community

2D game in Torque?

by Eric Forhan · in Torque Game Engine · 11/30/2003 (2:04 pm) · 2 replies

I've been considering a 2D game in Torque--one reason is simply that I'm familiar with the engine. Perhaps someone could shed some insight into a few questions?

-Would the networking still be available?
-Is there a way to manipulate the bitmaps? For example: The player's spaceship shoots a planet, and wherever it hits small chunks are taken out.
-Can the player's bitmap be animated or changed? Ex: The player is a hunter, and his rifle moves up or down depending on how he aims.
-Is there any reason not to use Torque?

Thanks. :-)

-Eric

#1
11/30/2003 (7:42 pm)
All depends on your implementation:

Depending on the gamestyle, you could could just use UI objects to do a good portion of the game. If so, then all networking would have to be done using commandToClient / commandToServer commands (because the Engine doesn't do anything to handle UI items as part of networking). It's not particularly hard - just have to figure out what all needs to be sent back and forth.

Or, you could just lock the camera in a side one shot, and work it from there. Then networking does it's thing without much programmer intervention.

As for manipulating bitmaps - someone else would have to answer that one :-)
#2
11/30/2003 (8:53 pm)
I've seen a few 2dish Torque games; most of them take the camera and put it in an isometric or side angle, then constrain gameplay so it's 2dish.

The only downside here is that if you want a very simple 2d game Torque could be a bit of overkill unless you rewrite bits of the rendering code.