I have a tower defense game I want to build for Windows. It is a mobile game right now and working fine. BUT with the Solar2D Simulator and a final Windows version there are some strange collision problems. In detail:
The game has paths where creeps are moving on. You then can freely drag towers on the screen and a collision detection prevents you from moving the dragged objects “over” the paths. The collision detection stops the tower and just continues when you reach (with your finger or here the mouse cursor!) a free (without path) area with your finger (here mouse) on screen again.
BUT: In the Windows build, just like in the Simulator the towers start to flicker when the mouse is moved over a path. As long as the mouse is moved over a path and the collision detection is working the tower is starting to “flicker” and shown one time where it had stopped when hitting the path and one time over the path at the mouse position.
The physics collision detection seems not to be working constantly and allows the object to be shown above another object which should not happen.
Is someone else experience this? Or does know how to fix it?
The strange part: When the game is build for Android or iOS on device it works perfectly! Just in the Simulator and a Windows build the problem is shown.
Any help on this welcome!
Thank you!