I have more than one character in my game and they each have their own stats, jump, speed, power, etc. I don't know how to edit the jump stats using events or if that's even possible. How can I give each character their own speed and jump?
They each have their own stats, jump, speed, power, etc. , but you don't know how to give it to them?
So do they have them or not?
I guess using instance variables should work for this, right?
Yes to the first question.
Not yet to the next.
I'm not sure if instant variables would work. I'm still new to the program.
Yes to the first question. Not yet to the next. I'm not sure if instant variables would work. I'm still new to the program.
I am sure instance variables would work..
Give your characters instance variables, set them to the right amount and in the events use the instance variables as the values..
For example, how would I use an instant variable for different speeds?
Develop games in your browser. Powerful, performant & highly capable.
That would be something like:
set speed to character.speed
speed being an instance variable for character..