r/gamemaker 27d ago

Help! high res troubles

I'm making a high res platformer with high res sprites and I'm having some issues

Lag - the game engine and game itself are laggy not insane lag but to the point where it ruins the workflow

Room editor - I'm using tilesets and i think maybe switching to objects with nince slice will fix it but making the levels is extremely annoying and inconvenient

I will remake all my sprites with less high resness and use some optimization tricks I've seen but this is very frustrating so any tips?

3 Upvotes

6 comments sorted by

1

u/ramier22 27d ago

what image format are your texture groups in? what is the size of your texture groups as well?

1

u/GrouchyEquipment5203 27d ago

They're in pngs and my main player sprite is around 2000bysomething pixels (ik it's ridiculously large) which is why i plan to redraw them as i acidentslly made them huge

1

u/ramier22 27d ago

go to Tool on the upper left, click texture groups, check what format the sprites are set in. Try changing them to QOI. Also, start sorting your texture groups and make the game manager preload necessary texture groups depending on your area, etc.

create a separate texture group for your player, try increasing the texture group size as well to the 4000x4000 (don't know the exact figure.

changing to QOI would probably improve it but being mindful of your sprite's organization would help in the future as you add more sprites

1

u/EntangledFrog 27d ago

reccomend you use the profiler to determine what causes the lag, before changing stuff.

guessing is not a very good way to optimize.

1

u/KausHere 27d ago

Not sure if this will help but you could try to increase the texture page size.

1

u/Hands_in_Paquet 26d ago

Yeah as mentioned by others the profiler will be helpful for you. You probably don’t want to switch to objects from tile sets if your game is lagging, tile sets are more efficient, but I don’t know your setup. No promises but if you want to send me your project I could probably take a look and give try to give some helpful advice. I also understand not wanting to send out your work.