Hey everyone! I am making the classic ball and paddle game. Through-out the whole process I have had issues with stuttering and performance. I eventually rewrote the entire project and went "ape-sh!t" on reducing file sizes and using the best optimization practices. Still, I am having issues.
I notice that other, more intense, games can be played with far better smoothness then mine can. So, I decided to do a test. I stripped everything out and only added one ball, one paddle, and three walls. I added the solids, bullet and physics behaviors where they were needed.
Guess what? Still stuttering....! I really don't understand what can be causing this problem. I must be doing something wrong. Below is my capx file. Thanks for any advice.
.Capx
Decided to compile the above capx file and upload it to my phone for CocoonJS. Stuck at a blank screen.
With console error.
Result of expression 'this.body.SetAwake' [undefined] is not a function.
and Warnings.
Not found getElementByld: c2canvasdiv