Commit graph

48 commits

Author SHA1 Message Date
Richard Davey
036e7aecc9 If property is undefined fall back to the default value. 2017-11-27 14:48:09 +00:00
Twilrom
0770172664 Fix weird else statement 2017-11-16 13:17:06 +01:00
Richard Davey
40adcc888e 3 new helpers for 'hasOwnProperty' checks 2017-10-30 02:22:39 +00:00
Richard Davey
8ddef7aab9 Added jsdocs. 2017-10-12 13:57:55 +01:00
Richard Davey
8cf60b4c3e Tidying-up the namespace. 2017-10-11 17:06:13 +01:00
Richard Davey
56bc4d1547 Using MATH_CONST properly to avoid entire library import. Swapping to removing all index.js listings to avoid globbing. 2017-09-13 17:09:16 +01:00
photonstorm
54ffcc6391 Returns input value of number or string. 2017-08-04 16:14:41 +01:00
Richard Davey
f7097d58b4 Added GetFastValue for when no config key nesting is ever required. 2017-06-28 22:21:39 +01:00
Richard Davey
410ffc68c6 Updated Group.add 2017-06-26 22:00:05 +01:00
Alex Ford
8d2a9fd043 Fix a couple of typos in require calls 2017-06-26 18:05:26 +01:00
Richard Davey
e5f5b557b1 Added Retro Font to BitmapText convertor 2017-06-07 23:49:22 +01:00
photonstorm
b05e47c477 Removed TweenData array and refactored the Build functions to avoid object cloning. 2017-05-24 01:27:04 +01:00
Richard Davey
57fa4108c7 Zombie file. Kill it, kill it with fire. 2017-05-17 13:27:22 +01:00
Richard Davey
c23c5234c5 Optimized for number first quick escape. 2017-05-17 02:47:14 +01:00
photonstorm
d8724edde6 Fixed Array cloning.
New build process for Tween.
2017-05-11 17:19:18 +01:00
Richard Davey
b1b03c118d Added Object.Merge and Object.MergeRight. 2017-05-10 03:23:32 +01:00
Richard Davey
050948aa28 Added Shallow Object clone. 2017-05-10 02:25:32 +01:00
photonstorm
ba2e5ffc26 Added Format String util. 2017-04-28 01:52:46 +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
Richard Davey
fcc01d28aa eslint fixes. 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
3a3ad562ab Added generateFrameNames method and reduced in size.
Fixed Pad bug.
Fixed Animation framerate delta speed.
2017-04-05 04:18:08 +01:00
Richard Davey
2cfa57e35c Added offsetX/Y to AlignIn proxy. 2017-03-29 01:22:15 +01:00
Richard Davey
7d18c891eb Fixed bug where it would corrupt the value of a dot notation config didn't contain a property. 2017-03-28 23:55:51 +01:00
Richard Davey
6c4152c33d Added Array.Range - which allows for complex ranges of 2 arrays. 2017-03-28 23:38:14 +01:00
Richard Davey
304dfe3318 If source undefined return default 2017-03-28 14:57:34 +01:00
Richard Davey
92beff3555 Added Align Layer action. 2017-03-27 23:10:11 +01:00
Richard Davey
6d6af08cae Fixed all the bounds methods to use origin instead of anchor. 2017-03-27 23:09:54 +01:00
Richard Davey
91f3861ad7 Adding layer alignment. 2017-03-27 17:34:49 +01:00
Felipe Alfonso
9217012b79 state;s children depth sorting 2017-03-23 16:51:02 -03:00
Richard Davey
57a90997e7 Tidied up Class, fixed a few bounds checks and exposed the utils. 2017-02-28 01:10:45 +00:00
Richard Davey
717a232526 Phaser.Utils.Align functions. 2017-02-28 01:10:45 +00:00
Richard Davey
c312d0ef8b Phaser.Utils.Bounds functions. 2017-02-28 01:10:45 +00:00
Richard Davey
5e5a5ac776 Testing out new Bounds component and Class getter mods. 2017-02-27 09:49:04 +00:00
Richard Davey
63b2b55cf8 Brand new components and Class structure for Game Objects. Cleaner, leaner and more powerful than ever before. Whoop whoop! :) 2017-02-23 03:10:48 +00:00
Richard Davey
7999f72d81 Moved GetObjectValue into utils/object 2017-02-04 05:39:37 +00:00
photonstorm
f7aa82a2ff Added DOM entry point, and getFirst to Children. 2017-02-02 16:55:02 +00:00
Richard Davey
ce3bb7d1fa Implemented RTree spatial sort for the display list handling. Canvas Renderer updated to take advantage of it. Camera updated to extend BaseTransform + add extra properties. Array QuickSelect function added. Frame radius calculation added. 2017-01-26 04:06:10 +00:00
Richard Davey
9235d6fe58 Lots of Canvas Renderer fixes.
Merged CONST with Phaser export.
Fixed GetObjectValue check.
Added drawImage data to Frame.
2017-01-16 22:44:02 +00:00
photonstorm
f2ca83a143 Fixed export issues. 2016-12-20 16:34:47 +00:00
photonstorm
d557d13d25 Added in new Util functions, and fixed some left-over ES6 values. 2016-12-15 17:15:47 +00:00
photonstorm
7d022067df Added newer function from v3 merge. 2016-12-08 16:41:11 +00:00
photonstorm
7bf07c2151 Added in all of the Array Utils. 2016-12-07 13:34:21 +00:00
Richard Davey
1afa75d871 Updated Loader, added ArrayBuffer to Base64, added GetURL. You can now load a file on its own, without using a Loader instance at all. 2016-12-01 12:51:05 +00:00
photonstorm
3a963905b2 Handy new utility class, now used by Config and Settings. 2016-11-29 13:00:48 +00:00
photonstorm
bf6ccc3d8d Fixed export. 2016-11-29 10:46:24 +00:00
photonstorm
e83bd3d544 Added NOOP.
Added Config pre and post boot callbacks.
Added Image and start of the Game Factory rebuild.
2016-11-28 16:55:25 +00:00