Game Development Community

Having Issues with Level Builder

by Doug Linley · in Torque Game Builder · 04/10/2006 (6:22 am) · 6 replies

Hello all.

I'm pretty new to TGB and I'm trying to work through the beta 2 stuff. Yesterday, I created a new level in the level editor (scrolling mountains, and clouds with the sky background) and used the level editor to place the player. Then I threw the code into Torsion and added an enemy.cs where I set a schedule for new enemies to spawn every 2 seconds, like in the basic tutorial. When I run the game now from the level editor, and then stop the game to go back to the level editor the enemies continue to spawn even though the game isn't running. Then I exit out of the level editor and my CPU usage goes up to 100% and stays there. Any ideas on what I'm doing wrong here?

#1
04/10/2006 (8:28 am)
Doug,
I'm fairly new also, and noticed that torsion occasionally spikes up to 100% cpu, and stays there until killed, was T2D or Torsion consuming your cpu?

If it wa T2D, I'll leave it to more capable hands to help :-) If Torsion, you might check out their site and see if anyone has reported this behaviour.

Rodney
#2
04/10/2006 (8:42 am)
I had torsion closed at this point. I noticed that I have huge issues when trying to run my game through torsion, so I just don't do it at this point. Thanks for the reply.
#3
04/10/2006 (9:10 am)
I submitted a bug report about this over a week ago: www.garagegames.com/mg/forums/result.thread.php?qt=42124

Since there were no replies to it, not really sure if it's a bug or not. A way for our scripts to hook in to the stop and pause buttons for testing would be nice though.
#4
04/10/2006 (4:15 pm)
Thanks Mike. At least I know now that it's not just me. I hope one of the devs can get back to us on this.
#5
04/10/2006 (4:24 pm)
Which build of Torsion do you have one of the recent releases had an error causing it to consume all the advailable window resources, might want to make sure you have THE LATEST torsion
#6
04/11/2006 (7:04 am)
I have v1.0.550 Alpha.