hello, I am totally new and I am trying to figure out how to respond to accelerometer events such as device shaking. In Corona SDK they have an event for this, is it implemented in Gideros? Also, in the player I see no option to emulate device shaking, do you have plans to add this?
Comments
you can get the coordinates of the accelerometer by calling
We don't put this option to desktop version of Gideros Player because you can test your application on real device immediately. You can deploy GiderosiPhonePlayer.zip (which comes with the insallation) to your iOS device, then press play and shake it
http://www.giderosmobile.com/DevCenter/index.php/Deployment
Once you deploy the player to your device, you'll rarely need the Player on your desktop as you'll be able to test your app immediately on your real device.
Let us know in case you have a problem with this.
@atilim, an example would be very useful.
regarding testing on a real device: it would be nice, but one of the reasons why I am looking at gideros sdk is because it promises me an ability to develop for iOS/Android using windows and a device simulator. I do not have the devices (yet), I would like to develop my app first and then see how it goes to justify buying the device(s).
Yes, Gideros Studio compiles your Lua code to native code.
Feel free to share your progress here We'd be glad to know.
https://sites.google.com/site/xraystudiogame
Likes: atilim
Likes: atilim
I think you're right Mike.
thanks for your code!
It's a really quick method but not so efficient,it would be best if gideros sdk support shake detection nativly.
Maybe use UIEventSubtypeMotionShake event, I am not sure.
https://sites.google.com/site/xraystudiogame
But how about polls and votes? How democratic is (cough)Atilim(cough), ehmm, Gideros?
Likes: gorkem
My apps: http://www.yummyyellow.com