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