Technical question on how to organize power ups in actor

Apamaster

  • Posts: 28
I have a question about the organization of behaviors.
As an example the metal slug.
The character can take 10 different weapons, now for that they create 10 different behaviors that the actor will wear. or a behavior is created that already contains the 10 different weapons and is activated according to the item you touch. or else the item has the weapon code that the actor will use.?

Luyren

  • *
  • Posts: 1948
I have a question about the organization of behaviors.
As an example the metal slug.
[...] or a behavior is created that already contains the 10 different weapons and is activated according to the item you touch.
I'd start with this approach.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles and many more.
Twitter

Apamaster

  • Posts: 28
Grace I'll start on that side.