Missing pieces..?
Hi again, people. My second question of the day - I could really do with a little advice - I am currently putting together a puzzle game. All seemed to be going well, and I was almost finished, when I began to have a glitch...
The puzzle involves a large number of small tiles (81 @ 40x40px each) being in the scene at all times, occasionally being moved in batches of 9. On the whole, this works fine, but sometimes one or two of the tiles refuses to move to its allotted position. If the coding was wrong, I figure it would never go to where it should go, but this only happens at random times.
My question is : what could be happening? Could it be that there are too many actors in the scene, and the GS creator can't keep track? Is it likely to be a bug that only shows in GS creator and won't show on a phone (I haven't gotten around to checking on a device yet, as I have only just 'finished' this project, and don't own an iPhone or iPad anyway!)?
Any advice, suggestions, help or words of wisdom most welcome! Many thanks.
The puzzle involves a large number of small tiles (81 @ 40x40px each) being in the scene at all times, occasionally being moved in batches of 9. On the whole, this works fine, but sometimes one or two of the tiles refuses to move to its allotted position. If the coding was wrong, I figure it would never go to where it should go, but this only happens at random times.
My question is : what could be happening? Could it be that there are too many actors in the scene, and the GS creator can't keep track? Is it likely to be a bug that only shows in GS creator and won't show on a phone (I haven't gotten around to checking on a device yet, as I have only just 'finished' this project, and don't own an iPhone or iPad anyway!)?
Any advice, suggestions, help or words of wisdom most welcome! Many thanks.
Best Answer
-
jonmulcahy Posts: 10,408
@kobayaashi
Make sure you have moveable unchecked and turn friction, density and bounciness set to 0 to disable the physics, that will reduce a lot of overhead.
Also, how are you moving your actors? If you are not using interpolate, start using it, it's a the most reliable way of moving objects on the screen
Answers