Hello you all I need some advice/help figuring out what could be causing some frame drops. Ive been working on this build for a while trying to find the most lightweight method so my game can run on nearly any pc or mobile phone. On my desktop it runs 50-60 frames but I tested it on my surface pro windows10 tablet and it was 35-45 frames.
When testing on my desktop all events related to block disabled, I was at 60 frames no exceptions. On my surface its 45-55. So I dont think its entirely related to the amount of blocks but it could be (there is over 2000)
Layout size is 2500x3600
Blocks are 50x50
My next thing I'm going to try is making smaller/simplified assets to see if it gives me a boost.
Here is the capx- dropbox.com/s/znstqybymq64nn5/mob.capx
Develop games in your browser. Powerful, performant & highly capable.
Use Debug Mode (Ctrl-F4, Ctrl-F5) to see what's causing performance loss. You can see how much memory images are using, how many collision checks are made every tick etc. Profile tab shows which event groups are most CPU-intensive.
For example, on my laptop "Level Building" group was using 17% CPU. After I changed event 35 from running on every tick to On Start of Layout, it dropped to 0%!
Also, search this forum and tutorials for performance tips, there have been several posts with lots of useful info.
Ahhh thank you very much. I'll do some more reading :)