Game Development Community

Animated background....

by Ryan McKenzie · in Torque Game Builder · 12/02/2006 (7:47 am) · 2 replies

I am following the tdn mini tutorial to create a main menu with bitmap images. Here's the link.

http://tdn.garagegames.com/wiki/TGB/MiniTuturials/GUIMainMenuBitmap

I am planning to crete an animated background image instead of a static background. Does anyone know how to do this?

#1
12/03/2006 (10:43 pm)
Yeah, I just did that yesterday. Open your mainScreenGUI and add a second sceneWindow, call it backgroundWindow2D for instance. Then go to the level builder and design your background. In your scripts, somewhere call "backgroundWindow2D.loadLevel("[your_level]");" and you're good to go. :) You just have to take care that the background scene window really is in the background.

I would explain in more detail but I'm actually in a hurry, so good luck. I hope this helped. :)
#2
12/04/2006 (3:04 pm)
Thanks again oliver, and especially for this min walkthrough, it really did help.

Thanks again :)