Very slow movement and tearing of images
#1
Posted 26 June 2012 - 12:56 PM
I simply put a triangle, square, circle and ground object. I put them into space and have them fall onto the ground. It sort of works ok but it's extremely ragged, image tearing and slow. I'm not using any precise collision checking. I have a collision event that just says bounce back and let the physics do the rest. Also sometimes the objects overlap although the collision shapes seem to be right. Same as the object shapes anyway. The objects are only 32x32 in size except for the floor which is made up of 128x16 rectangles also with a collision shape to match the size of the sprite.
I'm trying to understand what could be wrong to make the animation so poor. I looked at the angry cats tutorial and the asteroids tutorial to get an idea but haven't been able to find anything. I've tried to keep it as simple as possible but still I am not able to bet better performance. The tutorials all run fine.
this is using the windows compiler and running on windows 7.
any idea? Am I missing doing something with the sprites, objects or the room? I have use physics turned on all the objects as well as the room.
thanks much
#2
Posted 17 July 2012 - 12:28 PM
Hi, I created a very basic physics project. There are only a few objects. I used the built-in GUI functions, use physics etc. I'm not doing any scripts in this one as I wanted to use it with my kids computer club ... so keeping it as much graphical user interface driven as possible.
I simply put a triangle, square, circle and ground object. I put them into space and have them fall onto the ground. It sort of works ok but it's extremely ragged, image tearing and slow. I'm not using any precise collision checking. I have a collision event that just says bounce back and let the physics do the rest. Also sometimes the objects overlap although the collision shapes seem to be right. Same as the object shapes anyway. The objects are only 32x32 in size except for the floor which is made up of 128x16 rectangles also with a collision shape to match the size of the sprite.
I'm trying to understand what could be wrong to make the animation so poor. I looked at the angry cats tutorial and the asteroids tutorial to get an idea but haven't been able to find anything. I've tried to keep it as simple as possible but still I am not able to bet better performance. The tutorials all run fine.
this is using the windows compiler and running on windows 7.
any idea? Am I missing doing something with the sprites, objects or the room? I have use physics turned on all the objects as well as the room.
thanks much
This has resolved itself after the last two updates of s/w
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











