Collision and FPS Optimization

Get help using Construct 2

Post » Sat May 07, 2016 3:33 pm

Hi everyone, I'm making a platformer and using tiled map objects for the graphics. But I also use it for solid collision testing. I'm using sprites and tiled background object for Jumpthu and spikes/deadly-shits, so I tought I could use tiled map instead to check collision with those object... So I started experiencing in debug mode for collision check and collision check per tick. Seems that tiled map objects for collision check are like 3 times less efficient than other objects. So I started even wondering if tiled map object are even efficient for graphics. Any toughts, with what would you use Sprite, Tiled BackGrounds and Tiled Map object for collision detection, are tiled map any good aside being practical to use and build. What are the best practices in that regard for FPS, RAM & CPU optimization for both collision and graphics.

Yeah I know, large topic, many hints in other topics but no clear answers that I could find. Thanks for participating :)
B
6
S
3
Posts: 16
Reputation: 632

Post » Sat May 07, 2016 3:39 pm

Tilemap object is relatively well optimized for drawing or collision, as it is a bunch of rectangle polygons to check.
So it should not be a problem. Thus optimization is very project specific. It would be great if you could provide a capx.
B
14
S
4
Posts: 112
Reputation: 1,287


Return to How do I....?

Who is online

Users browsing this forum: beohs, brunopalermo and 16 guests