Game Development Community

Racing Perspective

by Pedro Melendez · in Torque Game Builder · 07/30/2008 (9:11 am) · 8 replies

Hi, i'm in the process of creating a racing game (just finished my design), and i want to make it with a 3rd person perspective, something like Mario Kart or F-Zero (both 2d racing games that used that kind of perspective). What i want to know if making a game like that is possible using Torque Game Builder.

I want to make it with torque game builder, but if it can't be done, i'll have to switch to torque game engine.

Could anyone help me? If someone has done it, could you post a link to an example or tutorial or documentation about it?

Thanks in advance.

#1
07/30/2008 (1:02 pm)
I would doubt that would be possible as that view would require a complete 3D engine and I dont think TGB could do that. I might be wrong though.

Why not create a top down view on TGB and then do a 3rd person view on TGE and use the top down view as a prototype
#2
07/30/2008 (5:46 pm)
Nintendo did it in 2D on SNES with Mario Kart and F-Zero.

You'd just need to figure out how to accomplish something like Mode-7 scaling for the racetrack.
#3
07/31/2008 (6:21 am)
That's what i was talking about, something like the snes version of those games, sorry if i wansn't specific on which version of those games i meant. And now that you mention it, my biggest concern is actually the racetrack, how to pull it off, if it can be actually done using TGB.

Thanks
#4
07/31/2008 (7:27 pm)
Read up on Mode 7 and see if you can do it.

Quote:The term Mode 7 originated on the Super NES video game console, on which it describes a simple texture mapping graphics mode that allows a background layer to be rotated and scaled. By modifying the scaling and positioning of the layer on a scanline-by-scanline basis a simple perspective effect can be applied, transforming the layer into a 2D horizontal texture-mapped plane that trades height for depth. Thus, an impression of pseudo 3-dimensional graphics is achieved.

Some people have managed to get isometric tiles working, so it can definitely be done somehow.
#5
08/01/2008 (10:50 am)
Looks like someone already figured it out, or something similar. www.garagegames.com/mg/forums/result.thread.php?qt=77609
#6
08/04/2008 (2:51 pm)
I managed to (somehow) fake the mode-7 effect with tiles...
for example, you build 2 tilemaps with different patterns... now, you put one of them on coords (0,-10) and the other one in (0,10), now, all you hav to do after that, is make one tilemap scroll downwards and the other one upwards nad that will really fake the horizon effect we saw in the NES days...
#7
08/04/2008 (6:36 pm)
Screenshot?
#8
08/05/2008 (7:38 pm)
Pedro: definitely check out my thread. If you can edit the TGB source, you'll be able to copy what I'm doing. :D

UPDATE: I posted this in the other thread, but just so people can see what I'm doing without going through it (click pic): www.xenoclone.com/images/tgb_kart_t1.jpg