Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Create Event
- choice = 0
- //Step Event
- ///Up Arrow
- if keyboard_check_pressed(vk_up)
- {
- if choice != 0
- {
- //Play sound here.
- choice -= 1
- }
- else choice = 0
- }
- ///Down Arrow
- if keyboard_check_pressed(vk_down)
- {
- if choice != 2
- {
- //Play sound here.
- choice += 1
- }
- else choice = 0
- }
- //Draw Event
- if choice = 0 {draw_sprite("SPRITENAMEHERE",0,x+32,y+60,);}
- if choice = 1 {draw_sprite("SPRITENAMEHERE",0,x+32,y+60,);}
- if choice = 2 {draw_sprite("SPRITENAMEHERE",0,x+32,y+60,);}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement