Commit graph

303 commits

Author SHA1 Message Date
Felipe Alfonso
b0c578477d Light layer setup 2017-08-02 23:06:13 -04:00
Richard Davey
d3789a305e Revamped how blend modes are handled. Added ability to swap between blendFunc and blendFunSeparate. 2017-08-03 02:09:59 +01:00
Richard Davey
9eb723cfc2 Added PlaceOnEllipse action and added to Group 2017-08-02 01:24:54 +01:00
photonstorm
52bb355429 Removing old and incorrect jsdoc blocks ready for first documentation pass. 2017-08-01 13:10:08 +01:00
photonstorm
7cc5a61d50 Zone now uses x/y as center for drop zone shapes. 2017-07-28 02:22:41 +01:00
photonstorm
e20d4b1156 Now possible to clear interactive objects. 2017-07-28 01:17:18 +01:00
Felipe Alfonso
1c5da095f6 Fixed text rendering state leakage on webgl 2017-07-27 15:26:12 -04:00
photonstorm
98f75599a5 Added Drop Event and handler for it. 2017-07-27 18:24:04 +01:00
photonstorm
c152156da2 Zone now working again and useful for interactive hit areas not bound to Sprites or other GOs. 2017-07-27 17:40:15 +01:00
photonstorm
8e8d43dcf1 Added setName method. 2017-07-27 17:39:46 +01:00
photonstorm
b2713fa017 Added GameObject.willRender method. 2017-07-27 14:22:05 +01:00
Antriel
08c54df892 Unified usage of "framerate" into "frameRate". 2017-07-27 09:22:52 +02:00
Richard Davey
848ba127ab Exposed the alpha corner values and implemented into the Sprite Batch. 2017-07-25 22:28:02 +01:00
photonstorm
063a28cd33 Updated to new Bitmap Text object structure. 2017-07-24 14:09:44 +01:00
photonstorm
0ec5320e8d Removed align argument. 2017-07-24 14:08:13 +01:00
photonstorm
7a9f80e4df Bitmap Text renderer now uses tint component values. 2017-07-24 14:07:59 +01:00
photonstorm
fb713ab5ec Added tint component to Bitmap Text. 2017-07-24 14:07:38 +01:00
photonstorm
c3ba02aaaa Removing hitArea in place of input (InteractiveObject) 2017-07-18 13:54:43 +01:00
Richard Davey
9acbecee1a Removed dead code 2017-07-17 23:37:50 +01:00
photonstorm
d804e056ed Renaming from State to Scene internally.
This is one monster update.
2017-07-14 14:50:51 +01:00
photonstorm
dd3fa23bab Modified setHitArea to pass the GO via the State Input Manager. 2017-07-13 15:49:06 +01:00
Felipe Alfonso
d48237f0b3 Changed blitter batch to sprite batch on bitmap text 2017-07-13 00:09:12 -04:00
Richard Davey
ad540d95bc Added SetHitArea action 2017-07-13 02:35:29 +01:00
Richard Davey
2ba436ec7d Added setAngle method 2017-07-13 02:05:44 +01:00
Richard Davey
6efeb2c90f Added hitArea property and setHitArea method 2017-07-13 02:05:32 +01:00
Richard Davey
b53c3a265a Added ability to round Text bounds 2017-07-12 17:32:45 +01:00
Richard Davey
3206e1bf5e Optimized applyITRS for testing 2017-07-12 12:58:09 +01:00
Richard Davey
8d89c421b3 Group configs can now set the classType 2017-07-12 12:57:53 +01:00
Richard Davey
7ae478cf3b Groups can set grid alignment via the config 2017-07-12 12:28:21 +01:00
Richard Davey
656b7e33b2 Allowed Bitmap Text fonts to be trimmed within a texture atlas with or without padding 2017-07-12 03:40:27 +01:00
Richard Davey
26404bbc15 Working through adding trimmed frame support to Bitmap Text 2017-07-12 00:49:20 +01:00
photonstorm
dc5bcccdd5 Added purge method to clear out an ObjectPool and finished destroy method. 2017-07-11 16:48:32 +01:00
photonstorm
f34ff013fb Calling setTint with no arguments now clears the tint. 2017-07-11 09:38:19 +01:00
photonstorm
423326c71b Added empty update method so that default GameObjects can be added to Pools. 2017-07-07 18:26:03 +01:00
photonstorm
1b70df7368 Lots of Pool updates and extensions. The Pool will now update children automatically, making them far more useful. 2017-07-07 18:14:58 +01:00
photonstorm
1c4ad2400a Triggered z-depth sort on creation. 2017-07-07 18:12:57 +01:00
Felipe Alfonso
7eaa45673c Simple camera culling 2017-07-06 21:17:27 -04:00
Richard Davey
ff864409fc Added Active property and toggle method. 2017-07-07 01:56:02 +01:00
photonstorm
b494ace580 Added Pool Manager State plugin and start of ObjectPool class. 2017-07-05 17:17:56 +01:00
Richard Davey
158c171663 Small pool updates 2017-07-05 01:22:18 +01:00
Richard Davey
cbbe152382 Fixed issue with Tint array being copied to the prototype 2017-07-05 01:21:47 +01:00
Richard Davey
2909df4f01 Fixed System to render DisplayList and process Updatelist 2017-07-04 23:43:13 +01:00
photonstorm
031b8a29f4 The start of a Pool manager. 2017-07-04 16:44:29 +01:00
photonstorm
0d0c92a018 ESLint fix. 2017-07-04 16:44:21 +01:00
photonstorm
991ab2576d Broke the lists apart into DisplayList and UpdateList, as the vast majority of Game Objects don't ever need to have their preUpdate methods called as they are empty. 2017-07-04 16:44:16 +01:00
photonstorm
5cb2dbc3f8 ESLint fix 2017-07-04 16:10:51 +01:00
photonstorm
70c0d40915 Formatting tweaks. 2017-07-04 13:11:16 +01:00
photonstorm
c86c2bae81 ESLint fixes. 2017-07-04 12:36:27 +01:00
photonstorm
67b11f1e35 Added Tint support to Tile Sprites. 2017-07-04 12:36:19 +01:00
photonstorm
360a724253 Added Tint component to RenderPass. 2017-07-04 12:25:31 +01:00