Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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.
Develop games in your browser. Powerful, performant & highly capable.
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?
That would be something like:
set speed to character.speed
speed being an instance variable for character..