Game Development Community

T2D MIT Hello World

by practicing01 · in Torque 2D Beginner · 02/11/2013 (12:51 am) · 4 replies

http://www.mediafire.com/?m618ogja8m18lds

I tried to take out as much of the sandbox stuff as I could. I wanted a clean black screen and a console. Not sure if anymore can be deleted. As a bonus, it prints hello world every second :D (tilde for console).

#1
02/11/2013 (4:39 am)
I tried running it. I get a blank black screen and that is it. If I open the console I see that it thinks it is printing helloworld repeatedly, but nothing appears.
#2
02/11/2013 (5:27 am)
Most indubitably, 'tis the purpose of the program. I wanted to take out all the sandbox demo stuff and have a clean template. If anyone sees more things that can be pruned, please post.
#3
02/23/2013 (2:19 am)
Thank you very much!
#4
02/26/2013 (8:00 pm)
I have been playing with T2D and created a core module. I trimmed out everything needed and left only the basics.

-Two Modules:

1. Core
-Loads the necessary components to create a window and scene.

2. Splashscreen
-Loads two logos and then moves to a Main Menu.
-Number of logos and images can be changed easily.
-Logos have a fade in and fade out effect.
-After logos load it will display a "Main Menu"
-Main menu has 'Start Game', 'Settings', and 'Exit'
-Start Game and Settings just post echos to console.
-Exit will close the application.


It is most likely not the prettiest code but it displays some of the basics without having to load sandbox or toys.

Link:
https://www.dropbox.com/sh/gp79oqv5hlidsfl/dMv-JeLdmJ