• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Windows Need help on programming a food system using sprite sheets

Rexzqy

Member
So with helps from you guys and couple videos on youtube, i made the inventory system i want. Now I just cant think of a way to implement a food system bc im using a sprite sheet and not objects of different foods... I want to do something like if your mouse is over the item in inventory ( which i already made), it checks if its a food item. And if it is a food, press A and consume it and add a certain amount to your hunger bar. If anyone has an idea, please teach me how to do this! I used ds_list for creating my list of objects. Thanks!
 
Top