Touch Stick Controllers

Index

Attached Files

The following files have been attached to this tutorial:

.capx

touchsticktut.capx

Download now 202.33 KB

Stats

9,007 visits, 29,063 views

Tools

Floating Controllers

Floating based control design allows for the input to be used over a large area. Where ever the finger touches becomes the center point of input. This form of input is well used for any hand size providing natural comfort. However it can be less responsive than an Analog stick using a larger pad.

What you will need

* Sprites that you would need for either Analog or Angle input

* Variables that you would also need for Analog of Angle input

* Optional use a large invisible sprite

Event Sheet for coordinate checking

Event Sheet for area sprite

How it works

In either method for floating control there are two steps. get where the touch event occurred to use as the center point and to hide the controls when released.

  • 2 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • very useful, saves me a lot of time. :)

  • This is great, thank you!

    Need to specify that this is great for pixel art, for anything else people need to something other than "Letterbox integer scale" and disable Pixel rounding.