melonjs 20.3.0 → 20.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (454) hide show
  1. package/README.md +19 -19
  2. package/build/application/application.d.ts +0 -17
  3. package/build/application/application.d.ts.map +1 -1
  4. package/build/application/settings.d.ts +3 -0
  5. package/build/application/settings.d.ts.map +1 -1
  6. package/build/audio/audio.d.ts.map +1 -1
  7. package/build/audio/backend/engine.d.ts +0 -19
  8. package/build/audio/backend/engine.d.ts.map +1 -1
  9. package/build/audio/backend/sound.d.ts +1 -51
  10. package/build/audio/backend/sound.d.ts.map +1 -1
  11. package/build/audio/backend/spatial.d.ts.map +1 -1
  12. package/build/audio/backend/types.d.ts +11 -1
  13. package/build/audio/backend/types.d.ts.map +1 -1
  14. package/build/audio/backend/voice.d.ts +0 -25
  15. package/build/audio/backend/voice.d.ts.map +1 -1
  16. package/build/audio/playback.d.ts.map +1 -1
  17. package/build/audio/procedural.d.ts +7 -2
  18. package/build/audio/procedural.d.ts.map +1 -1
  19. package/build/audio/state.d.ts +6 -79
  20. package/build/audio/state.d.ts.map +1 -1
  21. package/build/audio/types.d.ts +22 -0
  22. package/build/audio/types.d.ts.map +1 -1
  23. package/build/camera/camera2d.d.ts +28 -68
  24. package/build/camera/camera2d.d.ts.map +1 -1
  25. package/build/camera/camera3d.d.ts +110 -82
  26. package/build/camera/camera3d.d.ts.map +1 -1
  27. package/build/camera/effects/fade_effect.d.ts +0 -5
  28. package/build/camera/effects/fade_effect.d.ts.map +1 -1
  29. package/build/camera/effects/mask_effect.d.ts +0 -5
  30. package/build/camera/effects/mask_effect.d.ts.map +1 -1
  31. package/build/camera/fog.d.ts +118 -0
  32. package/build/camera/fog.d.ts.map +1 -0
  33. package/build/geometries/box3d.d.ts +0 -28
  34. package/build/geometries/box3d.d.ts.map +1 -1
  35. package/build/geometries/ellipse.d.ts +0 -20
  36. package/build/geometries/ellipse.d.ts.map +1 -1
  37. package/build/geometries/observablePoint.d.ts +0 -3
  38. package/build/geometries/observablePoint.d.ts.map +1 -1
  39. package/build/geometries/path2d.d.ts +0 -19
  40. package/build/geometries/path2d.d.ts.map +1 -1
  41. package/build/geometries/polygon.d.ts +7 -13
  42. package/build/geometries/polygon.d.ts.map +1 -1
  43. package/build/geometries/roundrect.d.ts +0 -18
  44. package/build/geometries/roundrect.d.ts.map +1 -1
  45. package/build/geometries/sphere.d.ts +0 -9
  46. package/build/geometries/sphere.d.ts.map +1 -1
  47. package/build/geometries/toarccanvas.d.ts.map +1 -1
  48. package/build/index.d.ts +5 -0
  49. package/build/index.d.ts.map +1 -1
  50. package/build/index.js +3697 -563
  51. package/build/index.js.map +4 -4
  52. package/build/input/gamepad.d.ts.map +1 -1
  53. package/build/input/pointer.d.ts +0 -4
  54. package/build/input/pointer.d.ts.map +1 -1
  55. package/build/input/pointerevent.d.ts +0 -6
  56. package/build/input/pointerevent.d.ts.map +1 -1
  57. package/build/lang/deprecated.d.ts.map +1 -1
  58. package/build/level/gltf/GLTFModel.d.ts +44 -82
  59. package/build/level/gltf/GLTFModel.d.ts.map +1 -1
  60. package/build/level/gltf/GLTFScene.d.ts +1 -44
  61. package/build/level/gltf/GLTFScene.d.ts.map +1 -1
  62. package/build/level/gltf/gltf_sampler.d.ts +1 -48
  63. package/build/level/gltf/gltf_sampler.d.ts.map +1 -1
  64. package/build/level/level.d.ts +195 -113
  65. package/build/level/level.d.ts.map +1 -1
  66. package/build/level/tiled/TMXGroup.d.ts +1 -65
  67. package/build/level/tiled/TMXGroup.d.ts.map +1 -1
  68. package/build/level/tiled/TMXLayer.d.ts +0 -44
  69. package/build/level/tiled/TMXLayer.d.ts.map +1 -1
  70. package/build/level/tiled/TMXObject.d.ts +1 -136
  71. package/build/level/tiled/TMXObject.d.ts.map +1 -1
  72. package/build/level/tiled/TMXObjectFactory.d.ts +1 -40
  73. package/build/level/tiled/TMXObjectFactory.d.ts.map +1 -1
  74. package/build/level/tiled/TMXTile.d.ts +1 -30
  75. package/build/level/tiled/TMXTile.d.ts.map +1 -1
  76. package/build/level/tiled/TMXTileMap.d.ts +0 -10
  77. package/build/level/tiled/TMXTileMap.d.ts.map +1 -1
  78. package/build/level/tiled/TMXTileset.d.ts +0 -113
  79. package/build/level/tiled/TMXTileset.d.ts.map +1 -1
  80. package/build/level/tiled/TMXTilesetGroup.d.ts +0 -1
  81. package/build/level/tiled/TMXTilesetGroup.d.ts.map +1 -1
  82. package/build/level/tiled/TMXUtils.d.ts +1 -43
  83. package/build/level/tiled/TMXUtils.d.ts.map +1 -1
  84. package/build/level/tiled/factories/shape.d.ts +1 -7
  85. package/build/level/tiled/factories/shape.d.ts.map +1 -1
  86. package/build/level/tiled/factories/text.d.ts +1 -7
  87. package/build/level/tiled/factories/text.d.ts.map +1 -1
  88. package/build/level/tiled/factories/tile.d.ts +1 -7
  89. package/build/level/tiled/factories/tile.d.ts.map +1 -1
  90. package/build/level/tiled/renderer/TMXHexagonalRenderer.d.ts +0 -60
  91. package/build/level/tiled/renderer/TMXHexagonalRenderer.d.ts.map +1 -1
  92. package/build/level/tiled/renderer/TMXIsometricRenderer.d.ts +0 -42
  93. package/build/level/tiled/renderer/TMXIsometricRenderer.d.ts.map +1 -1
  94. package/build/level/tiled/renderer/TMXObliqueRenderer.d.ts +0 -5
  95. package/build/level/tiled/renderer/TMXObliqueRenderer.d.ts.map +1 -1
  96. package/build/level/tiled/renderer/TMXOrthogonalRenderer.d.ts +0 -31
  97. package/build/level/tiled/renderer/TMXOrthogonalRenderer.d.ts.map +1 -1
  98. package/build/level/tiled/renderer/TMXRenderer.d.ts +2 -2
  99. package/build/level/tiled/renderer/TMXRenderer.d.ts.map +1 -1
  100. package/build/level/tiled/renderer/TMXStaggeredRenderer.d.ts.map +1 -1
  101. package/build/level/tiled/renderer/autodetect.d.ts +1 -6
  102. package/build/level/tiled/renderer/autodetect.d.ts.map +1 -1
  103. package/build/lighting/light2d.d.ts +0 -25
  104. package/build/lighting/light2d.d.ts.map +1 -1
  105. package/build/lighting/light3d.d.ts +20 -63
  106. package/build/lighting/light3d.d.ts.map +1 -1
  107. package/build/loader/loader.d.ts +146 -37
  108. package/build/loader/loader.d.ts.map +1 -1
  109. package/build/loader/loadingscreen.d.ts +0 -33
  110. package/build/loader/loadingscreen.d.ts.map +1 -1
  111. package/build/loader/parsers/aseprite.d.ts +0 -13
  112. package/build/loader/parsers/aseprite.d.ts.map +1 -1
  113. package/build/loader/parsers/audio.d.ts +1 -30
  114. package/build/loader/parsers/audio.d.ts.map +1 -1
  115. package/build/loader/parsers/binary.d.ts +1 -10
  116. package/build/loader/parsers/binary.d.ts.map +1 -1
  117. package/build/loader/parsers/compressed_textures/compressed_image.d.ts.map +1 -1
  118. package/build/loader/parsers/compressed_textures/parseDDS.d.ts +1 -7
  119. package/build/loader/parsers/compressed_textures/parseDDS.d.ts.map +1 -1
  120. package/build/loader/parsers/compressed_textures/parseKTX.d.ts +1 -7
  121. package/build/loader/parsers/compressed_textures/parseKTX.d.ts.map +1 -1
  122. package/build/loader/parsers/compressed_textures/parseKTX2.d.ts +1 -7
  123. package/build/loader/parsers/compressed_textures/parseKTX2.d.ts.map +1 -1
  124. package/build/loader/parsers/compressed_textures/parsePKM.d.ts +1 -7
  125. package/build/loader/parsers/compressed_textures/parsePKM.d.ts.map +1 -1
  126. package/build/loader/parsers/compressed_textures/parsePVR.d.ts +1 -7
  127. package/build/loader/parsers/compressed_textures/parsePVR.d.ts.map +1 -1
  128. package/build/loader/parsers/fontface.d.ts +1 -13
  129. package/build/loader/parsers/fontface.d.ts.map +1 -1
  130. package/build/loader/parsers/gltf.d.ts +1 -70
  131. package/build/loader/parsers/gltf.d.ts.map +1 -1
  132. package/build/loader/parsers/image.d.ts +1 -22
  133. package/build/loader/parsers/image.d.ts.map +1 -1
  134. package/build/loader/parsers/json.d.ts +1 -10
  135. package/build/loader/parsers/json.d.ts.map +1 -1
  136. package/build/loader/parsers/mtl.d.ts +1 -28
  137. package/build/loader/parsers/mtl.d.ts.map +1 -1
  138. package/build/loader/parsers/obj.d.ts +1 -59
  139. package/build/loader/parsers/obj.d.ts.map +1 -1
  140. package/build/loader/parsers/pbr.d.ts +1 -62
  141. package/build/loader/parsers/pbr.d.ts.map +1 -1
  142. package/build/loader/parsers/script.d.ts +1 -10
  143. package/build/loader/parsers/script.d.ts.map +1 -1
  144. package/build/loader/parsers/shader.d.ts +1 -52
  145. package/build/loader/parsers/shader.d.ts.map +1 -1
  146. package/build/loader/parsers/tmx.d.ts +1 -10
  147. package/build/loader/parsers/tmx.d.ts.map +1 -1
  148. package/build/loader/parsers/video.d.ts +1 -10
  149. package/build/loader/parsers/video.d.ts.map +1 -1
  150. package/build/math/color.d.ts.map +1 -1
  151. package/build/math/noise.d.ts +0 -40
  152. package/build/math/noise.d.ts.map +1 -1
  153. package/build/math/observableVector2d.d.ts +0 -3
  154. package/build/math/observableVector2d.d.ts.map +1 -1
  155. package/build/math/observableVector3d.d.ts +0 -3
  156. package/build/math/observableVector3d.d.ts.map +1 -1
  157. package/build/math/vector2d.d.ts +0 -6
  158. package/build/math/vector2d.d.ts.map +1 -1
  159. package/build/math/vertex.d.ts +25 -0
  160. package/build/math/vertex.d.ts.map +1 -1
  161. package/build/particles/emitter.d.ts +0 -65
  162. package/build/particles/emitter.d.ts.map +1 -1
  163. package/build/particles/particle.d.ts +0 -81
  164. package/build/particles/particle.d.ts.map +1 -1
  165. package/build/physics/bounds.d.ts +0 -1
  166. package/build/physics/bounds.d.ts.map +1 -1
  167. package/build/physics/broadphase/broadphase.d.ts +0 -7
  168. package/build/physics/broadphase/broadphase.d.ts.map +1 -1
  169. package/build/physics/broadphase/octree.d.ts +0 -91
  170. package/build/physics/broadphase/octree.d.ts.map +1 -1
  171. package/build/physics/broadphase/quadtree.d.ts +0 -47
  172. package/build/physics/broadphase/quadtree.d.ts.map +1 -1
  173. package/build/physics/builtin/body.d.ts +2 -65
  174. package/build/physics/builtin/body.d.ts.map +1 -1
  175. package/build/physics/builtin/detector.d.ts +0 -312
  176. package/build/physics/builtin/detector.d.ts.map +1 -1
  177. package/build/physics/builtin/sat.d.ts +1 -48
  178. package/build/physics/builtin/sat.d.ts.map +1 -1
  179. package/build/physics/builtin/sat3d.d.ts +1 -56
  180. package/build/physics/builtin/sat3d.d.ts.map +1 -1
  181. package/build/physics/collision.d.ts +0 -2
  182. package/build/physics/collision.d.ts.map +1 -1
  183. package/build/physics/response.d.ts +0 -1
  184. package/build/physics/response.d.ts.map +1 -1
  185. package/build/physics/world.d.ts.map +1 -1
  186. package/build/renderable/anchorPoint.d.ts +1 -73
  187. package/build/renderable/anchorPoint.d.ts.map +1 -1
  188. package/build/renderable/animation.d.ts +21 -13
  189. package/build/renderable/animation.d.ts.map +1 -1
  190. package/build/renderable/colorlayer.d.ts +0 -5
  191. package/build/renderable/colorlayer.d.ts.map +1 -1
  192. package/build/renderable/container.d.ts +27 -60
  193. package/build/renderable/container.d.ts.map +1 -1
  194. package/build/renderable/draggable.d.ts +0 -5
  195. package/build/renderable/draggable.d.ts.map +1 -1
  196. package/build/renderable/dragndrop.d.ts +1 -12
  197. package/build/renderable/dragndrop.d.ts.map +1 -1
  198. package/build/renderable/entity/entity.d.ts +0 -8
  199. package/build/renderable/entity/entity.d.ts.map +1 -1
  200. package/build/renderable/frameAnimation.d.ts +0 -41
  201. package/build/renderable/frameAnimation.d.ts.map +1 -1
  202. package/build/renderable/groundshadow.d.ts +1 -91
  203. package/build/renderable/groundshadow.d.ts.map +1 -1
  204. package/build/renderable/imagelayer.d.ts +0 -29
  205. package/build/renderable/imagelayer.d.ts.map +1 -1
  206. package/build/renderable/instanced_mesh.d.ts +55 -108
  207. package/build/renderable/instanced_mesh.d.ts.map +1 -1
  208. package/build/renderable/mesh.d.ts +257 -231
  209. package/build/renderable/mesh.d.ts.map +1 -1
  210. package/build/renderable/nineslicesprite.d.ts +0 -4
  211. package/build/renderable/nineslicesprite.d.ts.map +1 -1
  212. package/build/renderable/renderable.d.ts +18 -44
  213. package/build/renderable/renderable.d.ts.map +1 -1
  214. package/build/renderable/sprite.d.ts +0 -45
  215. package/build/renderable/sprite.d.ts.map +1 -1
  216. package/build/renderable/sprite3d.d.ts +12 -97
  217. package/build/renderable/sprite3d.d.ts.map +1 -1
  218. package/build/renderable/text/bitmaptext.d.ts +32 -21
  219. package/build/renderable/text/bitmaptext.d.ts.map +1 -1
  220. package/build/renderable/text/bitmaptextdata.d.ts +0 -22
  221. package/build/renderable/text/bitmaptextdata.d.ts.map +1 -1
  222. package/build/renderable/text/glyph.d.ts +1 -39
  223. package/build/renderable/text/glyph.d.ts.map +1 -1
  224. package/build/renderable/text/text.d.ts +75 -20
  225. package/build/renderable/text/text.d.ts.map +1 -1
  226. package/build/renderable/text/textmetrics.d.ts +2 -0
  227. package/build/renderable/text/textmetrics.d.ts.map +1 -1
  228. package/build/renderable/text/textstyle.d.ts +1 -5
  229. package/build/renderable/text/textstyle.d.ts.map +1 -1
  230. package/build/renderable/trail.d.ts +0 -29
  231. package/build/renderable/trail.d.ts.map +1 -1
  232. package/build/renderable/trigger.d.ts +0 -6
  233. package/build/renderable/trigger.d.ts.map +1 -1
  234. package/build/renderable/ui/uibaseelement.d.ts +0 -40
  235. package/build/renderable/ui/uibaseelement.d.ts.map +1 -1
  236. package/build/renderable/ui/uispriteelement.d.ts +0 -35
  237. package/build/renderable/ui/uispriteelement.d.ts.map +1 -1
  238. package/build/state/stage.d.ts +5 -50
  239. package/build/state/stage.d.ts.map +1 -1
  240. package/build/state/state.d.ts.map +1 -1
  241. package/build/system/device.d.ts +1 -13
  242. package/build/system/device.d.ts.map +1 -1
  243. package/build/system/dom.d.ts +1 -8
  244. package/build/system/dom.d.ts.map +1 -1
  245. package/build/system/legacy_pool.d.ts +1 -6
  246. package/build/system/legacy_pool.d.ts.map +1 -1
  247. package/build/system/platform.d.ts +0 -1
  248. package/build/system/platform.d.ts.map +1 -1
  249. package/build/system/pool.d.ts +0 -9
  250. package/build/system/pool.d.ts.map +1 -1
  251. package/build/system/save.d.ts +44 -1
  252. package/build/system/save.d.ts.map +1 -1
  253. package/build/system/timer.d.ts +0 -20
  254. package/build/system/timer.d.ts.map +1 -1
  255. package/build/tweens/tween.d.ts +0 -62
  256. package/build/tweens/tween.d.ts.map +1 -1
  257. package/build/utils/array-multimap.d.ts +1 -13
  258. package/build/utils/array-multimap.d.ts.map +1 -1
  259. package/build/utils/decode.d.ts.map +1 -1
  260. package/build/utils/fetchdata.d.ts +1 -31
  261. package/build/utils/fetchdata.d.ts.map +1 -1
  262. package/build/utils/utils.d.ts +0 -13
  263. package/build/utils/utils.d.ts.map +1 -1
  264. package/build/video/blendmodes.d.ts +1 -106
  265. package/build/video/blendmodes.d.ts.map +1 -1
  266. package/build/video/buffer/index.d.ts +1 -39
  267. package/build/video/buffer/index.d.ts.map +1 -1
  268. package/build/video/buffer/vertex.d.ts +1 -82
  269. package/build/video/buffer/vertex.d.ts.map +1 -1
  270. package/build/video/canvas/canvas_renderer.d.ts +2 -23
  271. package/build/video/canvas/canvas_renderer.d.ts.map +1 -1
  272. package/build/video/canvas_factory.d.ts +1 -24
  273. package/build/video/canvas_factory.d.ts.map +1 -1
  274. package/build/video/effects/blendEffect.d.ts +0 -54
  275. package/build/video/effects/blendEffect.d.ts.map +1 -1
  276. package/build/video/effects/colorMatrix.d.ts +0 -10
  277. package/build/video/effects/colorMatrix.d.ts.map +1 -1
  278. package/build/video/effects/glsl_realization.d.ts +1 -17
  279. package/build/video/effects/glsl_realization.d.ts.map +1 -1
  280. package/build/video/effects/mesh_splice.d.ts +2 -0
  281. package/build/video/effects/mesh_splice.d.ts.map +1 -0
  282. package/build/video/effects/radialGradient.d.ts +0 -1
  283. package/build/video/effects/radialGradient.d.ts.map +1 -1
  284. package/build/video/effects/shadereffect.d.ts +12 -241
  285. package/build/video/effects/shadereffect.d.ts.map +1 -1
  286. package/build/video/effects/wgsl/layout.d.ts +1 -27
  287. package/build/video/effects/wgsl/layout.d.ts.map +1 -1
  288. package/build/video/effects/wgsl/parse.d.ts +1 -8
  289. package/build/video/effects/wgsl/parse.d.ts.map +1 -1
  290. package/build/video/effects/wgsl/scaffold.d.ts +1 -42
  291. package/build/video/effects/wgsl/scaffold.d.ts.map +1 -1
  292. package/build/video/effects/wgsl_realization.d.ts +1 -82
  293. package/build/video/effects/wgsl_realization.d.ts.map +1 -1
  294. package/build/video/gpu/batcher.d.ts +1 -13
  295. package/build/video/gpu/batcher.d.ts.map +1 -1
  296. package/build/video/gpu/instancerecord.d.ts +1 -163
  297. package/build/video/gpu/instancerecord.d.ts.map +1 -1
  298. package/build/video/gpu/meshchunk.d.ts +1 -48
  299. package/build/video/gpu/meshchunk.d.ts.map +1 -1
  300. package/build/video/gpu/meshvertex.d.ts +1 -53
  301. package/build/video/gpu/meshvertex.d.ts.map +1 -1
  302. package/build/video/gpu/primitives.d.ts +1 -59
  303. package/build/video/gpu/primitives.d.ts.map +1 -1
  304. package/build/video/gpu/quadcorners.d.ts +1 -10
  305. package/build/video/gpu/quadcorners.d.ts.map +1 -1
  306. package/build/video/gpu/textureslots.d.ts +1 -121
  307. package/build/video/gpu/textureslots.d.ts.map +1 -1
  308. package/build/video/gpu/texturestore.d.ts +1 -138
  309. package/build/video/gpu/texturestore.d.ts.map +1 -1
  310. package/build/video/gpu/topology.d.ts.map +1 -1
  311. package/build/video/gpu/vertexformat.d.ts +0 -28
  312. package/build/video/gpu/vertexformat.d.ts.map +1 -1
  313. package/build/video/gradient.d.ts +15 -77
  314. package/build/video/gradient.d.ts.map +1 -1
  315. package/build/video/renderer.d.ts +21 -102
  316. package/build/video/renderer.d.ts.map +1 -1
  317. package/build/video/renderstate.d.ts +0 -51
  318. package/build/video/renderstate.d.ts.map +1 -1
  319. package/build/video/rendertarget/canvasrendertarget.d.ts +0 -10
  320. package/build/video/rendertarget/canvasrendertarget.d.ts.map +1 -1
  321. package/build/video/rendertarget/render_target_pool.d.ts +1 -82
  322. package/build/video/rendertarget/render_target_pool.d.ts.map +1 -1
  323. package/build/video/rendertarget/webglrendertarget.d.ts +1 -64
  324. package/build/video/rendertarget/webglrendertarget.d.ts.map +1 -1
  325. package/build/video/rendertarget/webgpurendertarget.d.ts +0 -8
  326. package/build/video/rendertarget/webgpurendertarget.d.ts.map +1 -1
  327. package/build/video/texture/atlas.d.ts +1 -75
  328. package/build/video/texture/atlas.d.ts.map +1 -1
  329. package/build/video/texture/cache.d.ts +0 -136
  330. package/build/video/texture/cache.d.ts.map +1 -1
  331. package/build/video/texture/frametexture.d.ts +1 -71
  332. package/build/video/texture/frametexture.d.ts.map +1 -1
  333. package/build/video/texture/noise_texture2d.d.ts +101 -77
  334. package/build/video/texture/noise_texture2d.d.ts.map +1 -1
  335. package/build/video/texture/parser/aseprite.d.ts +1 -8
  336. package/build/video/texture/parser/aseprite.d.ts.map +1 -1
  337. package/build/video/texture/parser/spritesheet.d.ts +1 -8
  338. package/build/video/texture/parser/spritesheet.d.ts.map +1 -1
  339. package/build/video/texture/parser/texturepacker.d.ts +1 -8
  340. package/build/video/texture/parser/texturepacker.d.ts.map +1 -1
  341. package/build/video/texture/resource.d.ts +0 -9
  342. package/build/video/texture/resource.d.ts.map +1 -1
  343. package/build/video/texture/texture2d.d.ts +0 -11
  344. package/build/video/texture/texture2d.d.ts.map +1 -1
  345. package/build/video/utils/autodetect.d.ts +1 -5
  346. package/build/video/utils/autodetect.d.ts.map +1 -1
  347. package/build/video/webgl/batchers/batcher.d.ts +0 -55
  348. package/build/video/webgl/batchers/batcher.d.ts.map +1 -1
  349. package/build/video/webgl/batchers/lit_mesh_batcher.d.ts +0 -14
  350. package/build/video/webgl/batchers/lit_mesh_batcher.d.ts.map +1 -1
  351. package/build/video/webgl/batchers/lit_quad_batcher.d.ts +0 -72
  352. package/build/video/webgl/batchers/lit_quad_batcher.d.ts.map +1 -1
  353. package/build/video/webgl/batchers/material_batcher.d.ts +0 -89
  354. package/build/video/webgl/batchers/material_batcher.d.ts.map +1 -1
  355. package/build/video/webgl/batchers/mesh_batcher.d.ts +14 -343
  356. package/build/video/webgl/batchers/mesh_batcher.d.ts.map +1 -1
  357. package/build/video/webgl/batchers/primitive_batcher.d.ts +0 -10
  358. package/build/video/webgl/batchers/primitive_batcher.d.ts.map +1 -1
  359. package/build/video/webgl/batchers/quad_batcher.d.ts +0 -30
  360. package/build/video/webgl/batchers/quad_batcher.d.ts.map +1 -1
  361. package/build/video/webgl/buffer/index.d.ts +1 -36
  362. package/build/video/webgl/buffer/index.d.ts.map +1 -1
  363. package/build/video/webgl/buffer/instance_buffer.d.ts +1 -53
  364. package/build/video/webgl/buffer/instance_buffer.d.ts.map +1 -1
  365. package/build/video/webgl/buffer/retained_geometry.d.ts +1 -81
  366. package/build/video/webgl/buffer/retained_geometry.d.ts.map +1 -1
  367. package/build/video/webgl/buffer/uniformblock.d.ts +1 -80
  368. package/build/video/webgl/buffer/uniformblock.d.ts.map +1 -1
  369. package/build/video/webgl/buffer/vertexstate.d.ts +1 -100
  370. package/build/video/webgl/buffer/vertexstate.d.ts.map +1 -1
  371. package/build/video/webgl/glshader.d.ts +7 -51
  372. package/build/video/webgl/glshader.d.ts.map +1 -1
  373. package/build/video/webgl/lighting/pack3d.d.ts +1 -47
  374. package/build/video/webgl/lighting/pack3d.d.ts.map +1 -1
  375. package/build/video/webgl/lighting/std140.d.ts +1 -109
  376. package/build/video/webgl/lighting/std140.d.ts.map +1 -1
  377. package/build/video/webgl/renderers/tmxlayer/orthogonal.d.ts +1 -103
  378. package/build/video/webgl/renderers/tmxlayer/orthogonal.d.ts.map +1 -1
  379. package/build/video/webgl/shaders/multitexture-lit.d.ts +1 -26
  380. package/build/video/webgl/shaders/multitexture-lit.d.ts.map +1 -1
  381. package/build/video/webgl/shaders/multitexture.d.ts +1 -9
  382. package/build/video/webgl/shaders/multitexture.d.ts.map +1 -1
  383. package/build/video/webgl/texture/store.d.ts +1 -50
  384. package/build/video/webgl/texture/store.d.ts.map +1 -1
  385. package/build/video/webgl/utils/attributes.d.ts +1 -11
  386. package/build/video/webgl/utils/attributes.d.ts.map +1 -1
  387. package/build/video/webgl/utils/maxtextures.d.ts +1 -36
  388. package/build/video/webgl/utils/maxtextures.d.ts.map +1 -1
  389. package/build/video/webgl/utils/precision.d.ts +1 -14
  390. package/build/video/webgl/utils/precision.d.ts.map +1 -1
  391. package/build/video/webgl/utils/program.d.ts +1 -5
  392. package/build/video/webgl/utils/program.d.ts.map +1 -1
  393. package/build/video/webgl/utils/samplercache.d.ts +1 -68
  394. package/build/video/webgl/utils/samplercache.d.ts.map +1 -1
  395. package/build/video/webgl/utils/string.d.ts +1 -21
  396. package/build/video/webgl/utils/string.d.ts.map +1 -1
  397. package/build/video/webgl/utils/topology.d.ts +1 -23
  398. package/build/video/webgl/utils/topology.d.ts.map +1 -1
  399. package/build/video/webgl/utils/uniforms.d.ts +1 -25
  400. package/build/video/webgl/utils/uniforms.d.ts.map +1 -1
  401. package/build/video/webgl/utils/vertexformat.d.ts +1 -26
  402. package/build/video/webgl/utils/vertexformat.d.ts.map +1 -1
  403. package/build/video/webgl/webgl_renderer.d.ts +22 -285
  404. package/build/video/webgl/webgl_renderer.d.ts.map +1 -1
  405. package/build/video/webgpu/batchers/lit_mesh_batcher.d.ts +0 -6
  406. package/build/video/webgpu/batchers/lit_mesh_batcher.d.ts.map +1 -1
  407. package/build/video/webgpu/batchers/lit_quad_batcher.d.ts +0 -8
  408. package/build/video/webgpu/batchers/lit_quad_batcher.d.ts.map +1 -1
  409. package/build/video/webgpu/batchers/mesh_batcher.d.ts +7 -231
  410. package/build/video/webgpu/batchers/mesh_batcher.d.ts.map +1 -1
  411. package/build/video/webgpu/batchers/primitive_batcher.d.ts.map +1 -1
  412. package/build/video/webgpu/batchers/quad_batcher.d.ts +0 -82
  413. package/build/video/webgpu/batchers/quad_batcher.d.ts.map +1 -1
  414. package/build/video/webgpu/buffer/arena.d.ts +1 -63
  415. package/build/video/webgpu/buffer/arena.d.ts.map +1 -1
  416. package/build/video/webgpu/buffer/instance_buffer.d.ts +1 -64
  417. package/build/video/webgpu/buffer/instance_buffer.d.ts.map +1 -1
  418. package/build/video/webgpu/buffer/retained_geometry.d.ts +1 -54
  419. package/build/video/webgpu/buffer/retained_geometry.d.ts.map +1 -1
  420. package/build/video/webgpu/buffer/uniformring.d.ts +1 -67
  421. package/build/video/webgpu/buffer/uniformring.d.ts.map +1 -1
  422. package/build/video/webgpu/effect_binding.d.ts +1 -16
  423. package/build/video/webgpu/effect_binding.d.ts.map +1 -1
  424. package/build/video/webgpu/pipeline/bindgroups.d.ts +1 -32
  425. package/build/video/webgpu/pipeline/bindgroups.d.ts.map +1 -1
  426. package/build/video/webgpu/pipeline/cache.d.ts +1 -163
  427. package/build/video/webgpu/pipeline/cache.d.ts.map +1 -1
  428. package/build/video/webgpu/renderers/tmxlayer/orthogonal.d.ts +1 -87
  429. package/build/video/webgpu/renderers/tmxlayer/orthogonal.d.ts.map +1 -1
  430. package/build/video/webgpu/shaders/mesh-instanced.d.ts +1 -43
  431. package/build/video/webgpu/shaders/mesh-instanced.d.ts.map +1 -1
  432. package/build/video/webgpu/texture/compressed.d.ts +1 -32
  433. package/build/video/webgpu/texture/compressed.d.ts.map +1 -1
  434. package/build/video/webgpu/texture/frametexture.d.ts +1 -62
  435. package/build/video/webgpu/texture/frametexture.d.ts.map +1 -1
  436. package/build/video/webgpu/texture/store.d.ts +1 -147
  437. package/build/video/webgpu/texture/store.d.ts.map +1 -1
  438. package/build/video/webgpu/webgpu_renderer.d.ts +1 -88
  439. package/build/video/webgpu/webgpu_renderer.d.ts.map +1 -1
  440. package/package.json +5 -4
  441. package/skills/melonjs/SKILL.md +1 -1
  442. package/skills/melonjs-3d/SKILL.md +453 -5
  443. package/skills/melonjs-3d-assets/SKILL.md +164 -6
  444. package/skills/melonjs-audio/SKILL.md +38 -0
  445. package/skills/melonjs-camera-and-drawing/SKILL.md +49 -0
  446. package/skills/melonjs-effects-and-shaders/SKILL.md +95 -2
  447. package/skills/melonjs-loading-assets/SKILL.md +127 -2
  448. package/skills/melonjs-performance/SKILL.md +60 -1
  449. package/skills/melonjs-physics/SKILL.md +78 -0
  450. package/skills/melonjs-renderables/SKILL.md +63 -1
  451. package/skills/melonjs-renderer-backends/SKILL.md +19 -0
  452. package/skills/melonjs-scenes-and-state/SKILL.md +56 -0
  453. package/skills/melonjs-tilemaps/SKILL.md +31 -11
  454. package/skills/melonjs-ui-and-text/SKILL.md +131 -117
@@ -4,77 +4,5 @@
4
4
  * Same normalized convention as {@link Renderable#anchorPoint}: x 0=left →
5
5
  * 1=right, y 0=top → 1=bottom.
6
6
  */
7
- /**
8
- * Named anchor-point presets accepted anywhere `settings.anchorPoint` is —
9
- * self-documenting shorthands for the common `{x, y}` pairs.
10
- * @ignore
11
- */
12
- export declare const ANCHOR_POINT_PRESETS: Readonly<{
13
- center: Readonly<{
14
- x: 0.5;
15
- y: 0.5;
16
- }>;
17
- top: Readonly<{
18
- x: 0.5;
19
- y: 0;
20
- }>;
21
- bottom: Readonly<{
22
- x: 0.5;
23
- y: 1;
24
- }>;
25
- left: Readonly<{
26
- x: 0;
27
- y: 0.5;
28
- }>;
29
- right: Readonly<{
30
- x: 1;
31
- y: 0.5;
32
- }>;
33
- "top-left": Readonly<{
34
- x: 0;
35
- y: 0;
36
- }>;
37
- "top-right": Readonly<{
38
- x: 1;
39
- y: 0;
40
- }>;
41
- "bottom-left": Readonly<{
42
- x: 0;
43
- y: 1;
44
- }>;
45
- "bottom-right": Readonly<{
46
- x: 1;
47
- y: 1;
48
- }>;
49
- }>;
50
- /**
51
- * An anchor value as accepted by `settings.anchorPoint`: a preset name or
52
- * any object with numeric `x`/`y` (plain object, Vector2d, ObservablePoint).
53
- * @ignore
54
- */
55
- export type AnchorPointValue = keyof typeof ANCHOR_POINT_PRESETS | {
56
- x: number;
57
- y: number;
58
- };
59
- /**
60
- * Resolve a `settings.anchorPoint` value — a preset name or an `{x, y}`
61
- * object — into a fresh `{x, y}` pair (never a shared/frozen object).
62
- * Values are passed through unclamped: anchors outside 0..1 are legal.
63
- *
64
- * Invalid values (unknown preset, malformed object, non-finite numbers) are
65
- * handled per surface:
66
- * - with a `fallback` (the legacy 2D classes): logs a console warning and
67
- * returns the fallback — full backward compatibility with the historical
68
- * silent `set(undefined, undefined)` → `(0, 0)` outcome, nothing that
69
- * constructed before can start throwing;
70
- * - without (new surfaces, e.g. Sprite3d): throws.
71
- * @ignore
72
- */
73
- export declare function resolveAnchorPoint(value: unknown, owner?: string, fallback?: {
74
- x: number;
75
- y: number;
76
- }): {
77
- x: number;
78
- y: number;
79
- };
7
+ export {};
80
8
  //# sourceMappingURL=anchorPoint.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"anchorPoint.d.ts","sourceRoot":"","sources":["../../src/renderable/anchorPoint.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU/B,CAAC;AAEH;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GACzB,MAAM,OAAO,oBAAoB,GACjC;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAe5B;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CACjC,KAAK,EAAE,OAAO,EACd,KAAK,SAAe,EACpB,QAAQ,CAAC,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GACjC;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAyB1B"}
1
+ {"version":3,"file":"anchorPoint.d.ts","sourceRoot":"","sources":["../../src/renderable/anchorPoint.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
@@ -13,14 +13,27 @@ export interface AnimationOptions {
13
13
  loop: boolean;
14
14
  /** playback rate multiplier (1 = authored speed). */
15
15
  speed: number;
16
- /**
17
- * the argument was a bare function — the legacy `Sprite` callback whose
18
- * `false` return holds the last frame. Carried so callers can preserve that
19
- * exact contract; not part of the public options shape.
20
- * @ignore
21
- */
22
- legacyFn?: boolean;
23
16
  }
17
+ /**
18
+ * What a caller may PASS as the second argument of `setCurrentAnimation`.
19
+ *
20
+ * The loose counterpart of {@link AnimationOptions}, which is what those
21
+ * choices normalize TO. Every field here is optional, because the defaults are
22
+ * the point: `{ loop: true }` has to be a complete thing to say. Typing an
23
+ * argument as the normalized shape instead makes `loop` and `speed` mandatory
24
+ * and turns the shortest useful call into a type error.
25
+ * @category Animation
26
+ */
27
+ export type AnimationOptionsInput = string | (() => unknown) | {
28
+ /** called when the animation completes a cycle */
29
+ onComplete?: () => unknown;
30
+ /** name of an animation to switch to when this one finishes */
31
+ next?: string;
32
+ /** loop forever (default) or play once and hold the last frame */
33
+ loop?: boolean;
34
+ /** playback rate multiplier (1 = authored speed) */
35
+ speed?: number;
36
+ };
24
37
  /**
25
38
  * Normalize the polymorphic second argument of `setCurrentAnimation` into a
26
39
  * uniform {@link AnimationOptions}. Accepts:
@@ -32,10 +45,5 @@ export interface AnimationOptions {
32
45
  * @returns the normalized options
33
46
  * @category Animation
34
47
  */
35
- export declare function parseAnimationOptions(arg?: string | (() => unknown) | {
36
- onComplete?: () => unknown;
37
- next?: string;
38
- loop?: boolean;
39
- speed?: number;
40
- } | null): AnimationOptions;
48
+ export declare function parseAnimationOptions(arg?: AnimationOptionsInput | null): AnimationOptions;
41
49
  //# sourceMappingURL=animation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../src/renderable/animation.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAChC,yFAAyF;IACzF,UAAU,CAAC,EAAE,CAAC,MAAM,OAAO,CAAC,GAAG,SAAS,CAAC;IACzC,gEAAgE;IAChE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,mEAAmE;IACnE,IAAI,EAAE,OAAO,CAAC;IACd,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACpC,GAAG,CAAC,EACD,MAAM,GACN,CAAC,MAAM,OAAO,CAAC,GACf;IACA,UAAU,CAAC,EAAE,MAAM,OAAO,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CACd,GAGD,IAAI,GACL,gBAAgB,CAiBlB"}
1
+ {"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../src/renderable/animation.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAChC,yFAAyF;IACzF,UAAU,CAAC,EAAE,CAAC,MAAM,OAAO,CAAC,GAAG,SAAS,CAAC;IACzC,gEAAgE;IAChE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,mEAAmE;IACnE,IAAI,EAAE,OAAO,CAAC;IACd,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;CASd;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,qBAAqB,GAC9B,MAAM,GACN,CAAC,MAAM,OAAO,CAAC,GACf;IACA,kDAAkD;IAClD,UAAU,CAAC,EAAE,MAAM,OAAO,CAAC;IAC3B,+DAA+D;IAC/D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEL;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACpC,GAAG,CAAC,EACD,qBAAqB,GAGrB,IAAI,GACL,gBAAgB,CAiBlB"}
@@ -28,11 +28,6 @@ export default class ColorLayer extends Renderable {
28
28
  * @param {Camera2d} [viewport] - the viewport to (re)draw
29
29
  */
30
30
  draw(renderer: CanvasRenderer | WebGLRenderer, viewport?: Camera2d): void;
31
- /**
32
- * Destroy function
33
- * @ignore
34
- */
35
- destroy(): void;
36
31
  }
37
32
  import Renderable from "./renderable.js";
38
33
  import type { Color } from "./../math/color.ts";
@@ -1 +1 @@
1
- {"version":3,"file":"colorlayer.d.ts","sourceRoot":"","sources":["../../src/renderable/colorlayer.js"],"names":[],"mappings":"AAGA;;;;;;GAMG;AAEH;;;GAGG;AACH;IACC;;;;OAIG;IACH,kBAJW,MAAM,SACN,KAAK,GAAC,MAAM,MACZ,MAAM,EAahB;IAPA;;;OAGG;IACH,OAFU,KAAK,CAE6B;IAK7C,sDAOC;IAED;;;;OAIG;IACH,eAHW,cAAc,GAAC,aAAa,aAC5B,QAAQ,QAOlB;IAED;;;OAGG;IACH,gBAIC;CACD;uBA/DsB,iBAAiB;2BAIhB,oBAAoB;gCACb,sCAAsC;+BACvC,oCAAoC;0BACzC,yBAAyB"}
1
+ {"version":3,"file":"colorlayer.d.ts","sourceRoot":"","sources":["../../src/renderable/colorlayer.js"],"names":[],"mappings":"AAGA;;;;;;GAMG;AAEH;;;GAGG;AACH;IACC;;;;OAIG;IACH,kBAJW,MAAM,SACN,KAAK,GAAC,MAAM,MACZ,MAAM,EAahB;IAPA;;;OAGG;IACH,OAFU,KAAK,CAE6B;IAK7C,sDAOC;IAED;;;;OAIG;IACH,eAHW,cAAc,GAAC,aAAa,aAC5B,QAAQ,QAOlB;IAED;;;;OAIG;IACH,gBAIC;CACD;uBAhEsB,iBAAiB;2BAIhB,oBAAoB;gCACb,sCAAsC;+BACvC,oCAAoC;0BACzC,yBAAyB"}
@@ -40,30 +40,12 @@ export default class Container extends Renderable {
40
40
  * @ignore root
41
41
  */
42
42
  constructor(x?: number, y?: number, width?: number, height?: number, root?: boolean);
43
- /**
44
- * keep track of pending sort
45
- * @ignore
46
- */
47
- pendingSort: any;
48
43
  /**
49
44
  * whether the container is the root of the scene
50
45
  * @type {boolean}
51
46
  * @default false
52
47
  */
53
48
  root: boolean;
54
- /**
55
- * The array of children of this container.
56
- * @ignore
57
- */
58
- children: any[] | undefined;
59
- /**
60
- * The property of the child object that should be used to sort on this container
61
- * value : "x", "y", "z"
62
- * @type {string}
63
- * @default "z"
64
- */
65
- _sortOn: string;
66
- _comparator: (a: any, b: any) => number;
67
49
  /**
68
50
  * Specify if the children list should be automatically sorted when adding a new child
69
51
  * @type {boolean}
@@ -88,11 +70,26 @@ export default class Container extends Renderable {
88
70
  */
89
71
  onChildChange: () => void;
90
72
  /**
91
- * Specify if the container bounds should automatically take in account
92
- * all child bounds when updated (this is expensive and disabled by default,
93
- * only enable if necessary)
73
+ * Re-measure this container's bounds from its children whenever a
74
+ * child's bounds change. Expensive — every update walks the whole child
75
+ * list — and off by default, because a parent almost never needs it.
76
+ *
77
+ * Enable it for a group whose extent genuinely IS its members' union
78
+ * and moves as they do: a flock of birds, a squad of enemies. A
79
+ * container whose size is known (or fixed) should be given that size
80
+ * with {@link Renderable#resize} instead, which costs nothing per
81
+ * frame — that is what {@link GLTFModel} does, from the glTF scene's
82
+ * own bounding box.
83
+ *
84
+ * Note that a container with neither — no dimensions of its own and
85
+ * this left off — reports an EMPTY bounds (min `+Infinity`, max
86
+ * `-Infinity`), since {@link Container#updateBounds} then has nothing
87
+ * to measure. Anything reading it is wrong about where the container
88
+ * is, and the physics broadphase, which files every item by
89
+ * `getBounds()`, cannot place it at all.
94
90
  * @type {boolean}
95
91
  * @default false
92
+ * @see Renderable#getBounds
96
93
  */
97
94
  enableChildBoundsUpdate: boolean;
98
95
  /**
@@ -292,11 +289,18 @@ export default class Container extends Renderable {
292
289
  removeChildNow(child: Renderable | Entity | Sprite | Collectable | Trigger | Draggable | DropTarget | NineSliceSprite | ImageLayer | ColorLayer | Light2d | UIBaseElement | UISpriteElement | UITextButton | Text | BitmapText, keepalive?: boolean): void;
293
290
  /**
294
291
  * Automatically set the specified property of all childs to the given value
292
+ *
293
+ * This ASSIGNS to the children — after it, their own property carries the
294
+ * value. To fade a subtree without touching what the children are, set
295
+ * {@link Renderable#alpha} on the container instead: opacity cascades at
296
+ * draw time and leaves every child's own value alone.
295
297
  * @param {string} prop - property name
296
- * @param {object} value - property value
298
+ * @param {*} value - property value; whatever the named property holds, so a
299
+ * flag is a boolean and a colour is a string, not only an object
297
300
  * @param {boolean} [recursive=false] - recursively apply the value to child containers if true
301
+ * @see Renderable#alpha
298
302
  */
299
- setChildsProperty(prop: string, value: object, recursive?: boolean): void;
303
+ setChildsProperty(prop: string, value: any, recursive?: boolean): void;
300
304
  /**
301
305
  * Move the child in the group one step forward (z depth).
302
306
  * @param {Renderable|Entity|Sprite|Collectable|Trigger|Draggable|DropTarget|NineSliceSprite|ImageLayer|ColorLayer|Light2d|UIBaseElement|UISpriteElement|UITextButton|Text|BitmapText} child - Child to be moved
@@ -332,43 +336,6 @@ export default class Container extends Renderable {
332
336
  * @param {boolean} [recursive=false] - recursively sort sub-containers
333
337
  */
334
338
  sortNow(recursive?: boolean): void;
335
- /**
336
- * Z Sorting function
337
- * @ignore
338
- */
339
- _sortZ(a: any, b: any): number;
340
- /**
341
- * Reverse Z Sorting function
342
- * @ignore
343
- */
344
- _sortReverseZ(a: any, b: any): number;
345
- /**
346
- * Camera-distance sorting function used by `sortOn = "depth"`.
347
- * Orders children by ascending squared distance from the cached
348
- * camera position — closest first in the array, so
349
- * {@link Container#draw}'s reverse-iteration walk paints far→near
350
- * (correct painter's algorithm for alpha-blended sprites under
351
- * perspective). The cached position is refreshed by
352
- * {@link captureDepthCamera} just before each sort runs; this
353
- * comparator stays tight (zero allocation, six subtracts + three
354
- * mul-adds per pair) for the hot O(N log N) path.
355
- *
356
- * Container children are `Renderable` instances with an
357
- * `ObservableVector3d` pos — `pos.z` is always defined, no guard
358
- * needed here.
359
- * @ignore
360
- */
361
- _sortDepth(a: any, b: any): number;
362
- /**
363
- * X Sorting function
364
- * @ignore
365
- */
366
- _sortX(a: any, b: any): number;
367
- /**
368
- * Y Sorting function
369
- * @ignore
370
- */
371
- _sortY(a: any, b: any): number;
372
339
  /**
373
340
  * A container additionally offsets its children by its own position — the
374
341
  * `translate()` at the top of {@link Container#draw} — which is what makes
@@ -1 +1 @@
1
- {"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../src/renderable/container.js"],"names":[],"mappings":"AA8GA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH;;;;;;;;;GASG;AACH;IACC;;;;;;;OAOG;IACH,gBAPW,MAAM,MACN,MAAM,UACN,MAAM,WACN,MAAM,SACN,OAAO,EA+GjB;IAxGA;;;OAGG;IACH,iBAAuB;IAEvB;;;;OAIG;IACH,MAHU,OAAO,CAGD;IAEhB;;;OAGG;IACH,4BAAyB;IAEzB;;;;;OAKG;IACH,SAHU,MAAM,CAGE;IAClB,wCAA8B;IAE9B;;;;OAIG;IACH,UAHU,OAAO,CAGG;IAEpB;;;;OAIG;IACH,WAHU,OAAO,CAGI;IAErB;;;;OAIG;IACH,UAHU,OAAO,CAGI;IAErB;;;OAGG;IACH,0BAEC;IAED;;;;;;OAMG;IACH,yBAHU,OAAO,CAGmB;IAEpC;;;;;;;OAOG;IACH,iBANU,KAAK,CAMmC;IAqBjD,yCAMC;IAiCH,kBANU,GAAG,GAAC,GAAG,GAAC,GAAG,GAAC,OAAO,EAmB5B;IAzCD;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,cAHU,GAAG,GAAC,GAAG,GAAC,GAAG,GAAC,OAAO,CAK5B;IAgBD;;OAEG;IACH,cAmBC;IAED;;;;;;;;;;;;;OAaG;IACH,gBAJW,UAAU,GAAC,MAAM,GAAC,MAAM,GAAC,WAAW,GAAC,OAAO,GAAC,SAAS,GAAC,UAAU,GAAC,eAAe,GAAC,UAAU,GAAC,UAAU,aAAS,aAAa,GAAC,eAAe,GAAC,YAAY,GAAC,IAAI,GAAC,UAAU,MAC1K,MAAM,GACJ,UAAU,CA+EtB;IAED;;;;;;OAMG;IAC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BAAiB;4BACjB,iBAAiB;+BAEd,uBAAuB;iCACrB,yBAAyB;8BAC5B,sBAAsB;sBAC9B,gBAAgB;4BACV,sBAAsB;4BACxB,wBAAwB"}
1
+ {"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../src/renderable/container.js"],"names":[],"mappings":"AAoKA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH;;;;;;;;;GASG;AACH;IACC;;;;;;;OAOG;IACH,gBAPW,MAAM,MACN,MAAM,UACN,MAAM,WACN,MAAM,SACN,OAAO,EAsIjB;IA/HA;;;;OAIG;IACH,iBAAuB;IAEvB;;;;OAIG;IACH,MAHU,OAAO,CAGD;IAEhB;;;;OAIG;IACH,4BAAyB;IAEzB;;;;;;;OAOG;IACH,SALU,MAAM,CAKE;IAClB;;;OAGG;IACH,wCAA8B;IAE9B;;;;OAIG;IACH,UAHU,OAAO,CAGG;IAEpB;;;;OAIG;IACH,WAHU,OAAO,CAGI;IAErB;;;;OAIG;IACH,UAHU,OAAO,CAGI;IAErB;;;OAGG;IACH,0BAEC;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,yBAJU,OAAO,CAImB;IAEpC;;;;;;;OAOG;IACH,iBANU,KAAK,CAMmC;IAqBjD,yCAMC;IAiCH,kBANU,GAAG,GAAC,GAAG,GAAC,GAAG,GAAC,OAAO,EAmB5B;IAzCD;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,cAHU,GAAG,GAAC,GAAG,GAAC,GAAG,GAAC,OAAO,CAK5B;IAgBD;;OAEG;IACH,cAmBC;IAED;;;;;;;;;;;;;OAaG;IACH,gBAJW,UAAU,GAAC,MAAM,GAAC,MAAM,GAAC,WAAW,GAAC,OAAO,GAAC,SAAS,GAAC,UAAU,GAAC,eAAe,GAAC,UAAU,GAAC,UAAU,aAAS,aAAa,GAAC,eAAe,GAAC,YAAY,GAAC,IAAI,GAAC,UAAU,MAC1K,MAAM,GACJ,UAAU,CA+EtB;IAED;;;;;;OAMG;I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AAsB;4BAC3B,iBAAiB;4BACjB,iBAAiB;+BAEd,uBAAuB;iCACrB,yBAAyB;8BAC5B,sBAAsB;sBAC9B,gBAAgB;4BACV,sBAAsB;4BACxB,wBAAwB"}
@@ -35,11 +35,6 @@ export class Draggable extends Renderable {
35
35
  * @returns {boolean} false if the object stopped being dragged
36
36
  */
37
37
  dragEnd(): boolean;
38
- /**
39
- * Destructor
40
- * @ignore
41
- */
42
- destroy(): void;
43
38
  }
44
39
  import Renderable from "./../renderable/renderable.js";
45
40
  import { Vector2d } from "../math/vector2d.ts";
@@ -1 +1 @@
1
- {"version":3,"file":"draggable.d.ts","sourceRoot":"","sources":["../../src/renderable/draggable.js"],"names":[],"mappings":"AAYA;;;;GAIG;AACH;IAUE,kBAAqB;IACrB,YAAkB;IAClB,qBAAoC;IAIrC;;;;;;;OAOG;IACH,mBA8BC;IAnBA,kDAEC;IAED,gEAIC;IAED,8DAIC;IAOF;;;;OAIG;IACH,aAHW,MAAM,GACJ,OAAO,CASnB;IAED;;;OAGG;IACH,YAFW,MAAM,QAOhB;IAED;;;OAGG;IACH,WAFa,OAAO,CAOnB;IAED;;;OAGG;IACH,gBAQC;CACD;uBAxHsB,+BAA+B;yBAD7B,qBAAqB"}
1
+ {"version":3,"file":"draggable.d.ts","sourceRoot":"","sources":["../../src/renderable/draggable.js"],"names":[],"mappings":"AAYA;;;;GAIG;AACH;IAUE,kBAAqB;IACrB,YAAkB;IAClB,qBAAoC;IAIrC;;;;;;;OAOG;IACH,mBA8BC;IAnBA,kDAEC;IAED,gEAIC;IAED,8DAIC;IAOF;;;;OAIG;IACH,aAHW,MAAM,GACJ,OAAO,CASnB;IAED;;;OAGG;IACH,YAFW,MAAM,QAOhB;IAED;;;OAGG;IACH,WAFa,OAAO,CAOnB;IAED;;;;OAIG;IACH,gBAQC;CACD;uBAzHsB,+BAA+B;yBAD7B,qBAAqB"}
@@ -9,23 +9,17 @@
9
9
  export class DropTarget extends Renderable {
10
10
  /**
11
11
  * constant for the overlaps method
12
- * @constant
13
12
  * @type {string}
14
- * @name CHECKMETHOD_OVERLAP
15
13
  */
16
14
  CHECKMETHOD_OVERLAP: string;
17
15
  /**
18
16
  * constant for the contains method
19
- * @constant
20
17
  * @type {string}
21
- * @name CHECKMETHOD_CONTAINS
22
18
  */
23
19
  CHECKMETHOD_CONTAINS: string;
24
20
  /**
25
21
  * the checkmethod we want to use
26
- * @constant
27
22
  * @type {string}
28
- * @name checkMethod
29
23
  * @default "CHECKMETHOD_OVERLAP"
30
24
  */
31
25
  checkMethod: string;
@@ -45,12 +39,7 @@ export class DropTarget extends Renderable {
45
39
  * Gets called when a draggable entity is dropped on the current entity
46
40
  * @param {Draggable} draggable - the draggable object that is dropped
47
41
  */
48
- drop(): void;
49
- /**
50
- * Destructor
51
- * @ignore
52
- */
53
- destroy(): void;
42
+ drop(draggable: Draggable): void;
54
43
  }
55
44
  import Renderable from "./../renderable/renderable.js";
56
45
  import type { Draggable } from "./draggable.js";
@@ -1 +1 @@
1
- {"version":3,"file":"dragndrop.d.ts","sourceRoot":"","sources":["../../src/renderable/dragndrop.js"],"names":[],"mappings":"AAGA;;;GAGG;AAEH;;;GAGG;AACH;IAYE;;;;;OAKG;IACH,qBAHU,MAAM,CAGqB;IAErC;;;;;OAKG;IACH,sBAHU,MAAM,CAGsB;IAEtC;;;;;;OAMG;IACH,aAJU,MAAM,CAI2B;IAE3C,kCAA8D;IAG/D;;;OAGG;IACH,4BAFW,MAAM,QAQhB;IAED;;;;OAIG;IACH,aAHW,MAAM,aACN,SAAS,QAUnB;IAED;;;OAGG;IACH,aAAS;IAET;;;OAGG;IACH,gBAGC;CACD;uBA7FsB,+BAA+B;+BAKxB,gBAAgB"}
1
+ {"version":3,"file":"dragndrop.d.ts","sourceRoot":"","sources":["../../src/renderable/dragndrop.js"],"names":[],"mappings":"AAGA;;;GAGG;AAEH;;;GAGG;AACH;IAYE;;;OAGG;IACH,qBAFU,MAAM,CAEqB;IAErC;;;OAGG;IACH,sBAFU,MAAM,CAEsB;IAEtC;;;;OAIG;IACH,aAHU,MAAM,CAG2B;IAE3C,kCAA8D;IAG/D;;;OAGG;IACH,4BAFW,MAAM,QAQhB;IAED;;;;OAIG;IACH,aAHW,MAAM,aACN,SAAS,QAUnB;IAED;;;OAGG;IAEH,gBAHW,SAAS,QAGF;IAElB;;;;OAIG;IACH,gBAGC;CACD;uBAzFsB,+BAA+B;+BAKxB,gBAAgB"}
@@ -150,7 +150,6 @@
150
150
  * @category Game Objects
151
151
  */
152
152
  export default class Entity extends Renderable {
153
- static _deprecationWarned: boolean;
154
153
  /**
155
154
  * @param {number} x - the x coordinates of the entity object
156
155
  * @param {number} y - the y coordinates of the entity object
@@ -185,11 +184,6 @@ export default class Entity extends Renderable {
185
184
  collisionMask?: number | undefined;
186
185
  shapes?: Rect[] | Polygon[] | Line[] | Ellipse[] | undefined;
187
186
  });
188
- /**
189
- * The array of renderable children of this entity.
190
- * @ignore
191
- */
192
- children: any[];
193
187
  set renderable(value: Renderable);
194
188
  /**
195
189
  * The entity renderable component (can be any objects deriving from me.Renderable, like me.Sprite for example)
@@ -207,8 +201,6 @@ export default class Entity extends Renderable {
207
201
  * @type {boolean}
208
202
  */
209
203
  alive: boolean;
210
- /** @ignore */
211
- update(dt: any): boolean;
212
204
  /**
213
205
  * update the bounding box for this entity.
214
206
  * @param {boolean} [absolute=true] - update the bounds size and position in (world) absolute coordinates
@@ -1 +1 @@
1
- {"version":3,"file":"entity.d.ts","sourceRoot":"","sources":["../../../src/renderable/entity/entity.js"],"names":[],"mappings":"AAQA;;;;;;;;IAQI;AAEJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6IG;AACH;IACC,mCAAkC;IAElC;;;;;;;;;;;;;;;;;OAiBG;IACH,eAjBW,MAA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AK;QACkB,WAAW,GAA1D,MAAM,GAAC,QAAQ,GAAC;YAAC,CAAC,EAAC,MAAM,CAAC;YAAA,CAAC,EAAC,MAAM,CAAA;SAAC;QACjB,UAAU;QACV,WAAW;QACX,IAAI;QACJ,aAAa;QACc,MAAM;KAC3D,EA2FF;IA/EA;;;;OAIG;IACH,gBAAkB;IAqFnB,sBAPU,UAAU,EAmBnB;IArBD;;;OAGG;IAEH,kBAHU,UAAU,CAKnB;IAnDA;;;OAGG;IACH,IAFU,MAAM,CAEW;IAE3B;;;;OAIG;IACH,OAFU,OAAO,CAEA;IAwDlB;;;OAGG;IACH,yBAKC;IAED;;;;OAIG;IACH,wBAHW,OAAO,GACL,MAAM,CA0BlB;IAED;;OAEG;IACH,qBAEC;IAED,6BAkBC;IAED;;;;;;;;OAQG;IACH,iCAHW,QAAQ,GACN,QAAQ,CAgBpB;IAuCD;;OAEG;IACH,0BAIC;CACD;uBAjbsB,kBAAkB;4BAQhB,2BAA2B;0BAH7B,iCAAiC;6BAE9B,6BAA6B;0BAHhC,4BAA4B;6BAEzB,+BAA+B"}
@@ -41,22 +41,8 @@ export default class FrameAnimation {
41
41
  * {@link Sprite3d} remaps its quad's UVs + vertices).
42
42
  */
43
43
  constructor(host: object, applyFrame: (region: object) => void);
44
- /**
45
- * the host renderable this engine draws through.
46
- * @type {object}
47
- * @ignore
48
- */
49
- host: object;
50
- /**
51
- * geometry hook invoked on every frame change (see constructor).
52
- * @type {(region: object) => void}
53
- * @ignore
54
- */
55
- _applyFrame: (region: object) => void;
56
44
  /** defined animations, keyed by id @type {object} */
57
45
  anim: object;
58
- /** animation to chain to / completion callback on cycle end @ignore */
59
- resetAnim: (() => unknown) | (() => false | undefined) | (() => boolean) | (() => void) | undefined;
60
46
  /** current frame info @type {object} */
61
47
  current: object;
62
48
  /** elapsed time within the current frame, in ms @type {number} */
@@ -65,10 +51,6 @@ export default class FrameAnimation {
65
51
  animationspeed: number;
66
52
  /** pause flag — freezes the current frame @type {boolean} */
67
53
  animationpause: boolean;
68
- /** per-play speed multiplier (1 = authored speed) @ignore */
69
- _animSpeed: number;
70
- /** set once a `loop:false` animation has finished its single cycle @ignore */
71
- _animDone: boolean;
72
54
  /**
73
55
  * add an animation definition (see {@link Sprite#addAnimation}).
74
56
  * @param {string} name - animation id
@@ -118,29 +100,6 @@ export default class FrameAnimation {
118
100
  * @returns {number} the current animation frame index
119
101
  */
120
102
  getCurrentAnimationFrame(): number;
121
- /**
122
- * the frame object for the given index within the current animation.
123
- * @param {number} id - the frame id
124
- * @returns {object} the frame data
125
- */
126
- /**
127
- * Whether the current animation is still resolvable.
128
- *
129
- * `update()` hands control to user code in the middle of its frame loop:
130
- * `onended`, and the completion callback behind `resetAnim`. That code is
131
- * free to tear the host down — "remove me once the animation finishes" is
132
- * an entirely reasonable reaction, and `removeChildNow()` destroys the
133
- * sprite, whose `destroy()` empties `anim`. Everything after the callback
134
- * reads out of `anim`, so the loop has to check it is still there rather
135
- * than resume into a map the callback just cleared.
136
- *
137
- * A callback that switches animations with `setCurrentAnimation()` leaves
138
- * this true, which is the point: only a genuinely torn-down host stops the
139
- * loop.
140
- * @ignore
141
- * @returns {boolean} true while the current animation can still be read
142
- */
143
- _isCurrentAnimationLive(): boolean;
144
103
  getAnimationFrameObjectByIndex(id: any): any;
145
104
  /**
146
105
  * clear the frame timer and the play-once "done" hold, without changing the
@@ -1 +1 @@
1
- {"version":3,"file":"frameAnimation.d.ts","sourceRoot":"","sources":["../../src/renderable/frameAnimation.js"],"names":[],"mappings":"AAGA;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH;IACC;;;;;;;;;;;OAWG;IACH,kBAXW,MAAM,cAMN,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,EA2DlC;IArDA;;;;OAIG;IACH,MAHU,MAAM,CAGA;IAEhB;;;;OAIG;IACH,aAHU,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAGL;IAE7B,qDAAqD;IACrD,MAD2C,MAAM,CACnC;IAEd,uEAAuE;IACvE,oGAA0B;IAE1B,wCAAwC;IACxC,SAD8B,MAAM,CAiBnC;IAED,kEAAkE;IAClE,IADwD,MAAM,CACnD;IAEX,qEAAqE;IACrE,gBAD2D,MAAM,CACxC;IAEzB,6DAA6D;IAC7D,gBADkD,OAAO,CAC9B;IAE3B,6DAA6D;IAC7D,mBAAmB;IAEnB,8EAA8E;IAC9E,mBAAsB;IAGvB;;;;;;OAMG;IACH,mBALW,MAAM,SACN,MAAM,EAAE,GAAC,MAAM,EAAE,GAAC,MAAM,EAAE,mBAC1B,MAAM,GACJ,MAAM,CAoElB;IAED;;;;;;OAMG;IACH,0BALW,MAAM,cACN,MAAM,cAAU,MAAM,gBACtB,OAAO,GACL,MAAM,CA4ElB;IAED;;;;;OAKG;IACH,wBAFW,MAAM,QAQhB;IAED;;;OAGG;IACH,yBAHW,MAAM,GACJ,OAAO,CAInB;IAED;;OAEG;IACH,qBAFa,MAAM,EAAE,CAIpB;IAED;;;;;OAKG;IACH,kBAHW,MAAM,GACJ,MAAM,CAiBlB;IAED;;;;OAIG;IACH,0BAHW,MAAM,GACJ,MAAM,CAOlB;IAED;;OAEG;IACH,4BAFa,MAAM,CAIlB;IAED;;;;OAIG;IACH;;;;;;;;;;;;;;;;OAgBG;IACH,2BAFa,OAAO,CAQnB;IAED,6CAEC;IAED;;;;OAIG;IACH,mBAGC;IAED;;;OAGG;IACH,eAKC;IAED;;;;;;;;OAQG;IACH,WAHW,MAAM,GACJ,OAAO,CAmEnB;IAED;;;OAGG;IACH,gBAOC;CACD"}
1
+ {"version":3,"file":"frameAnimation.d.ts","sourceRoot":"","sources":["../../src/renderable/frameAnimation.js"],"names":[],"mappings":"AAGA;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH;IACC;;;;;;;;;;;OAWG;IACH,kBAXW,MAAM,cAMN,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,EAyElC;IAnEA;;;;;OAKG;IACH,MAJU,MAAM,CAIA;IAEhB;;;;;OAKG;IACH,aAJU,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAIL;IAE7B,qDAAqD;IACrD,MAD2C,MAAM,CACnC;IAEd;;;;OAIG;IACH,oGAA0B;IAE1B,wCAAwC;IACxC,SAD8B,MAAM,CAiBnC;IAED,kEAAkE;IAClE,IADwD,MAAM,CACnD;IAEX,qEAAqE;IACrE,gBAD2D,MAAM,CACxC;IAEzB,6DAA6D;IAC7D,gBADkD,OAAO,CAC9B;IAE3B;;;;OAIG;IACH,mBAAmB;IAEnB;;;;OAIG;IACH,mBAAsB;IAGvB;;;;;;OAMG;IACH,mBALW,MAAM,SACN,MAAM,EAAE,GAAC,MAAM,EAAE,GAAC,MAAM,EAAE,mBAC1B,MAAM,GACJ,MAAM,CAoElB;IAED;;;;;;OAMG;IACH,0BALW,MAAM,cACN,MAAM,cAAU,MAAM,gBACtB,OAAO,GACL,MAAM,CA4ElB;IAED;;;;;OAKG;IACH,wBAFW,MAAM,QAQhB;IAED;;;OAGG;IACH,yBAHW,MAAM,GACJ,OAAO,CAInB;IAED;;OAEG;IACH,qBAFa,MAAM,EAAE,CAIpB;IAED;;;;;OAKG;IACH,kBAHW,MAAM,GACJ,MAAM,CAiBlB;IAED;;;;OAIG;IACH,0BAHW,MAAM,GACJ,MAAM,CAOlB;IAED;;OAEG;IACH,4BAFa,MAAM,CAIlB;IAED;;;;OAIG;IACH;;;;;;;;;;;;;;;;;OAiBG;IACH,2BAFa,OAAO,CAQnB;IAED,6CAEC;IAED;;;;OAIG;IACH,mBAGC;IAED;;;OAGG;IACH,eAKC;IAED;;;;;;;;OAQG;IACH,WAHW,MAAM,GACJ,OAAO,CAmEnB;IAED;;;OAGG;IACH,gBAOC;CACD"}
@@ -1,92 +1,2 @@
1
- /**
2
- * Bake (once) a radial alpha ramp: opaque white at the centre, fading to
3
- * fully transparent at the rim.
4
- *
5
- * White rather than black because the colour comes from the draw tint — that
6
- * way the same bake serves a black shadow, a tinted one, or a coloured pool
7
- * of light, and nothing has to be re-baked to change it.
8
- * @returns {HTMLCanvasElement|OffscreenCanvas} the shared falloff canvas
9
- * @ignore
10
- */
11
- export function getShadowFalloff(): HTMLCanvasElement | OffscreenCanvas;
12
- /**
13
- * Drop the shared bake. Only the tests need this — the canvas is CPU-side and
14
- * costs 64 KB, so an application never has a reason to release it.
15
- * @ignore
16
- */
17
- export function resetShadowFalloff(): void;
18
- /**
19
- * Whether a mesh's geometry has any vertical extent at all.
20
- *
21
- * The test a **blanket** opt-in needs: a ground shadow says "this object is
22
- * standing above the floor", and a flat plane lying in the floor is the floor.
23
- * Shadowing it with itself smears a blob the size of the whole ground across
24
- * it, which is what a scene-wide `castGroundShadow` would otherwise do to
25
- * every glTF scene that ships one. A per-object opt-in bypasses this — that
26
- * one is an explicit instruction.
27
- *
28
- * Deliberately model-space and unrotated: the caller asks about the geometry,
29
- * not about where it currently sits.
30
- * @param {Float32Array} vertices - model-space vertex positions (x, y, z)
31
- * @param {number} vertexCount - how many vertices to read
32
- * @returns {boolean} true when the geometry is not flat in Y
33
- * @ignore
34
- */
35
- export function hasVerticalExtent(vertices: Float32Array, vertexCount: number): boolean;
36
- /**
37
- * Borrow the shadow quad for a renderer, building it on first use.
38
- *
39
- * Cached **on the renderer**, not at module level, for two reasons: a `Mesh`
40
- * resolves its texture through the active renderer's texture cache, so a
41
- * module-level one would bind itself to whichever application happened to
42
- * construct it first; and hanging it off the renderer means it dies with the
43
- * renderer instead of outliving it.
44
- *
45
- * Two are kept — lit and unlit — so the shadow can be drawn through whichever
46
- * mesh batcher its owner is already using. Sharing one unlit quad between lit
47
- * owners would force a `litMesh → mesh → litMesh` batcher transition per
48
- * shadowed object, each costing a bind/unbind pair and a flush: far more than
49
- * the single draw the shadow is supposed to be.
50
- *
51
- * Retained geometry is keyed per mesh object, so one quad uploads once and
52
- * every shadow in the scene redraws it at a different matrix for free.
53
- * @param {object} renderer - the active renderer
54
- * @param {boolean} lit - whether the owning mesh draws lit
55
- * @param {Function} MeshClass - the `Mesh` constructor (passed in to avoid a
56
- * circular import: `Mesh` owns the shadow, not the other way round)
57
- * @returns {object} the shared shadow quad for that tier
58
- * @ignore
59
- */
60
- export function getShadowQuad(renderer: object, lit: boolean, MeshClass: Function): object;
61
- /**
62
- * The blob quad an `InstancedMesh` draws from — sized to the prototype's own
63
- * footprint (#1515).
64
- *
65
- * The shared quad is a unit square, and the instanced vertex stage scales it by
66
- * each record's horizontal scale alone. That silently assumes the prototype
67
- * geometry is exactly 1 unit across, which is true of almost nothing: glTF
68
- * meshes load with `normalize: false` and keep their authored size, so a tree
69
- * 3 units wide got a blob sized for a 1-unit tree. It also skipped the contact
70
- * spread and the minor-axis floor the per-object tier applies, so the SAME
71
- * asset drew a different shadow depending on whether it was instanced.
72
- *
73
- * Baking the extents into four vertices fixes it with no shader change and no
74
- * per-draw uniform: retained geometry is keyed per mesh object, so this uploads
75
- * once per `InstancedMesh` and is redrawn for free.
76
- * @param {object} mesh - the InstancedMesh casting the shadows
77
- * @param {Function} MeshClass - the `Mesh` constructor (avoids a circular import)
78
- * @param {number} halfX - model-space half-extent along X, spread applied
79
- * @param {number} halfZ - model-space half-extent along Z, spread applied
80
- * @param {number} version - the prototype's geometry version
81
- * @returns {object} the quad to draw this scatter's blobs from
82
- * @ignore
83
- */
84
- export function getInstancedShadowQuad(mesh: object, MeshClass: Function, halfX: number, halfZ: number, version: number): object;
85
- /**
86
- * Release the shadow quads a renderer built, if any. Called from renderer
87
- * teardown so the retained GPU geometry goes with it.
88
- * @param {object} renderer - the renderer being torn down
89
- * @ignore
90
- */
91
- export function releaseShadowQuads(renderer: object): void;
1
+
92
2
  //# sourceMappingURL=groundshadow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"groundshadow.d.ts","sourceRoot":"","sources":["../../src/renderable/groundshadow.js"],"names":[],"mappings":"AAyCA;;;;;;;;;GASG;AACH,oCAHa,iBAAiB,GAAC,eAAe,CAsC7C;AAED;;;;GAIG;AACH,2CAEC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,4CALW,YAAY,eACZ,MAAM,GACJ,OAAO,CA8BnB;AAiBD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wCAPW,MAAM,OACN,OAAO,wBAGL,MAAM,CAiClB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,6CARW,MAAM,8BAEN,MAAM,SACN,MAAM,WACN,MAAM,GACJ,MAAM,CAsClB;AAED;;;;;GAKG;AACH,6CAHW,MAAM,QAUhB"}
1
+ {"version":3,"file":"groundshadow.d.ts","sourceRoot":"","sources":["../../src/renderable/groundshadow.js"],"names":[],"mappings":"AA4CA;;;;;;;;;;GAUG;AACH,oCAJa,iBAAiB,GAAC,eAAe,CAuC7C;AAED;;;;;GAKG;AACH,2CAEC;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,4CANW,YAAY,eACZ,MAAM,GACJ,OAAO,CA+BnB;AAkBD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wCARW,MAAM,OACN,OAAO,wBAGL,MAAM,CAkClB;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,6CATW,MAAM,8BAEN,MAAM,SACN,MAAM,WACN,MAAM,GACJ,MAAM,CAuClB;AAED;;;;;;GAMG;AACH,6CAJW,MAAM,QAWhB"}
@@ -59,7 +59,6 @@ export default class ImageLayer extends Sprite {
59
59
  * @default 'repeat'
60
60
  */
61
61
  get repeat(): string;
62
- _repeat: string | undefined;
63
62
  repeatX: boolean | undefined;
64
63
  repeatY: boolean | undefined;
65
64
  onActivateEvent(): void;
@@ -69,34 +68,6 @@ export default class ImageLayer extends Sprite {
69
68
  * @param {number} h - new height
70
69
  */
71
70
  resize(w: number, h: number): this;
72
- /**
73
- * createPattern function
74
- * @ignore
75
- */
76
- createPattern(): void;
77
- _pattern: any;
78
- /**
79
- * updateLayer function
80
- * @ignore
81
- */
82
- updateLayer(): void;
83
- /**
84
- * Override the default preDraw to skip the base class's anchor offset
85
- * translation and `autoTransform` application — `ImageLayer.draw()`
86
- * computes its own world-space position from the viewport, the parallax
87
- * `ratio`, anchor, and zoom, so applying anchor/transform here would
88
- * double-translate the layer.
89
- *
90
- * Coordinate-sensitive setup (flip, stencil mask) is intentionally
91
- * deferred to `draw()` where it runs *after* the per-camera zoom
92
- * translate/scale — that way it stays correctly aligned at any
93
- * `viewport.zoom` and across multiple cameras. Coordinate-independent
94
- * setup (alpha, post-effects, tint, blend) stays here. The inherited
95
- * `Renderable.postDraw` cleans up symmetrically (`clearTint` /
96
- * `clearMask` / `endPostEffect` / `restore`).
97
- * @ignore
98
- */
99
- preDraw(renderer: any): void;
100
71
  /**
101
72
  * draw this ImageLayer (automatically called by melonJS)
102
73
  * @protected
@@ -1 +1 @@
1
- {"version":3,"file":"imagelayer.d.ts","sourceRoot":"","sources":["../../src/renderable/imagelayer.js"],"names":[],"mappings":"AAaA;;;GAGG;AAEH;;;GAGG;AACH;IACC;;;;;;;;;;;;;;;;OAgBG;IACH,eAhBW,MAAM,KACN,MAAM,YAEd;QAA4E,KAAK,EAAzE,gBAAgB,GAAC,iBAAiB,GAAC,eAAe,GAAC,MAAM;QACvC,IAAI;QACJ,CAAC;QACQ,KAAK;QACsB,MAAM;QACN,WAAW;eAAvC,MAAM;eAAG,MAAM;;KACjD,EAgEF;IAlCA;;;;;;;;;OASG;IACH,OAHU,QAAQ,CAGqB;IAyCxC,kBAPU,MAAM,EA2Bf;IAnCD;;;;;;;;;;OAUG;IACH,cAHU,MAAM,CAKf;IAGA,4BAAoB;IAGlB,6BAAoB;IACpB,6BAAoB;IAkBvB,wBAsBC;IAED;;;;OAIG;IACH,UAHW,MAAM,KACN,MAAM,QAOhB;IAED;;;OAGG;IACH,sBAKC;IAJA,cAGC;IAGF;;;OAGG;IACH,oBA+CC;IAED;;;;;;;;;;;;;;;OAeG;IACH,6BAmBC;IAED;;;;;OAKG;IACH,yBAHW,cAAc,GAAC,aAAa,aAC5B,QAAQ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