resources.js 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. var imglib = [
  2. {
  3. "sheetname" : "playersheet",
  4. "type" : "player",
  5. "src" : "library/playersheet.gif",
  6. "width" : 264,
  7. "height" : 64,
  8. "framewidth" : 24,
  9. "frameheight" : 32,
  10. "framedelay" : 2,
  11. "framesperdirection" : 10,
  12. "deathframe" : 0,
  13. "deathframecount" : 0,
  14. "attackframe" : 0,
  15. "attackframecount" : 0,
  16. "painframe" : 0,
  17. "painframecount" : 0
  18. },
  19. {
  20. "sheetname" : "jumppad",
  21. "type" : "jumppad",
  22. "src" : "library/jumppad.gif",
  23. "width" : 128,
  24. "height" : 32,
  25. "framewidth" : 32,
  26. "frameheight" : 32,
  27. "framedelay" : 8,
  28. "framesperdirection" : 4,
  29. "deathframe" : 0,
  30. "deathframecount" : 0,
  31. "attackframe" : 0,
  32. "attackframecount" : 0,
  33. "painframe" : 0,
  34. "painframecount" : 0
  35. },
  36. {
  37. "sheetname" : "keyssheet",
  38. "type" : "keys",
  39. "src" : "library/keyssheet.gif",
  40. "width" : 32,
  41. "height" : 16,
  42. "framewidth" : 16,
  43. "frameheight" : 16,
  44. "framedelay" : 2,
  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" : "explosionsheet",
  55. "type" : "explosion",
  56. "src" : "library/explosion.png",
  57. "width" : 192,
  58. "height" : 32,
  59. "framewidth" : 32,
  60. "frameheight" : 32,
  61. "framedelay" : 1,
  62. "framesperdirection" : 5,
  63. "deathframe" : 0,
  64. "deathframecount" : 0,
  65. "attackframe" : 0,
  66. "attackframecount" : 0,
  67. "painframe" : 0,
  68. "painframecount" : 0
  69. },
  70. {
  71. "sheetname" : "aliensheet",
  72. "type" : "alien",
  73. "src" : "library/aliensheet.gif",
  74. "width" : 48,
  75. "height" : 120,
  76. "framewidth" : 24,
  77. "frameheight" : 24,
  78. "framedelay" : 4,
  79. "framesperdirection" : 2,
  80. "deathframe" : 0,
  81. "deathframecount" : 0,
  82. "attackframe" : 0,
  83. "attackframecount" : 0,
  84. "painframe" : 0,
  85. "painframecount" : 0
  86. },
  87. {
  88. "sheetname" : "fireswirl",
  89. "type" : "fireswirl",
  90. "src" : "library/fireswirl.gif",
  91. "width" : 48,
  92. "height" : 48,
  93. "framewidth" : 24,
  94. "frameheight" : 24,
  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. {
  105. "sheetname" : "alienbombsheet",
  106. "type" : "alienbomb",
  107. "src" : "library/alienbomb.png",
  108. "width" : 64,
  109. "height" : 32,
  110. "framewidth" : 16,
  111. "frameheight" : 16,
  112. "framedelay" : 2,
  113. "framesperdirection" : 4,
  114. "deathframe" : 0,
  115. "deathframecount" : 0,
  116. "attackframe" : 0,
  117. "attackframecount" : 0,
  118. "painframe" : 0,
  119. "painframecount" : 0
  120. },
  121. {
  122. "sheetname" : "platformsheet",
  123. "type" : "platform",
  124. "src" : "library/platforms.gif",
  125. "width" : 128,
  126. "height" : 80,
  127. "framewidth" : 16,
  128. "frameheight" : 16,
  129. "framedelay" : 2,
  130. "framesperdirection" : 0,
  131. "deathframe" : 0,
  132. "deathframecount" : 0,
  133. "attackframe" : 0,
  134. "attackframecount" : 0,
  135. "painframe" : 0,
  136. "painframecount" : 0
  137. }
  138. ];