boaromayo / Ruinology

Prototype attempt for Ludum Dare 36, now experimental app. Lost in an ancient maze, get out before it collapses!
1 stars 0 forks source link

Set effects of items #3

Closed boaromayo closed 6 years ago

boaromayo commented 8 years ago

I need to find a way to get the effects of certain items, such as the Hourglass, which extends the time remaining in the dungeon, without affecting the usable items.

boaromayo commented 8 years ago

I've split the Item class into a UsableItem class for items that the player can use at will, and immediate effect items.

boaromayo commented 8 years ago

Managed to put in immediate effects for when the player touches the item. Also hooked up the item bag system, and organized the money system in any case I want to add in different kinds of stuff.

boaromayo commented 7 years ago

Reorganized the Item system as well to split it into usable items and powerups. Powerups activated when touched, usables can be taken by player and used anytime, provided there is enough space in the Player's bag.

boaromayo commented 6 years ago

Will close this issue for now. All I just need to do at this point is test it out in-game.