Some of my achievements are pretty complicated in code, and I want to test in the emulator. So, I built a visual GUI that only runs if you’re in the emulator. On the device, it uses the normal gameNetwork code. I also included an example class that wraps it so all you have to do is:
[lua]Achievement:unlock(yourAchievement)[/lua]
…and your code won’t have to change. It’ll auto-detect if you’re running on a device or the emulator.
Anyway, hope it helps! I’ll work on Papaya achievements later, and eventually add in other gameNetwork features.
30 second video example: http://www.youtube.com/watch?v=sAaXBDbcmec
Code: https://github.com/JesterXL/Corona-Mock-for-gameNetwork [import]uid: 23693 topic_id: 16049 reply_id: 316049[/import]
[import]uid: 52491 topic_id: 16049 reply_id: 59695[/import]