Game Development Community

Ball moves slowly in XnaBreakout tutorial [resolved]

by Anthony Suarez · in Torque X 2D · 06/19/2009 (11:42 am) · 2 replies

I recently got the book "The Complete Guide to Torque X" and I have started the XnaBreakout tutorial. After I followed all the steps in the book, the ball moved in a slow motion and stops for a split-second and continues moving; it looked like it was lagging but it wasn't consuming a large amount of RAM. I followed the instructions exactly and gave it an X and Y velocity of 8 and 20 with bounce collisions. The g logo which is used as the paddle moves just as slow.

I downloaded the tutorial from TorqueXBook and it runs perfectly with no lag. I have restarted the tutorial a few times and I am not able to find out what I can do to fix it. Even if I remove everything except the ball, it still lags.

I did not modify any code as this tutorial does not ask me to modify any code. Has anyone encountered anything like this before?

#1
06/19/2009 (5:18 pm)
take a look at this and maybe it will help www.garagegames.com/community/forums/viewthread/92965
#2
06/20/2009 (7:33 am)
I set SimulateFences to true and it worked perfectly. Thanks. I would have never figured that out.