Game Development Community

Stutter while moving a single sprite

by Juntaou · in Torque Game Builder · 01/23/2012 (2:35 pm) · 0 replies

Hey I got t2d last year and haven't touched it since, however with the update of 1.7.6 I decided to go ahead and give it a shot. The first thing I did was make a tileMap object fill it with textures(the whole grid is 10x10, not very big), and put an animated sprite up in the scene that could run around. I put empty game objects everywhere I wanted collisions with walls. This all worked great except every 5-10 seconds there is a slight stutter or hiccup in whatever is moving. At first I had the camera mounted to the object(the whole screen would hiccup), but then I unmounted it and made the camera view the size of the screen so I would never go off screen. With just the little guy running around the screen he would also experience a hiccup every 5 to 10 seconds. I can post the code when I get home, but I noticed this with multiple different move scripts, including the shooter move script. Any ideas as to what would cause this? Thanks in advance for any tips!