Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'Create a variable "screenW" with the value 600
- '###############################################
- 'Create a variable "screenH" with the value 400
- '###############################################
- 'Create a variable "startTime" and set the current second with the Clock object
- '###############################################
- 'Create a variable "GOAL" with the value 10
- '###############################################
- 'Create a variable "numOfHits" and set it to zero
- '###############################################
- 'Set GraphicsWindow.Width equal to the variable "screenW"
- '###############################################
- 'Set GraphicsWindow.Height equal to the variable "screenH"
- '###############################################
- 'Set GraphicsWindow.CanResize to zero
- '###############################################
- 'Set GraphicsWindow.MouseUp event to the subroutine "shoot" which will be made soon
- '###############################################
- 'Set GraphicsWindow.BrushColor to the color "Black"
- '###############################################
- 'Set GraphicsWindow.PenColor to the color "Black"
- '###############################################
- 'Create an empty subroutine called "createTarget"
- '###############################################
- 'Create an empty subroutine called "shoot"
- '###############################################
- 'Call the createTarget subroutine using the subroutine name and brackets
- '###############################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement