melonjs 13.1.1 → 13.3.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.
- package/README.md +5 -5
- package/dist/melonjs.js +327 -425
- package/dist/melonjs.min.js +3 -3
- package/dist/melonjs.module.d.ts +185 -387
- package/dist/melonjs.module.js +316 -430
- package/package.json +7 -7
- package/src/geometries/point.js +80 -0
- package/src/index.js +4 -0
- package/src/level/tiled/TMXObject.js +21 -9
- package/src/math/color.js +1 -1
- package/src/physics/body.js +10 -3
- package/src/physics/bounds.js +10 -9
- package/src/polyfill/index.js +2 -2
- package/src/renderable/renderable.js +49 -135
- package/src/renderable/sprite.js +7 -1
- package/src/text/bitmaptext.js +8 -8
- package/src/text/text.js +1 -1
- package/src/text/textmetrics.js +1 -1
- package/src/video/canvas/canvas_renderer.js +31 -4
- package/src/video/renderer.js +8 -50
- package/src/video/video.js +1 -0
- package/src/video/webgl/glshader.js +0 -28
- package/src/video/webgl/webgl_compositor.js +19 -48
- package/src/video/webgl/webgl_renderer.js +36 -112
package/README.md
CHANGED
|
@@ -91,10 +91,9 @@ Tools integration and usage with melonJS is documented in our [Wiki](https://git
|
|
|
91
91
|
|
|
92
92
|
# Using melonJS
|
|
93
93
|
|
|
94
|
-
### For your first time using melonJS,
|
|
94
|
+
### For your first time using melonJS, this is where you start
|
|
95
95
|
|
|
96
|
-
- [Platformer](
|
|
97
|
-
- [Space Invaders](http://melonjs.github.io/tutorial-space-invaders/) Step by Step Tutorial.
|
|
96
|
+
- [melonJS: Hacking a Platformer Game](https://melonjs.org/tutorial/)
|
|
98
97
|
|
|
99
98
|
You may find it useful to skim the overview found at the wiki [Details & Usage](https://github.com/melonjs/melonJS/wiki#details--usage)
|
|
100
99
|
|
|
@@ -112,7 +111,7 @@ A few demos of melonJS capabilities :
|
|
|
112
111
|
* [Primitive Drawing Demo](https://melonjs.github.io/examples/graphics/)
|
|
113
112
|
* [UI Demo](https://melonjs.github.io/examples/UI/)
|
|
114
113
|
|
|
115
|
-
|
|
114
|
+
More examples are available [here](https://melonjs.github.io/examples/)
|
|
116
115
|
|
|
117
116
|
-------------------------------------------------------------------------------
|
|
118
117
|
|
|
@@ -148,8 +147,9 @@ Documentation
|
|
|
148
147
|
-------------------------------------------------------------------------------
|
|
149
148
|
|
|
150
149
|
* [Online API](http://melonjs.github.io/melonJS/docs/)
|
|
151
|
-
* [offline](https://github.com/melonjs/melonJS/archive/gh-pages.zip) version under the `docs` directory)
|
|
152
150
|
|
|
151
|
+
To enable an offline version of the documentation, navigate to the settings page and enable `offline storage`:
|
|
152
|
+
<img width="297" alt="186643536-854af31e-9c94-412e-a764-4bb7f93f15c3" src="https://user-images.githubusercontent.com/4033090/187061867-cf8c4c8a-437b-4f76-9138-610adda0ca23.png">
|
|
153
153
|
|
|
154
154
|
Download melonJS
|
|
155
155
|
-------------------------------------------------------------------------------
|