> Hi guys,
> I compiled my game with CocoonJS and it seems fine. The problem is that it crashes time from time to time. Sometimes after 7min sometimes after 30min. I have 30 levels and there is not one level that always crashes, it seems to random.
> Is CocoonJS my problem or is it something. Help would be great!
> results debug mode:
> frames 53 to 60 (18 to 21 ms/frame)
> Collisions check: 3000 to 21000 ( 223-350 per tick)
> Poly Collision: 200 to 1700 (4 to 40 per tick)
> cpu about 19%
> (first time using debug, so no clue if these are good or not)
Please, provide a capx, the debug doesn't make any sense, i think you need to check your events, look for any mismatches. And i hear there were some problems with samsung galaxy tab devices, and galaxy s3, if you use them, read cocoonjs faq to know how to fix the crashes. Or maybe your project just uses a lot of RAM, and it's crashed because of this.
thanks for the reply, can't give capx it is on my pc.
I tried it with nexus 5 and galaxy tab 2. Because the nexus 5 has 2gb RAM it is safe to say RAM isn't the problem.
What is weird about the debug? The big difference between values? Because the game spawns enemies so that is why there is a big gap between collision check, etc. At least one enemy and at most 25. Cocoonjs faq didn't give me answer...