Game Development Community

dev|Pro Game Development Curriculum

3D "Mode 7" Racing in TGB - Part 2

by Chris Jorgensen · 02/02/2009 (11:19 am) · 19 comments

Back in September I previewed an engine modification for TGB -- one that enables "mode 7" style 3D. I thought it was pretty fun. But it wasn't perfect. It didn't utilize the suite of 2D options available from the engine: collision, physics, etc, etc. I didn't think much about it after that. I had Xeno Versus part 2 rolling and figured after that I'd come back to this.

As it turns out, however, there is a lot of interest in what I've put together. I've gotten emails, IMs, google traffic, etc. So I thought I'd give an update.

www.xenoclone.com/images/new_mode7_preview_0.jpg
* It now utilizes the power of the TGB engine. Simply toss in a few lines of script to enable a 3D view of your existing 2D racer.

* Racing fundamentals are in. Checkpoints, laps, powerups, boosts, jumps are all added. More to come here.

www.xenoclone.com/images/new_mode7_preview_1.jpg
* Particle effects, yay! Just like sprites, you can lay 'em flat or stand them up.

www.xenoclone.com/images/new_mode7_preview_2.jpg
* Sprites now in sprite sheets. A small change, but a good one!

Here's what I am going to do: make a kit. First, I need to round out the features: add in a simple AI, real-time car ranking (1st, 2nd, etc), and so forth. Then I'll clean up the code. Finally, I'll port it over to the latest and greatest versions of TGB, writing documentation along the way.

I should have something done (at least on my end) by the end of this month. I'd like to follow in the Platformer Starter Kit's footsteps... so Mr. O'Shea, if you're willing to swap emails with me, I'd love your input.

#1
02/02/2009 (11:28 am)
Looks great, Chris!
#2
02/02/2009 (11:30 am)
Can anyone say F-Zero for the Super Nes ;)!
#3
02/02/2009 (12:00 pm)
Really, really cool. Can't wait to see how this develops!
#4
02/02/2009 (12:11 pm)
Chris, you should get in touch with Derek Bronson (derekb at ...) if you want to make a genre kit from this. It seems like you've got a pretty solid game template here that would be fun to work with. I'd want pole position :)
#5
02/02/2009 (12:37 pm)
Great work Chris!

Melv.
#6
02/02/2009 (12:38 pm)
That is great news Chris! I have been following your blog at xenoclone, watching and waiting for an update. :-)

For the AI, I was curious if simple A* with some radius avoidance would work? As soon as the racer crosses the checkpoint their destination is reset to the checkpoint again.
#7
02/02/2009 (2:24 pm)
Looking forward to it.
#8
02/02/2009 (3:10 pm)
Thanks for the comments. I'll definitely send Derek an email. :)

I'm not sure what I'm going to do with the AI yet. I'd like to make it simple and keep the focus on enabling people to crank out a racer quickly.
#9
02/02/2009 (5:54 pm)
?
#10
02/02/2009 (6:28 pm)
Care to elaborate Lth818 886?
#11
02/02/2009 (7:41 pm)
I think what "Lth818 886" was trying to say is that this pack will be an awesome addition to the TGB family of goods and that he's willing to be the first buyer!
..but he became so elated that he fainted and his head fell on the keyboard causing his reply.

I am sure he will back me up when he wakes-up. :D
#12
02/03/2009 (12:47 pm)
@eb - Fantastic interpretation =)
#13
02/03/2009 (1:52 pm)
I thought maybe the 2.5D was truly just that stunning. :)
#14
02/03/2009 (2:00 pm)
2.5D! That's 25% more D than regular TGB!
#15
02/03/2009 (2:49 pm)
@Lance - Quoted. Thank you! =)
#16
02/03/2009 (10:59 pm)
Nevaaaaaaaaaaaaaaar!

Looks awesome by the way!
#17
02/05/2009 (12:34 pm)
..is this done yet ? ..what's the holdup ? ;p

edit: reminds self to upgrade to pro.
#18
02/09/2009 (11:57 am)
I agree!!!
I'd really like to give you some money for that kit.
#19
02/09/2009 (12:16 pm)
Sounds good to me. I've got Phil giving the script his expert eye. Currently, I'm doing the port to 1.7.4 and writing up the docs. :)