Endless runner performance question

Discussion and feedback on Construct 2

Post » Thu May 07, 2015 6:26 pm

Hey all,

I'm making an endless runner (well endless flyer, but yknow) and I was wondering if anyone could offer some advice on getting the best performance before I get too far with it. Currently, I'm making it so the layout is just window-sized, the player sprite is actually stationary, and the backgrounds and environment (which are large, procedurally-generated tilemaps) move using the bullet behaviour. It's going OK so far, but I've noticed the odd framerate drop and I'm worried this might get worse as I go on.

Would I be better just making the layouts bigger (but I'd need huuuge layouts, like 100,000 px long at least) and doing it "normally" - ie with the player sprite moving through the level and everything else staying still? Is there some trick with parallax and scrolling that I could be doing instead? I'm hoping I can make a mobile version once I'm happy with the desktop one, so performance and efficiency are going to be top of the agenda on this. If anyone's made anything similar and could give me some advice I'd appreciate it.
B
15
S
4
G
1
Posts: 286
Reputation: 1,988

Return to Construct 2 General

Who is online

Users browsing this forum: Artpunk, Sockratease and 8 guests