Richard Davey
|
4ef3c58caa
|
Updated jsdocs
|
2023-10-13 13:09:28 +01:00 |
|
Richard Davey
|
d3c32cdc27
|
Removed fx property and added init flag
|
2023-02-17 01:09:57 +00:00 |
|
Richard Davey
|
cbf42feee1
|
Refactored so FX is a class sitting on a property, rather than a mixin.
|
2023-02-16 18:39:14 +00:00 |
|
Richard Davey
|
36e6bc8a05
|
Added PostPipeline component
|
2023-02-03 17:52:36 +00:00 |
|
Richard Davey
|
7308d1e6f8
|
Update SpriteConfig.js
|
2023-01-10 22:49:07 +00:00 |
|
Richard Davey
|
3eaf5d5679
|
Fixed Factory jsdocs
|
2023-01-10 22:04:10 +00:00 |
|
Richard Davey
|
468bf7821d
|
Updated copyright year
|
2023-01-02 17:36:27 +00:00 |
|
Richard Davey
|
a4d8e87095
|
Fixed lint errors
|
2022-05-10 17:06:53 +01:00 |
|
T.J. L
|
ff4ef2872b
|
Don't overwrite the return values from require()
|
2022-04-02 01:49:19 -07:00 |
|
Richard Davey
|
59fbcc5ca3
|
Updated copyright year
|
2022-02-28 14:29:51 +00:00 |
|
Phaser Editor 2D
|
61ef57a399
|
Tag as optional the Sprite.chain(key) argument.
The `chain()` method accepts no argument to reset the chain of animations.
|
2022-01-02 17:05:30 -05:00 |
|
Richard Davey
|
6eebd6c1cf
|
GameObjects.Components.FX is a new component that provides access to FX specific propertis and methods. The Image and Sprite Game Objects have this component by default.
|
2021-10-12 21:47:24 +01:00 |
|
Richard Davey
|
c1430f41dc
|
Testing FX padding
|
2021-10-11 15:10:57 +01:00 |
|
Richard Davey
|
1c8662dc1f
|
Call addToRenderList
|
2021-01-07 14:52:08 +00:00 |
|
Richard Davey
|
00d8b6a009
|
Invoke camera.addToRenderList method
|
2021-01-07 12:31:31 +00:00 |
|
Richard Davey
|
59e89fa788
|
All Game Objects will now listen for ADDED_TO_SCENE and REMOVED_FROM_SCENE events and call the handlers. Therefore, removed GO specific implementations.
|
2020-12-11 11:44:21 +00:00 |
|
Richard Davey
|
f18d615b40
|
Update SpriteWebGLRenderer.js
|
2020-12-08 16:15:16 +00:00 |
|
Richard Davey
|
417f7684c3
|
More integer to number changes
|
2020-11-23 10:32:00 +00:00 |
|
Richard Davey
|
02c34cd64e
|
Replace integer with number
|
2020-11-23 10:22:13 +00:00 |
|
Richard Davey
|
78b75efb8c
|
JSDoc fix
|
2020-11-20 16:03:03 +00:00 |
|
Richard Davey
|
6a966e3f3b
|
Removed interpolationPercentage parameter from all render methods, as it has never been used.
|
2020-09-14 15:33:58 +01:00 |
|
Richard Davey
|
bd56b0bd59
|
Updated JSDocs
|
2020-09-08 12:17:45 +01:00 |
|
Richard Davey
|
cdd612a273
|
AnimationState has moved namespace to keep things logically together
|
2020-09-08 09:31:59 +01:00 |
|
Richard Davey
|
2cabbbd504
|
Renamed to AnimationState for clarity.
|
2020-09-05 11:45:00 +01:00 |
|
Richard Davey
|
cee9ca00eb
|
Improved docs
|
2020-09-04 13:58:34 +01:00 |
|
Richard Davey
|
afef6da59c
|
Exposed all of the new animation methods on a Sprite level
|
2020-09-04 11:48:17 +01:00 |
|
Richard Davey
|
b4b5338f28
|
Added playReverse , delayedPlay and stop methods and better docs.
|
2020-09-03 17:38:36 +01:00 |
|
Richard Davey
|
90fbb0f13d
|
Updated jsdocs for play to show it can take the new config
|
2020-09-02 17:41:43 +01:00 |
|
Richard Davey
|
a9072cadf2
|
Sprite , Rope , ParticleEmitterManager , Extern and DOMElement now all override the addedToScene and removedFromScene callbacks to handle further set-up tasks.
|
2020-08-24 19:24:02 +01:00 |
|
Richard Davey
|
f4259deb37
|
DOMElementFactory , ExternFactory , ParticleManagerFactor , RopeFactory and SpriteFactory all no longer add the objects to the Update List, this is now handled by the ADDED events instead.
|
2020-08-24 19:22:58 +01:00 |
|
Richard Davey
|
dea68135fd
|
Correct texture type. Fix #5199
|
2020-07-13 13:29:01 +01:00 |
|
Jason Kwok
|
192e03c932
|
Fixed this return types for Phaser.GameObjects.Sprite
|
2020-01-26 21:36:59 +08:00 |
|
Richard Davey
|
ff65e69cd1
|
Changed copyright date to 2020
|
2020-01-15 12:07:09 +00:00 |
|
Richard Davey
|
c91ed91ce3
|
License link update
|
2019-05-10 16:15:04 +01:00 |
|
Richard Davey
|
b09ddc9048
|
GameObject Types
|
2019-05-09 12:01:00 +01:00 |
|
Richard Davey
|
ff723f64b6
|
Sprite Types
|
2019-05-09 11:58:41 +01:00 |
|
Richard Davey
|
e017691c68
|
The ScaleMode Component has been removed from every Game Object, and along with it the scaleMode property and setScaleMode method. These did nothing anyway as they were not hooked to the render pipeline and scale mode should be set on the texture, not the Game Object. Fix #4413
|
2019-03-24 23:07:27 +00:00 |
|
Richard Davey
|
c9bdb83941
|
GameObject and Loader typedefs
|
2019-02-13 13:57:59 +00:00 |
|
Richard Davey
|
e7b1d086e7
|
Moving all of the typedefs to properly namespaced scopes, rather than globals
\o/ ~ "Someone, save me!"
|
2019-02-13 12:35:12 +00:00 |
|
Richard Davey
|
aa341854c7
|
Happy New Year
|
2019-01-15 16:20:22 +00:00 |
|
Richard Davey
|
4b1c762296
|
Updated @memberOf to @memberof
|
2018-10-10 10:49:13 +01:00 |
|
Richard Davey
|
2812bff0ee
|
Sprites now have preDestroy method, which is called automatically by destroy . The method destroys the Animation component, unregistering the remove event in the process and freeing-up resources. Fix #4051
|
2018-09-25 15:11:15 +01:00 |
|
Richard Davey
|
dedc939fdd
|
initPipeline now defaults to the Texture Tint Pipeline if nothing else is specified.
|
2018-09-05 11:19:02 +01:00 |
|
Richard Davey
|
ca68904953
|
The Canvas Renderer has a new batchSprite method that consolidates the process of drawing a texture-based Game Object to the canvas. It processes the alpha, blend mode and matrix calculations in a single function and now is used by nearly all Game Object canvas renderers.
|
2018-08-03 18:53:50 +01:00 |
|
Richard Davey
|
c98f5edc23
|
Added resetCropObject method to cut down on duplicate code.
|
2018-08-03 18:50:36 +01:00 |
|
Eirik Slinning Korsnes
|
09113cb7a3
|
wrap ({number|string)}
|
2018-07-29 12:47:33 +02:00 |
|
ampled
|
50c787a9c8
|
- add typedef for SpriteConfig extends GameObjectConfig
- allow update-function signature to be overriden by GameObject subclasses
|
2018-07-29 12:19:04 +02:00 |
|
Richard Davey
|
ec5bd1912e
|
GameObject.willRender now takes a Camera as its only argument and uses it within the check. This has allowed me to remove 23 duplicate checks spread across the various Game Objects, all of which did the same thing, saving both KB and CPU time as the flags were being checked twice in most cases.
|
2018-07-19 13:19:02 +01:00 |
|
Richard Davey
|
ab35dfab95
|
The setCrop method stored its crop object on the prototype chain by mistake, causing all Images or Sprites that were cropped to display the same frame. The crop data has been moved to the Game Object instance, where it should be, fixing this issue
|
2018-07-19 00:18:09 +01:00 |
|
Richard Davey
|
f3a446797d
|
Added new TextureCrop component
|
2018-07-05 13:06:28 +01:00 |
|