Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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 a sprite with a Bullet behavior. I want to change its speed in python. What is the syntax (if any) to set the variables of a behavior?
Develop games in your browser. Powerful, performant & highly capable.
If the sprite's name is 'Sprite' and the bullet behavior's name is 'Bullet' then you access the speed property with
SpriteBullet.Speed = 200[/code:plva6ong]
This is a good thread with some hints to PyShell: [url]http://www.scirra.com/forum/viewtopic.php?f=3&t=7231&p=56896[/url]
Thanks for your response. I will add this information to the wiki.