Richard Davey
|
3b268569f1
|
More comments work.
|
2017-09-13 02:02:49 +01:00 |
|
Richard Davey
|
84c0f5006a
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2017-09-13 00:58:41 +01:00 |
|
Richard Davey
|
6f3ec9fb9e
|
All Game Objects now use GameObject.RENDER_MASK to compare against instead of a local property.
|
2017-09-13 00:58:25 +01:00 |
|
Richard Davey
|
ebce6346ab
|
Lets get this comments show on the road
|
2017-09-12 17:08:43 +01:00 |
|
Igor Petushkov
|
b035fd6266
|
restart and _paused
|
2017-09-12 17:58:08 +03:00 |
|
Richard Davey
|
f8eecb31a9
|
Testing jsdocs
|
2017-09-12 00:28:53 +01:00 |
|
Richard Davey
|
e3334e5904
|
Moved LightLayer shaders into single files to avoid ES6 uglify errors with backtick operators.
|
2017-09-08 17:16:54 +01:00 |
|
Richard Davey
|
d8e08406ea
|
GameObjects now have a data property again, which is a light-weight DataProxy object which interfaces with the DataStore.
|
2017-09-08 01:59:53 +01:00 |
|
Richard Davey
|
038f4fd0cb
|
Removed parent property as no longer needed and fixed GameObject.destroy
|
2017-09-01 19:47:26 +01:00 |
|
Richard Davey
|
8bd0affba7
|
Fixed setFlipY.
|
2017-08-31 16:14:58 +01:00 |
|
Richard Davey
|
a4b357050d
|
You can pass in the config object as the children argument to a Group
|
2017-08-30 23:56:18 +01:00 |
|
Felipe Alfonso
|
de35793fda
|
Dynamic Tilemap Canvas Renderer
|
2017-08-24 23:46:33 -03:00 |
|
Felipe Alfonso
|
25630f2af5
|
Static Tilemap Culling added
|
2017-08-23 19:27:51 -03:00 |
|
Felipe Alfonso
|
7e957d5cb6
|
bruteforce tilemap canvas rendering
|
2017-08-22 20:26:17 -03:00 |
|
Felipe Alfonso
|
5d52bd956b
|
Fix for StaticTilemap after defining vertex attributes
|
2017-08-18 13:17:48 -03:00 |
|
Richard Davey
|
665b295c3b
|
Restructured the Scene folder and moved the plugins and components around
Also updated the physicsManager to make it a lot more cleaner and easy to adjust in future
|
2017-08-18 01:42:14 +01:00 |
|
Richard Davey
|
b336e03c77
|
Restored original Origin class
|
2017-08-17 06:26:25 +01:00 |
|
Richard Davey
|
37bc0dbdcd
|
Moved scale to BodyScale and fixed GO position
|
2017-08-17 06:00:38 +01:00 |
|
Richard Davey
|
ad5fc69aab
|
Tidied up generateTexture and added default origins
|
2017-08-17 03:15:15 +01:00 |
|
Richard Davey
|
dac6228672
|
TileSprite now uses GetPowerOfTwo function to save some lines of code
|
2017-08-17 02:05:41 +01:00 |
|
Richard Davey
|
b0a1b54407
|
setOrigin needs to be called after setSize
|
2017-08-17 02:01:24 +01:00 |
|
Richard Davey
|
ca4536a7ca
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2017-08-17 01:56:46 +01:00 |
|
Richard Davey
|
64dafcca35
|
Fixed width and height properties for Dynamic Bitmap Text
|
2017-08-17 01:56:43 +01:00 |
|
Felipe Alfonso
|
b6ed58b93f
|
Fix for tile sprite
|
2017-08-16 21:54:52 -03:00 |
|
Richard Davey
|
1fe9a658e7
|
Fixed bug that stopped it rendering. Also added in new color data component.
|
2017-08-17 01:20:15 +01:00 |
|
Richard Davey
|
61c12e7e0f
|
Added setDisplaySize method
|
2017-08-16 19:03:58 +01:00 |
|
photonstorm
|
dbc1298752
|
Moved access of game property to sys.game to keep it inline with the Injection Map.
|
2017-08-16 17:15:12 +01:00 |
|
Richard Davey
|
fe2f82c229
|
Updated Camera.Ignore so it works with the canvas renderer as well
|
2017-08-15 23:51:37 +01:00 |
|
Richard Davey
|
36cde5c6a2
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2017-08-15 23:39:28 +01:00 |
|
Richard Davey
|
562eb4ab1a
|
All GameObjects now have a physics body property (which is null by default)
|
2017-08-15 23:35:16 +01:00 |
|
Felipe Alfonso
|
9856200fdf
|
Added camera gameobject filtering
|
2017-08-15 16:42:04 -03:00 |
|
Felipe Alfonso
|
8fd14688b6
|
Fix when rendering more than the buffer limit
|
2017-08-14 23:36:41 -03:00 |
|
Felipe Alfonso
|
a536403cc7
|
Conflict fix
|
2017-08-14 23:04:02 -03:00 |
|
Felipe Alfonso
|
5f5ccd04b6
|
Lights work with camera zoom and also added support for light radius
|
2017-08-14 22:51:43 -03:00 |
|
photonstorm
|
7fe23d93be
|
Split Forward and Deferred max counts up.
|
2017-08-14 15:57:49 +01:00 |
|
photonstorm
|
f23c68caa6
|
Blitter.create only uses default frame if none provided.
|
2017-08-14 13:13:27 +01:00 |
|
photonstorm
|
e5b1b939f5
|
Bob.destroy will now remove itself from its parent as it should.
|
2017-08-14 13:13:11 +01:00 |
|
photonstorm
|
6ac3806091
|
Default to single space if no text given to avoid WebGL texture errors.
|
2017-08-14 13:12:59 +01:00 |
|
photonstorm
|
8e19673f08
|
Added in setFrame method to all texture based Game Objects.
|
2017-08-14 13:12:45 +01:00 |
|
photonstorm
|
5fe09c90a0
|
Shadow fill default should be true.
|
2017-08-11 16:59:29 +01:00 |
|
Richard Davey
|
427d001c42
|
Added toggleFlipX and toggleFlipY methods
|
2017-08-11 04:06:37 +01:00 |
|
Richard Davey
|
0d3b8df879
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2017-08-10 05:17:58 +01:00 |
|
Richard Davey
|
640dc69dd2
|
play returns the Sprite reference for proper chaining
|
2017-08-10 05:17:26 +01:00 |
|
Felipe Alfonso
|
0943f5bf8f
|
fixed issue with light layer and other rendering elements. Also added depth sorting property to light layer
|
2017-08-07 18:16:05 -04:00 |
|
photonstorm
|
b21baeb0b4
|
JSHint fix + added url.
|
2017-08-07 17:14:39 +01:00 |
|
photonstorm
|
e19e9758f5
|
Fixed issue with UpdateList trying to destroy items it manages.
|
2017-08-07 17:14:13 +01:00 |
|
Felipe Alfonso
|
121b5c62f3
|
Light Scroll Factor
|
2017-08-04 16:09:25 -04:00 |
|
Felipe Alfonso
|
71e1206f89
|
Light Layer working on screen space
|
2017-08-03 19:55:20 -04:00 |
|
Felipe Alfonso
|
2a3f966cb5
|
Light Layer update work in progress
|
2017-08-03 16:02:57 -04:00 |
|
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 |
|
photonstorm
|
2aae473658
|
Removed redundant Color component and added in new Tint component. Exposed via WebGL Renderer for Images, Sprites and Text.
|
2017-07-04 12:01:27 +01:00 |
|