Advertisement
snake5

launcher script

Sep 3rd, 2014
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. event.control.fgcolor = 200 200 200
  2. if $(event.control.type) = button
  3. event.control.imagemode = -8
  4. endif
  5. if $(event.control.state) = 0
  6. event.control.image = 1
  7. -- event.control.bgcolor = 200 200 200
  8. elif $(event.control.state) = 1
  9. event.control.image = 2
  10. -- event.control.bgcolor = 220 220 220
  11. else
  12. -- clicked
  13. event.control.image = 3
  14. -- event.control.bgcolor = 180 180 180
  15. endif
  16.  
  17. if $_action = init
  18. window.title = Connected Worlds: The Adventure
  19. window.width = 550
  20. window.height = 549
  21. window.image = 0
  22. #0.type = button
  23. #1.type = button
  24. #2.type = button
  25. #3.type = button
  26. #4.type = button
  27. #0.rect = 120 140 430 170
  28. #1.rect = 120 180 430 210
  29. #2.rect = 120 220 430 250
  30. #3.rect = 040 470 080 510
  31. #4.rect = 090 470 130 510
  32. #3.text = EN
  33. #4.text = LV
  34. language = en-US
  35. elif $_action = #2.clicked
  36. quit = 1
  37. elif $_action = #3.clicked
  38. language = en-US
  39. elif $_action = #4.clicked
  40. language = lv-LV
  41. endif
  42.  
  43. if $language = en-US
  44. #0.text = Play the game
  45. #1.text = Install
  46. #2.text = Quit
  47. #3.fgcolor = 200 120 110
  48. #4.fgcolor = 200 200 200
  49. elif $language = lv-LV
  50. #0.text = Spēlēt spēli
  51. #1.text = Instalēt spēli
  52. #2.text = Iziet
  53. #3.fgcolor = 200 200 200
  54. #4.fgcolor = 200 120 110
  55. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement