Hello. I'm making a game for study, which is a clone of the block vs snake. I'm not managing to make the control precise. The idea is to drag your finger across the screen to control the player.
If you touch the screen, the player should not be moved to the touch.x, only if you drag the screen, but I am not getting it. Can anyone help?
I went up the c3p. on the drive, if anyone wants to download it to test.
I'm days trying in various ways, but it doesn't work = (
Develop games in your browser. Powerful, performant & highly capable.
Not sure if I understood correctly, check this example:
Yes, it is almost that. The problem is that the player's movement needs to be more precise.
I tried in several ways, with "platform", with "move to", with "custom movement" and the problem of the precision of the commands always persisted.
What you did was very good, but I don’t know how to increase the response time, accuracy, control.
There is a disabled action "Set x to dest". If you enable it and remove MoveTo, then the control will be much sharper. Or you can experiment with MoveTo settings - speed, acceleration.
In fact, you are right, it works very well =). Thank you for your help. Now the challenge is to make it stop the collider with the solids> <