Trying to get touchscreen controls to work with topdown movement but nothing is happening. (I have different levels, some involve top down and some involve platform behavior)
My first port of call would be to see if the condition âdevice has a touchscreenâ gets triggered.
Also, with the platform behaviour section, your touch controls are only getting checked when the âaâ key is pressedâŚ
Yes itâs triggering, but still not working. I updated it to the structure from the isometric example, but its not working .
Firstly, when you tell it to simulate a key press, how do you know youâve got the right one? There are 2 simulate key press options available with the setup youâve got, making it a lottery:
Secondly, I would look at an alternative to what youâre doing. Have 2 player hitbox objects, say named player_platform and player_topdown, one with platform character behaviour and the other with top down behaviour. Put them in a group, say called PlayerHitBox. You can then refer to both the player hitbox objects in the events using the group name. And youâd only create the player hitbox for the level type.
Thanks! It actually had to do with my group, the hitbox didnât have the same animations as the skins, so once that was added, it worked!