Created
May 24, 2018 07:41
-
-
Save teukstrid/9e48a06b4361c2fa4a7f92249f436ae9 to your computer and use it in GitHub Desktop.
hornet_create
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
event_inherited(); | |
initialize_movement_entity(.25, .5, o_solid); | |
enum hornet { | |
hit, | |
move, | |
attack | |
} | |
starting_state_ = hornet.move; | |
state_ = starting_state_; | |
alarm[1] = global.one_second * random_range(0, 1); | |
alarm[2] = global.one_second * random_range(6, 8); | |
image_index = 0; | |
image_xscale = choose(-1, 1); | |
range_ = 128; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment