Testing Touch

martymarty Posts: 112Member
edited March 23 in Programming

How do I test touch-based games (ie. Android, iOS) in Godot?

I'm hoping there's a better answer than 'build then deploy to a device'. ;-)

Answers

  • martymarty Posts: 112Member

    As a specific example, I know I can always build to device or build and then run in the simulator.

    But I'm wondering if there is a way to test an iOS/Android game for touch processing before in the Play window.

  • wetechwetech Posts: 16Member

    So I had that same question when I started developing my Batty Bat game. I modified a piece of code I found that allowed you to use a touch screen computer or mouse to interact. I worked out all the movements using mouse on laptop. They worked fine on Android. Look at my Analog Stick Demo Post The code is out on GitHub. That interface will work on touchscreens, with mouse and on Android.
    Hope this helps :)

  • martymarty Posts: 112Member
    edited March 25

    Is the lack of this functionality a symptom of the _input() singleton currently not yet querying touchscreen events?

    Or is it simply by design?

Sign In or Register to comment.