Question

I have a question. I am making a roguelike game in which the player can defeat enemies to gain rewards, like new weapons. So can anyone tell me how to make an inventory where the player can switch between weapons. thx

“inventory” example. It just scrolls between colors. (Press Play)

1 Like

This is really helpful thanks a ton.

Basically set a variable (in my game, it is color) to 0 then create the inventory drawing. Move a cursor by [color (in my game)] times [pixels in inventory unit] + [pixels from the side of the screen]. I am not that good at explaining, but I hope this helps.

1 Like