Chris Andrew
efaff363aa
Documented XML Bitmap Font parsing and the GetBitmapTextSize function.
2018-06-01 15:21:10 +01:00
Richard Davey
0d0846a415
Calling a creator, such as GraphicsCreator, without passing in a config object, would cause an error to be thrown. All Game Object creators now catch against this.
2018-05-16 15:17:08 +01:00
Richard Davey
107ca71d6b
BitmapText, both static and dynamic, can now take any data-type, including numbers, for the text
argument in the constructor. Before they only worked via setText
2018-05-03 15:52:12 +01:00
Richard Davey
28251fd0f5
addToScene
added to all Game Object Creators
2018-05-02 10:57:26 +01:00
Richard Davey
606ba6d8d7
Added new Mask component and added to all relevant Game Objects
2018-04-20 18:57:49 +01:00
Richard Davey
6299019838
Updated to use typeof DefinePlugin check.
2018-04-20 00:23:24 +01:00
Richard Davey
e14d0c5054
eslint fixes
2018-04-19 13:57:33 +01:00
Richard Davey
cb4eb9e435
Rescoped RetroFont so it's no longer bound to BitmapText
2018-04-19 13:07:59 +01:00
Richard Davey
5b31a51dd5
Rescoped
2018-04-19 12:42:35 +01:00
Richard Davey
32ce8d7947
jsdoc fixes and removed un-used ResetKey file.
2018-04-19 12:30:38 +01:00
Richard Davey
23f353326c
jsdoc fix
2018-04-18 13:48:25 +01:00
Richard Davey
6e77557375
jsdoc fixes
2018-04-18 13:34:22 +01:00
Richard Davey
b0544c73b8
jsdoc fixes
2018-04-18 13:29:22 +01:00
Richard Davey
18585de81d
Lots of jsdoc fixes
2018-04-16 14:43:24 +01:00
Richard Davey
ce7d67297f
Moving from 3.4.1 to 3.5.0 so we can release new camera fx and scene transitions
2018-04-15 12:44:47 +01:00
Antriel
6be6f17bfd
Add missing letterSpacing to DynamicBitmapText
2018-04-13 10:50:18 +02:00
Felipe Alfonso
c232642a52
Parent matrix is applied to canvas context on each draw function
2018-04-04 14:05:59 -03:00
Felipe Alfonso
96b8db4685
Added parentMatrix to all canvas rendering functions
2018-04-04 13:14:55 -03:00
Felipe Alfonso
bea7ca36ad
Merge branch 'master' into containers
...
# Conflicts:
# src/renderer/webgl/pipelines/TextureTintPipeline.js
2018-04-04 12:07:41 -03:00
Richard Davey
96507beda1
Added setLetterSpacing
method and exported value in toJSON
( #3480 )
2018-04-04 11:34:39 +01:00
Travis O'Neal
2ec70cac48
Added a letterSpacing property to BitmapText
2018-04-02 09:42:24 -04:00
Travis O'Neal
43ea5f239c
Updated @since to the appropriate version
2018-03-30 14:07:28 -04:00
Travis O'Neal
d6265a59dd
Initial Commit
2018-03-30 13:46:44 -04:00
Felipe Alfonso
e0f678d1ff
Merge branch 'master' into containers
2018-03-28 20:49:00 -03:00
Richard Davey
747f09af86
jsdoc fixes
2018-03-28 15:04:09 +01:00
Richard Davey
f10efda8f0
font
is non-optional, so removed coordinates as optional
2018-03-28 12:05:03 +01:00
Felipe Alfonso
d544701495
parentMatrix added to individual game object render function
2018-03-27 14:49:09 -03:00
orblazer
ae0b3b841b
Fix types on GameObjects
2018-03-27 14:52:58 +02:00
Richard Davey
0ef92e1172
Merge branch 'pr/3439'
2018-03-21 16:06:56 +00:00
Richard Davey
db613c793a
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-21 03:17:00 +00:00
Richard Davey
786d181a91
Sorted the components
2018-03-21 03:16:49 +00:00
orblazer
5a518f2e5f
Fix "object" types on Camera and GameObjecs
2018-03-20 23:28:26 +01:00
orblazer
87633fdfad
Fix multiple types on GameObjects
2018-03-20 15:56:31 +01:00
orblazer
b4a30b8e43
Add callbacks on GameObjects
2018-03-19 22:27:16 +01:00
orblazer
bf630f7d57
Fix types in JSDocs
2018-03-19 19:49:14 +01:00
orblazer
90def456f2
Update JSDoc on GameObjects
2018-03-19 12:54:31 +01:00
Richard Davey
05a4385cd7
jsdoc fixes
2018-03-16 17:29:39 +00:00
Richard Davey
19a17bcf63
Updating docs
2018-03-15 17:27:30 +00:00
Richard Davey
935a89342d
Calling setText
on a BitmapText object will now recalculate its display origin values. Fix #3350
2018-03-09 17:08:12 +00:00
Richard Davey
9a561ff385
Added roundPixels support to BitmapText canvas
2018-02-28 23:07:30 +00:00
Richard Davey
8ae3493296
setText updates
...
BitmapText.setText will check if the value given is falsey but not a zero and set to an empty string if so.
BitmapText.setText will now cast the given value to a string before setting.
BitmapText.setText will not change the text via `setText` unless the new text is different to the old one.
2018-02-27 15:14:03 +00:00
Felipe Alfonso
4b9b4c91a3
Dynamic BitmapText's origin is used on rendering the text
2018-02-19 18:20:30 -03:00
Felipe Alfonso
41bcaba43a
Dynamic BitmapText now uses origin component to render the text.
2018-02-19 18:16:57 -03:00
Richard Davey
50dac412be
eslint fixes and console removal
2018-02-16 19:08:50 +00:00
Richard Davey
86f00eeb52
eslint fixes
2018-02-16 18:17:51 +00:00
Richard Davey
d1f5f8a82b
Added jsdocs
2018-02-12 16:01:21 +00:00
Richard Davey
40689d1e35
Updated jsdocs.
2018-02-07 15:27:21 +00:00
Richard Davey
a8eae2bab7
Added jsdocs
2018-02-05 23:59:51 +00:00
Richard Davey
d457373287
Added Depth component and tidied up redundant parts of Transform
2018-02-01 00:50:15 +00:00
Richard Davey
950a125d71
Added jsdocs
2018-02-01 00:04:45 +00:00
Felipe Alfonso
71a6360a7b
Pipeline components added
2018-01-29 18:46:48 -03:00
Felipe Alfonso
06fa0afcc8
Dynamic Bitmap Text webgl rendering
2018-01-24 15:55:23 -03:00
Felipe Alfonso
502ce8ddea
Static BitmapText rendering. Added rect culling to TextureTintPipeline
2018-01-23 20:36:49 -03:00
Felipe Alfonso
2b043fff65
Removed RenderTarget and Shader from components
2018-01-22 18:53:15 -03:00
Felipe Alfonso
4983b393e3
Merge with master
2018-01-17 18:30:39 -03:00
Richard Davey
f9a7939812
Lots of work migrating to the new plugin system, fixing references and exposing on the namespace
2018-01-16 22:28:29 +00:00
Felipe Alfonso
fd4f441146
DynamicBitmapText WebGL renderer updated
2018-01-16 16:32:27 -03:00
Richard Davey
d8f1ba03e9
Moved repository location
2018-01-09 21:43:56 +00:00
Richard Davey
0d90f75b5f
Splitting the dev branch up into versions.
2016-11-22 01:36:56 +00:00
Richard Davey
0af16817a5
Refactored GameObjects
to GameObject
.
2016-10-09 22:27:58 +01:00
Richard Davey
380e717e52
Finished off missing factories. Moved over the docs. Changed rogue @returns to @return everywhere.
2016-10-08 16:17:46 +01:00
Richard Davey
6d0dc5e003
Added BitmapText Factory.
2016-10-08 13:18:35 +01:00
Richard Davey
729020477a
New Game Objects structure in place, and starting to take shape.
...
Moved BitmapData and RenderTexture into the textures folder for now.
All Game Objects now have their own sub-folder, with their Factory and renderer functions alongside them, plus any other files they need.
New Factory class added. Currently hooked into `game.factory` for testing, but will swap to `game.add` when complete.
2016-10-08 03:05:42 +01:00