Is a future version going to support touches and swipes on the iPhone?
Kamazar
Member Posts: 287
I'm checking out the program, prepping everything to start my game, but I don't see anything for touches or swipes. When the iPhone preview app comes out, will they add more functionality? I'm kinda limited with just the accelerometer
Comments
If they are, someone yell how we do them! If not, then can I please formerly request this as a feature. I have some crazy ideas that would require a swipe behaviour, and I'm sure others wouldn't mind having it in as a rule, say.
Cheers,
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Or in GameSalad terms,
If Mouse Button -> Down
- Change Attribute. StartingX = Mouse.Position.X
- Change Attribute. StartingY = Mouse.Position.Y
- If Mouse.Position.X not equal to StartingX or If Mouse.Position.Y not equal to StartingY
-- Change Attribute. CouldBeSwiping = True
If Mouse Button -> Up
- Change Attribute. CouldBeSwiping = False
If CouldBeSwiping == true
- Control Camera
- Constrain self.Position.X = Mouse.Position.X
- Constrain self.Position.Y = Mouse.Position.Y
Or something like that. That should get you a head start on perfecting it.
/hands Codemonkey a banana
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io