Sunday, April 3, 2011

Buying menu arrays!

I now have a sorta, very ugly buying menu kinda the alpha version of it, I thought having a mouse detect an array of string would be hard.

Apparently you can do a for loop and a mouse detection to loop through with what you have!, It's nice and easy and quick, not like I need performance in a menu here anyway, I might have another menu where you select how many you want to buy or something, I can use this very organization on a image array and what not.

Working on the inventory now, and then some more monster code to where you can hover over them to find out details.

Shouldn't be too much further till DBD uses this reworked engine.

*You can scroll items in a shop

No comments:

Post a Comment