Prev Previous Post   Next Post Next
Old 08-04-2010, 06:18 PM
Brett_val's Avatar
Brett_val Brett_val is offline
Senior Member
Join Date: Jan 2010
Location: The Netherlands
Posts: 636

Didn't you already did something similar in Dynablade? The heli kept going up when the screen was pressed.

I thought "up" isn't registered when it's a "click". I learned that from Dynablade .
Just add print(touch.event()) somewhere and you'll see that tapping can be registered as down, click,
but also as:
down, up,
depending on how long you hold the screen. If long enough, it will be:
Using this difference, you can "add" a new touch event, longer than a click but shorter than a hold. I experimented with this once but I'm not sure whether it will be useful.

Attached is an example of actions performed while holding, I hope it is similar to what you are looking for.
Attached Files
File Type: zip main - (1.4 KB, 13 views)

Last edited by Brett_val; 08-04-2010 at 07:17 PM.
Reply With Quote


creative, habhome, lua, neko apprentice, rpg, xfi2, zen

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 05:27 PM.