Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | redstonecreeper8 |
I’m a completely noob to the whole gamedev thing (only been at it a couple days) but so far I have a character with platformer movement, a handful of tilesets, enemies that move toward the player, coins that increase your score, and 2 different weapons. One of them is a full-auto machine gun, and the other is a rocket launcher that is slow but does powerful AoE damage. My goal is to eventually have something like 5 or 6 weapons total, so what I want to do is have a list of weapon sprites always at the bottom of the screen, and by using the scroll wheel you can visually cycle through them to change a variable in the Player script that controls what gun you have equipped. I haven’t found many tutorials on the UI system, so a pointer in the right direction would be greatly appreciated as I’ve been stumped on this one for a little bit!
Thanks in advance!