How do I test for touch events on my simulator on my PC?
Does a mouse click mimic a touch event of cant I really test this ?
[import]uid: 138547 topic_id: 24242 reply_id: 324242[/import]
How do I test for touch events on my simulator on my PC?
Does a mouse click mimic a touch event of cant I really test this ?
[import]uid: 138547 topic_id: 24242 reply_id: 324242[/import]
Hi jagguy999,
Yes, clicking with the mouse simulates a touch event.
Mark [import]uid: 117098 topic_id: 24242 reply_id: 97974[/import]
OK what about movement direction?
How do I get a sprite to move in 4 different directions? up/down/left and right?
or a space invader game that moves left/right and fires? How does corona handle this? I saw a multi touch option but that doesnt work with all phones.
[import]uid: 138547 topic_id: 24242 reply_id: 98136[/import]
This has a d pad you can try out for up/down/left/right: http://techority.com/2011/05/01/using-sprites-in-your-corona-iphone-application/
You could also consider a joystick which we have code for in the code exchange
[import]uid: 52491 topic_id: 24242 reply_id: 98186[/import]
well that is quite easy I have to say.
Actionscript 3 takes a lot more coding to get that working, and so does android sdk.
Why is Corona sdk that good? [import]uid: 138547 topic_id: 24242 reply_id: 98207[/import]
I guess perhaps because the idea behind Corona is to make development faster and easier. “Code less, play more”
[import]uid: 52491 topic_id: 24242 reply_id: 98218[/import]