resources.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. var imglib = [
  2. {
  3. "sheetname" : "playersheet",
  4. "type" : "player",
  5. "src" : "library/playersheet.png",
  6. "width" : 96,
  7. "height" : 32,
  8. "framewidth" : 32,
  9. "frameheight" : 32,
  10. "framedelay" : 4,
  11. "framesperdirection" : 2,
  12. "deathframe" : 0,
  13. "deathframecount" : 0,
  14. "attackframe" : 0,
  15. "attackframecount" : 0,
  16. "painframe" : 0,
  17. "painframecount" : 0
  18. },
  19. {
  20. "sheetname" : "explosionsheet",
  21. "type" : "explosion",
  22. "src" : "library/explosion.png",
  23. "width" : 192,
  24. "height" : 32,
  25. "framewidth" : 32,
  26. "frameheight" : 32,
  27. "framedelay" : 1,
  28. "framesperdirection" : 5,
  29. "deathframe" : 0,
  30. "deathframecount" : 0,
  31. "attackframe" : 0,
  32. "attackframecount" : 0,
  33. "painframe" : 0,
  34. "painframecount" : 0
  35. },
  36. {
  37. "sheetname" : "aliensheet",
  38. "type" : "alien",
  39. "src" : "library/aliensheet.png",
  40. "width" : 48,
  41. "height" : 96,
  42. "framewidth" : 24,
  43. "frameheight" : 24,
  44. "framedelay" : 4,
  45. "framesperdirection" : 2,
  46. "deathframe" : 0,
  47. "deathframecount" : 0,
  48. "attackframe" : 0,
  49. "attackframecount" : 0,
  50. "painframe" : 0,
  51. "painframecount" : 0
  52. },
  53. {
  54. "sheetname" : "alienbombsheet",
  55. "type" : "alienbomb",
  56. "src" : "library/alienbomb.png",
  57. "width" : 64,
  58. "height" : 32,
  59. "framewidth" : 16,
  60. "frameheight" : 16,
  61. "framedelay" : 2,
  62. "framesperdirection" : 4,
  63. "deathframe" : 0,
  64. "deathframecount" : 0,
  65. "attackframe" : 0,
  66. "attackframecount" : 0,
  67. "painframe" : 0,
  68. "painframecount" : 0
  69. },
  70. {
  71. "sheetname" : "laserssheet",
  72. "type" : "laser",
  73. "src" : "library/lasers.gif",
  74. "width" : 4,
  75. "height" : 16,
  76. "framewidth" : 4,
  77. "frameheight" : 16,
  78. "framedelay" : 0,
  79. "framesperdirection" : 1,
  80. "deathframe" : 0,
  81. "deathframecount" : 0,
  82. "attackframe" : 0,
  83. "attackframecount" : 0,
  84. "painframe" : 0,
  85. "painframecount" : 0
  86. },
  87. {
  88. "sheetname" : "bonussheet",
  89. "type" : "bonus",
  90. "src" : "library/bonusitems.gif",
  91. "width" : 64,
  92. "height" : 128,
  93. "framewidth" : 32,
  94. "frameheight" : 32,
  95. "framedelay" : 4,
  96. "framesperdirection" : 2,
  97. "deathframe" : 0,
  98. "deathframecount" : 0,
  99. "attackframe" : 0,
  100. "attackframecount" : 0,
  101. "painframe" : 0,
  102. "painframecount" : 0
  103. }
  104. ];