Search tutorials
If the distance_x * the distance_x + the distance_y * the distance_y is less then or = to the variable "area" then a collision has occured and the text field box named status prints out "Collision Detected. This is used to give you a visual clue that a collision has taken place.
Set Variable: "/:status" = "Collision Detected"
Else...
Set Variable: "/:status" = "No Collision Detected"
In this case the text field box named status is instructed to print out..."no Collision Detected.
End If
Which ends the If statement.
| » Level Basic |
|
Added: 2000-07-13 Rating: 7 Votes: 68 |
| » Author |
| -- |
| » Download |
| Download the files used in this tutorial. |
| Download (51 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!