photonstorm
960acce62c
eslint fixes
2017-04-28 03:13:22 +01:00
photonstorm
ba2e5ffc26
Added Format String util.
2017-04-28 01:52:46 +01:00
photonstorm
a232e6c97d
Created VariableTimeStep loop and integrated it into the Game and State Systems.
...
Added GetSpeed Math util.
2017-04-27 17:03:19 +01:00
Richard Davey
07f72f489a
Added TickerLoop and made it optional via config.
2017-04-27 03:11:56 +01:00
photonstorm
d2fa3779f4
Working on the new TickerLoop.
2017-04-26 17:13:56 +01:00
photonstorm
8264351f75
Renamed GetObjectValue to GetValue and replaced through-out entire codebase. More consistent now with GetAdvancedValue, etc.
2017-04-26 16:03:22 +01:00
photonstorm
427018d291
You can now provide the TextMetrics as part of the config object, to avoid the expensive canvas scanning needed.
...
Text.getTextMetrics and TextStyle.getTextMetrics added to faciliate this. Plus added to toJSON.
2017-04-26 15:54:23 +01:00
photonstorm
e2576fe512
Text.padding supported and working.
2017-04-26 15:34:15 +01:00
Richard Davey
3f6c74c1f7
More work on Text Metrics.
2017-04-26 03:55:42 +01:00
Felipe Alfonso
4073db3551
TileSprite base and renderer
2017-04-25 19:09:13 -03:00
Richard Davey
0df585f7d5
Testing various text measuring options.
2017-04-25 19:46:13 +01:00
Richard Davey
a4dc2d28aa
Added TextStyle.toJSON and merged the output with Text.toJSON.
2017-04-25 18:24:37 +01:00
Richard Davey
ad0ff4d64b
Added BuildFromConfig for Text object.
...
Updated TextStyle to use advanced object getter.
2017-04-25 18:07:23 +01:00
Richard Davey
c0254bbbf0
Added setScaleMode and setBlendMode functions.
2017-04-21 03:12:25 +01:00
Felipe Alfonso
d4e4509e22
Render off-screen and on-screen for EffectLayer
2017-04-20 21:30:19 -03:00
Felipe Alfonso
3c476ae26b
Fixed EffectRenderer
2017-04-20 21:25:31 -03:00
Richard Davey
b3fb6d64f2
Added ability to create EffectLayer via config object.
2017-04-21 00:54:57 +01:00
Felipe Alfonso
8df65e7270
changed renderTexture name
2017-04-20 20:50:47 -03:00
Felipe Alfonso
1742ec0f12
RenderPass Update
2017-04-20 15:06:57 -03:00
Felipe Alfonso
18e3b9379d
Render Pass rendering on the screen
2017-04-20 13:18:14 -03:00
Richard Davey
e631c2031b
Merge pull request #2990 from johnfn/patch-1
...
Fix typo in Color
2017-04-20 12:47:08 +01:00
Felipe Alfonso
fd4d25a3b6
RenderPass update
2017-04-18 19:15:10 -03:00
photonstorm
6aa2fb009b
Renamed Texture Parsers to follow conventions elsewhere in the library. Started on SS from Atlas.
2017-04-18 15:31:30 +01:00
Felipe Alfonso
88c599cb28
Fixed render target issue with BitmapText
2017-04-13 12:55:25 -03:00
Felipe Alfonso
bcbec418b1
Fixed Graphics and Blitter issue with renderTarget
2017-04-13 12:45:01 -03:00
Richard Davey
81c6124a4d
Added more toJSON GameObject functions.
2017-04-13 00:35:27 +01:00
Richard Davey
5eee8225bf
Added ToJSON Game Object component.
2017-04-13 00:05:21 +01:00
Richard Davey
929d6fc8ef
Enforced GameObjects to specify their type (a string based const)
2017-04-13 00:05:12 +01:00
Richard Davey
612db78818
Added AnimationJSON Loader File type.
...
Fixed ToJSON component.
2017-04-12 15:27:05 +01:00
Richard Davey
fa4192e1f0
Moved Animation Manager functions into its own components folder for clarity.
...
Added FromJSON.
Updated Create so you only pass in a config object now, not a key AND config.
2017-04-12 14:39:11 +01:00
Richard Davey
ee5e4f5195
Tidied up the Animation folder.
...
Animation Manager now in its own folder, with all methods split out to their own files.
Animation Components moved to components folder.
AnimationFrame renamed to Frame and moved inside the frame folder, as it's frame specific.
2017-04-12 13:53:55 +01:00
Richard Davey
da3496a71d
Added toJSON support to the Animation Manager and Animations.
2017-04-12 13:14:42 +01:00
photonstorm
01a542303a
Config based SS rip.
2017-04-11 17:22:22 +01:00
photonstorm
4b4ef1dcfd
eslint fix.
2017-04-11 17:21:50 +01:00
photonstorm
93b4d33a78
Suffix support in multiatlas call.
2017-04-11 17:21:42 +01:00
Felipe Alfonso
581fdb50ee
RenderTarget added to renderable game objects
2017-04-11 10:15:38 -03:00
Richard Davey
5cdf2f0e96
Fixed animation values being overridden on load.
2017-04-11 03:28:39 +01:00
Richard Davey
1abf6e7b1e
Sprite now uses BuildAnimation function.
2017-04-11 03:13:51 +01:00
Richard Davey
e96dabf0cd
Fixed paths
2017-04-11 03:13:41 +01:00
Richard Davey
dabfbc0ae1
Added animation build function.
2017-04-11 03:13:30 +01:00
Richard Davey
fcc01d28aa
eslint fixes.
2017-04-11 02:49:13 +01:00
Richard Davey
2c4a697665
Expose the GameObjectCreator.
2017-04-11 02:49:13 +01:00
Richard Davey
05920eae8e
An advanced object property extraction function. Allows you to defined property callbacks, arrays to pick from, random ints and random floats.
2017-04-11 02:49:13 +01:00
Richard Davey
9ee3e759b5
Gets a value from an object with a min / max clamp.
2017-04-11 02:49:13 +01:00
Richard Davey
c8d22fe881
Added BuildGameObject and related functions. Allows you to create a game object via a configuration object, rather than having to call all the functions directly. Applied to Images and Sprites so far. Accessed via this.make.sprite
or this.make.image
.
2017-04-11 02:49:13 +01:00
Felipe Alfonso
d08e23f4f4
Reset renderTarget to null when rendering camera effects
2017-04-10 16:15:18 -03:00
Felipe Alfonso
48782ec751
calling GameObject constructor on EffectLayer
2017-04-10 13:12:54 -03:00
photonstorm
294b110c61
Comment
2017-04-10 17:04:24 +01:00
photonstorm
ffa50f27f6
Added in all of the animation callbacks (start, repeat, update and complete), and user-defined arguments for each of them + callback scope.
2017-04-10 16:27:38 +01:00
Felipe Alfonso
5095e66fa7
Int and Matrix uniform setting
2017-04-10 12:05:56 -03:00