4/16/2023 0 Comments Gameloop for macbook![]() ![]() It's quick and dirty code so apologies for that but it demonstrates my problem. I created a more basic example that reproduces the same issue that I have. ![]() It appeared that the issue may be with my game loop itself. I spent ages investigating possible performance issues but when I took a step back it appeared to something a lot more basic than that. Keep in mind that I am using CocoonJS so there should be no issue with Canvas performance. It works perfectly on my Macbook Air and almost as good on my Nexus 4, but when I deploy to my iPhone 4 I notice some annoying jerking in the frame rate. I'm implementing a side-scrolling auto runner using HTML5 and running into some issues with the frame rate jerking. I'm hoping someone will be able to point out what's going wrong with my code as I've been looking at it long enough to go crazy. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |