Home Artists Posts Import Register

Content

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

Files

GameMaker Studio 2: Complete Platformer Tutorial (Part 16: Mouse menus)

▶ Full source code: https://shaunjs.itch.io/shauns-complete-platformer-tutorial-series ▶ Support my work: https://www.patreon.com/shaunjs ▶ Sound effects I used: shaunspalding.co.uk/files/Sounds.zip ▶ Font I used: https://managore.itch.io/m5x7

Comments

Raeldor

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.

shaunjs

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 :)