Hi GD community,
I’ve been using gdevelop for about 3 years to make a game in my spare time, with the concept being - A roguelike rpg game that feels and behaves like a space shooter. That means randomized items which boost your skills as you play, a wide play area, and enemies that move in interesting and predictable patterns.
The items shoot additional projectiles from the player character. At the moment I have a separate event sheet with a large amount of if statements. Eg If variable HasFire = True and left mouse button is down, shoot fire.
I wonder if this may not be the most efficient way to code, considering I have plans for around 60 items. It seems like having 60 variable checks running at once will slow everything down.
Any suggestions on a better way to do this?
If external events are loaded at the beginning of a scene, is it worth creating an external event for each item? Will this make any difference?
Thanks all, what a great community this is and what a great piece of software