Game Maker Tutorials Menu
. Community ▼. Resources ▼. Other ▼.is software designed to make developing games easy and fun. It features a unique 'Drag-and-Drop' system which allows non-programmers to make simple games.
So i am trying to think of how you could go about making a scroll able menu. Lets say you have a ton of stuff to show on a menu for instance a inventory list. How could you go about making a scroll function to scroll down the list.
Game Maker 2 Menu
I am stuck on how i could do this and didn't find any examples out there that might help me go in the direction i need any advice?I was also thinking something to where you fake scrolling where you have a slider and as you move the slider it displays for instance 5 new elements from a array at a time to show on the screen to give it the effect of scrolling?. It depends on how you want to do it. Personally I create 2 variables, one for the top item that can be seen, then one for the bottom item that can be seen. Then using whatever you wish for moving up and down (mouse wheel, key presses, etc), you change both variables by one in whatever direction you scrolled, as long as you're not at the top or bottom. In the draw event you would loop through your list or array starting with the top variable until you reach the bottom one and draw those to the screen.
Game Maker Tutorials Menu Download
You'll have to add extra things if you want to show a picture along with the item, but that's a start.
Here is a list of the submission rules for this subreddit. If you follow the first rule you will almost always be okay.RULES:.ONLY submit GameMaker tutorials.USE descriptive titles.DO NOT post direct links or advertisements to sell a product.DO NOT request tutorials here (contact the creator for a request)Guidelines on Self-PromotionOn this subreddit we want to see your tutorials! Just remember these. Make sure you post quality content and make sure you are posting content by other teachers. It will look bad if all you ever submit is your own content.