Florian Rival
c385aae845
Add support for "hot reloading" of previews (apply changes to preview without restarting)
2020-07-25 14:23:01 +01:00
Arthur Pacaud
054e48227c
Make object and behavior registering more explicit ( #1379 )
2020-01-17 22:49:24 +00:00
Arthur Pacaud
99312c71e0
Improve overall type annotations ( #1361 )
...
* Add type annotation for ObjectData and related types.
* Add missing type annotations.
* Add // @ts-check to some files.
2020-01-12 20:14:00 +00:00
Florian Rival
a0887a1982
Fix rendering of particles not using a texture
2020-01-06 23:41:15 +00:00
Florian Rival
aa7a4a4ff3
Rename onOwnerRemovedFromScene to onDestroy and fix onCreated/onDestroy calls
...
* Rename onOwnerRemovedFromScene to onDestroy (because it can be now called when a scene is destroyed)
* Fix it being not called when a scene is destroyed (so behavior don't get a chance to clean up what they have created)
* Fix onCreated being called before the object is fully initialized (for custom behaviors or behaviors relying on an object type)
2019-07-28 17:43:50 +01:00
Florian Rival
5f8546c3b9
Avoid crash of the debugger with Particle Emitters
...
This is done by using _renderer as the name for the renderer property,
with an underscore, which is filtered by the debugger when the game
is dumped.
2019-01-06 22:59:21 +00:00
Lizard-13
b64eeebcbe
Add missing functions and bugfix for particles ( #555 )
...
* Add missing functions and bugfix for particles
* parseInt in base 10
2018-07-16 23:03:45 +01:00
Lizard-13
9ce734e204
More particles fixes
2018-04-13 06:27:37 -03:00
Lizard-13
6db6455bb6
Improve particles
2018-04-09 22:38:47 -03:00
Florian Rival
940eac6bc4
Fix Pixi and Cocos2d-JS particles flow/tank support and adapt Explosion example
2018-04-08 23:28:51 +02:00
Lizard-13
1019aaba5f
Update exporter and improve readability
2018-04-08 11:48:28 -03:00
Lizard-13
5770ac6396
Add support for particles in web platform
2018-04-07 23:51:28 -03:00