[Solved] Help! Huge framerate drops

Get help using Construct 2

Post » Sat Feb 15, 2014 3:09 pm

Hey all,

I've been making a dungeon-mining game with randomly-generated levels - capx below. Arrow keys to move, WASD to mine.

https://www.dropbox.com/s/s4v0p4uyxyfgrzm/ProcGenDungeon.capx

I'm using a lighting effect with DestinationOut "lightwindow" sprites that reveal the dungeon as you explore. I'm really pleased with the effect, but the problem is that the framerate drops massively as more of these sprites are created. I've tried exporting to Node Webkit which seems better, but the framerate still gets crippling.

Can anyone think of a way around this at all? If not then this may be the end for this project as I really want to keep the effect rather than have the player able to see all the dungeon all the time. If anyone can think of a smarter, more efficient and framerate-friendly way to do it, please let me know!lolpaca2014-02-15 15:18:43
B
15
S
4
G
1
Posts: 286
Reputation: 1,988

Post » Sat Feb 15, 2014 3:18 pm

ARGH ignore that. The problem was a "For Each" loop relating to the floor tiles, not the DestinationOut sprite. Happy!
B
15
S
4
G
1
Posts: 286
Reputation: 1,988


Return to How do I....?

Who is online

Users browsing this forum: FabianB, ST314 and 29 guests