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
How do I set the speed of a bullet to a number in a textbox,
for example: if the text in the textbox is "3" the bullet speed is equal to 3
Develop games in your browser. Powerful, performant & highly capable.
event
objTextbox > compare text
so if "1" set speed to ...
Update: forget my solution - the one from blackhornet is way more useful
Speed = int(TextBox.Text) or float(TextBox.Text)