Game Development Community

Asteroid tutorial problem (section 1)

by Seb · in Torque Game Builder · 04/14/2008 (7:24 am) · 3 replies

Hello everybody!

I was doing the Asteroid tutorial when I got a problem with section 1.
When I finished that section, I tried the game and... no large asteroids... If I shoot projectiles everywhere, small asteroids spawn. I thought it could be a layer problem but it doesn't seem so. Background is on layer 31 and both samll and large asteroids are on layer 5.
The fact that small asteroids are spawning when I shoot make me think it's just a rendering problem: large asteroids seem to be here but not visible.

Any idea?

#1
04/14/2008 (9:11 am)
Check your ImageMap datablock for the large asteroids, please.
#2
04/14/2008 (12:54 pm)
Is the visible box checked for the large asteroid object in the TGB editor?
#3
04/14/2008 (10:39 pm)
Okay, this is very embarassing but I found what I did wrong... I... er... actually they didn't have the behavior to give them velocity and as the spawn area is larger than the camera, they were all outside camera boundaries. *sigh*

Thanks a lot for the answers, though!