Advertisement
Guest User

Untitled

a guest
Mar 29th, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. screen yesno_prompt:
  2. on "show" action Play("sound", "sfx/alert.wav")
  3.  
  4. modal True
  5.  
  6. imagemap:
  7. ground 'gui/yesno_ground.png'
  8. idle 'gui/yesno_idle.png'
  9. hover 'gui/yesno_hover.png'
  10.  
  11. hotspot (267, 369, 231, 72) action yes_action hover_sound "sfx/click.wav"
  12. hotspot (526, 369, 231, 72) action no_action hover_sound "sfx/click.wav"
  13.  
  14. if message == layout.ARE_YOU_SURE:
  15. add "gui/yesno_are_you_sure.png"
  16. elif message == layout.DELETE_SAVE:
  17. add "gui/yesno_delete_save.png"
  18. elif message == layout.OVERWRITE_SAVE:
  19. add "gui/yesno_overwrite_save.png"
  20. elif message == layout.LOADING:
  21. add "gui/yesno_loading.png"
  22. elif message == layout.QUIT:
  23. add "gui/yesno_quit.png"
  24. elif message == layout.MAIN_MENU:
  25. add "gui/yesno_main_menu.png"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement