SamSuka
shaunjs
shaunjs

patreon


Platformer Part 16 - Mouse menus & Title screen cleanup

Not a whole lot of new code in this part but we look at the "div" function and clean up our title screen a bit. As well as improving the menu by making it mouse enabled.

Source code project on itch.io has already been updated: https://shaunjs.itch.io/shauns-complete-platformer-tutorial-series 

Out to the public next Friday. Shortly after this post I'm going try out live-streaming on YouTube for about an hour or so. Feel free to swing by! https://www.youtube.com/user/999Greyfox/live

Platformer Part 16 - Mouse menus & Title screen cleanup

Comments

I wouldn't worry too much right now but you can certainly optimize these things. Group together the things that are used in the same place. The main performance save you can get is in minimizing the number of "texture swaps" the processor has to do per frame. That is, the number of times your computer has to unload the current texture page and load in a new one. There's a few things you can do here but it's probably a whole video topic :)

Now that you talk about texture pages i curious about how impacts the performance on a game, With mine i have a lot of tilesets and animations, and now I'm worried that can slow down the game.

Raeldor


More Creators