Scrollbox DEMO
firemaplegames
Member Posts: 3,211
Hey All,
I just made a little demo showing how to create a scrollable box in GameSalad.
http://gamesalad.com/game/play/37404
You can make it a horizontal menu by changing all of the Y attributes to X, and heights to width, etc...
You could use this in a game for a weapons selection system, or anything where you need a list of items, spells, stuffed animals, whatever...
It doesn't just have to be text either. they could be icons, animated(!) icons, anything...
To make this a menu of buttons, or a list of icons, either vertically or horizontally, just make an Actor for each icon, and add a Constrain Rule that says "always keep me 50 pixels away from the edge of the content actor" etc...
Maybe I'll do that for a different demo...
Feel free to use this in any way you see fit!
Joe
Fire Maple Games
I just made a little demo showing how to create a scrollable box in GameSalad.
http://gamesalad.com/game/play/37404
You can make it a horizontal menu by changing all of the Y attributes to X, and heights to width, etc...
You could use this in a game for a weapons selection system, or anything where you need a list of items, spells, stuffed animals, whatever...
It doesn't just have to be text either. they could be icons, animated(!) icons, anything...
To make this a menu of buttons, or a list of icons, either vertically or horizontally, just make an Actor for each icon, and add a Constrain Rule that says "always keep me 50 pixels away from the edge of the content actor" etc...
Maybe I'll do that for a different demo...
Feel free to use this in any way you see fit!
Joe
Fire Maple Games