I had no problem running apps with Particle Candy effects within the Corona simulator, but when I tried running them on Apple’s iOS simulator or on an actual device, I’d either get a black screen or a crash. I emailed Particle Candy support and got an immediate answer…
-
Make sure you place the Particle Candy library file (lib_particle_candy.lua) in your local program’s folder. Using “…/lib_particle_candy” works ok in the Corona simulator but not elsewhere.
-
Check the build.settings files included with Particle Candy’s sample code. Remove any iPhone-specific code. For example, one file had this in it:
[lua]settings =
{
orientation =
{
default = “landscape”,
},
iphone =
{
plist =
{
UIPrerenderedIcon = false,
},
},
build =
{
custom = “a1234”,
}
}[/lua]
I removed both the iphone code and build.custom code and it worked fine:
[lua]settings =
{
orientation =
{
default = “landscape”,
}
}[/lua]
- While this didn’t cause crashes, notice that the sound effects included with the Particle Candy samples are all mp3 files. These play in the Corona simulator, but may not on the device (or iOS simulator). So replace these with .caf files.
Has anyone else run across any issues?
[import]uid: 9905 topic_id: 4132 reply_id: 304132[/import]