Hi,
I’m about to add items to my game but I’m not sure about the architecture to implement this so I can add multiple items easily.
I know how and when my character gets a power up but the effect the items have are applied to the game itself, for example makes the game faster or slower or causes the game to spawn item X more than other items, things like this.
I thought of having a table with several timers and booleans inside it that when player gets an input, I enable this boolean and set the timer to disable it and also when I want to do any regular thing, check this boolean and if it’s set, change behavior of the game.
Is this wise?