Game Development Reference
In-Depth Information
By typing num = scr_Add , we are saving the returned value to the num variable. We
then display a message to the player, which will hold the value of num . If this works, it
should show a message with the number 15 in it.
Feel free to experiment with different values to see how it works. Also, try creating a sub-
traction, multiplication, and division script for practice.
Search WWH ::




Custom Search