S
Skye Veran
Guest
I'm having trouble verbalizing this but I'll try to be brief.
I'd like to have your opinions on the "best" way to organize sets of values in Game Maker for in-game "actions" a character might make. As an example:
Action: Shoot
Associated script (contains all code for the action itself): scr_shoot
Cancellable into actions: Jump, Roll
Cancellable frames: 10-20
The actual code for executing these actions I don't really need help with (yet). I just want to know how to put these details into one "object". I can't really make an actual Object though, as it would have to create an instance of itself to refer to these values.
Alternatively, the scr_shoot script might be able to contain these values by adjusting variables during its execution. I don't know if this is what I want yet.
I hope this makes sense. It's possible I'm thinking about this entirely wrong, in which case any input would be helpful. Thanks for reading.
I'd like to have your opinions on the "best" way to organize sets of values in Game Maker for in-game "actions" a character might make. As an example:
Action: Shoot
Associated script (contains all code for the action itself): scr_shoot
Cancellable into actions: Jump, Roll
Cancellable frames: 10-20
The actual code for executing these actions I don't really need help with (yet). I just want to know how to put these details into one "object". I can't really make an actual Object though, as it would have to create an instance of itself to refer to these values.
Alternatively, the scr_shoot script might be able to contain these values by adjusting variables during its execution. I don't know if this is what I want yet.
I hope this makes sense. It's possible I'm thinking about this entirely wrong, in which case any input would be helpful. Thanks for reading.