Corona Simulator vs IOS Sim/Actual device

hi…my first game is finished so i decided to build for the IOS sim (just to test it) and found out that the game was not really working…although in the Corona simulator it was working perfectly
after a few hours of revising the code again and again i`ve notice a thing…a ’ instead of " ( director:changeScene(‘game’,“fade”) )… apparently corona simulator does not consider it an error…and loads the file correctly…but on the build it fails…

So if you have the same issue…just change the ’ with " and it will work perfectly :slight_smile: [import]uid: 57170 topic_id: 11928 reply_id: 311928[/import]

Good on you for posting this after solving it; it might come in handy for others :slight_smile:

Peach [import]uid: 52491 topic_id: 11928 reply_id: 43537[/import]

I’ve also notice another issue relating to different performance between the simulator and the IOS device.

In my game, I use particle candy to animate two explosions.

The first explosion is when the missile hits any object, a fireball and smoke particle effect is shown.

The second explosion is when a wooden object is hit by another object (including a missile), a particle effect of the wooden object exploding is shown.

On the simulator, everything works perfectly. Missile hits object, missile explodes into fire and smoke, crate bursts into pieces.

On the iPhone, the missile effect is shown, but the crate just disappears, no explosion effect.

I’m confused as to why it works fine on the simulator but only half works on the device [import]uid: 63413 topic_id: 11928 reply_id: 43546[/import]

That is something you’d want to ask about in the Particle Candy sub forum.

Peach :slight_smile: [import]uid: 52491 topic_id: 11928 reply_id: 43612[/import]