Click to Play!

Friday, January 3, 2014

Don't Sprite Too Hard

     I'm getting better with managing file sizes. I used gigantic sprite sheets for Fish Feaster, taking up many times more memory than I needed to. It's important to keep in mind how you can use scripts to manipulate sprites in order to have variant sizes, change directions, or even alter colors and transparency. The few lines of code you'll need to do that will be much easier on the memory load than countless sprite files way larger than than need to be.

      In the end, your game will run more smoothly, take up less space on users' devices, and make you feel like a game developer who works smarter, not harder. Making so many sprites by hand was my biggest mistake with my first game, and I never made it again. Now I try to find more ways to mess with sprites through code and my future games will be better because of it.

No comments:

Post a Comment