Implementing touchscreen controls

When using mobile devices, we often take touchscreen control for granted. It's a feature that feels very natural, and for that reason we tend to forget about the feature and we just use it!

Detecting when a user taps the screen is incredibly easy in Stencyl; detection of mouse clicks is automatically converted to screen-touch detection in Stencyl games. However, there are also some very useful instruction blocks for detecting gesture s, also known as swiping the display. Let's modify our AccelloSoccer test game to react to screen gestures instead of accelerometer feedback.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.149.243.18