Average Swipe time
Asymptoteell
Member Posts: 1,362
Anyone have any ideas for how long it would normally take someone to do a quick swipe across their iphone screen? I'm using this for a sword swing, so they'll probably be swiping pretty fast.
Comments
have an Actor Display Text with expression: EndTime-StartTime
2 gameAttributes StartTime and EndTime (real type)
on your screenSize transparent actor: (Full displayWidth/height ... well maybe little smaller or just slightly larger than enemy)
Rule touch is pressed or inside(if enemy sized) changeAttribute game.StartTime to game.Time
Rule touch is released or outside(if enemy sized) changeAttribute game.EndTime to game.Time
and see what the time is...
MH