[EXAMPLE] ipad like swiping

Get help using Construct 2

Post » Thu Aug 23, 2012 4:20 pm

I have been searching for some time for a nice way to swipe in layouts from the left and right.

Here is a working single layout version which smothly scrolls between screens like on the ipad.

https://www.dropbox.com/s/i0tnhmtb1nx3nlm/swipe_on_one_layout.capx

If anyone has any suggestsions about performance, code style or better ways of doing it I would be happy for the feedback. E.g. is it better to put all those globals as instance vars on a dummy object?

Its hard coded for a window of 480x800, but you get the idea.
B
15
S
5
G
2
Posts: 357
Reputation: 3,691

Return to How do I....?

Who is online

Users browsing this forum: spcsmrf and 26 guests