Richard Davey
4c4421c47f
Docjam merge
2018-10-19 12:32:43 +01:00
Richard Davey
557955e057
Merging Scale Manager and Spine Plugin back into master
2018-10-18 14:59:27 +01:00
Richard Davey
ae9c3b6f56
Tidying up for 3.15 release
2018-10-16 15:10:49 +01:00
Richard Davey
4b1c762296
Updated @memberOf to @memberof
2018-10-10 10:49:13 +01:00
Richard Davey
953422a059
Exposed Scale Manager via global reference
2018-10-09 18:14:09 +01:00
Richard Davey
a9063604dc
Replace @readOnly with @readonly
2018-10-09 13:40:00 +01:00
Richard Davey
2a1ea30cb7
Typos
2018-10-03 22:07:41 +01:00
Richard Davey
41956c4625
Added FB plugin conditional
2018-09-20 14:14:29 +01:00
Richard Davey
24e09d7a31
Completed more jsdocs
2018-09-14 18:17:14 +01:00
Richard Davey
0d497fd2be
Fixed Scene restart shutdown flow
2018-09-14 18:05:14 +01:00
Richard Davey
935288518d
Added isPaused
method
2018-09-14 18:04:47 +01:00
Richard Davey
aeda1c042b
If a Scene is already active (i.e. running) and you call start
on it (such as from another Scene) then it will shutdown the Scene first, before starting it again.
2018-09-13 16:32:02 +01:00
Richard Davey
5fe6dbbe0c
Added more jsdocs
2018-09-13 08:09:44 +01:00
Richard Davey
ef558fea3c
Type definition fixes
2018-09-07 17:19:19 +01:00
Richard Davey
7765496b19
Moved FB plugin behind build flag
2018-08-23 18:10:20 +01:00
Richard Davey
b25ff9e065
Moved Camera3D to optional plugin
...
Also included build flag to allow it to be compiled into the standard lib if required (saves a bunch of KB in duplicated classes)
2018-08-23 15:30:21 +01:00
Richard Davey
beb286297c
Camera3D Plugin moved out of the main src folder to optional plugin
2018-08-23 13:18:25 +01:00
Richard Davey
d0f3d85cbd
Iterate from front to back for destroy
2018-07-31 11:33:38 +01:00
Richard Davey
c65e3c7428
Added FB Instant Games Plugin to core (will prepare for moving to unique build once feature complete)
2018-07-27 08:33:51 +01:00
Richard Davey
4bdecf488b
jsdocs tweaks
2018-07-26 23:41:52 +01:00
Richard Davey
f2290abf9b
Added new customViewports counter
2018-07-26 23:05:08 +01:00
Richard Davey
9c9e9cecbb
Updated log and lint fixes
2018-07-10 16:49:53 +01:00
Richard Davey
cd508ab3f1
The ScenePlugin
will now queue all of the following ops with the Scene Manager: start
, run
, pause
, resume
, sleep
, wake
, switch
and stop
. This means for all of these calls the Scene Manager will add the call into its queue and process it at the start of the next frame.
2018-07-09 14:08:55 +01:00
Richard Davey
7aa46657c2
Tidying up jsdocs and changing float to number
2018-06-26 23:19:14 +01:00
Richard Davey
f1190529d2
ScenePlugin.start
and ScenePlugin.restart
will now always queue the op with the Scene Manager, regardless of the state of the Scene, in order to avoid issues where plugins carry on running for a frame before closing down. Fix #3776
2018-06-26 16:35:45 +01:00
Richard Davey
b95f980023
Added in data object passing to all relevant methods #3748
2018-06-26 16:08:14 +01:00
Richard Davey
1d4a15f297
Merge pull request #3748 from rook2pawn/wake-resume-data-from-run
...
[feat] scene.run can now pass data to .wake and .resume if it needs
2018-06-26 15:28:50 +01:00
rook2pawn
b040146b4a
simplified logic on queueOp starting an unready scene
2018-06-22 03:55:21 -07:00
rook2pawn
dd53268a23
removed superfluous queue stop
2018-06-22 03:37:14 -07:00
rook2pawn
c09b4baf16
[fix] sceneManager run will queueOp if scene not ready
...
fixed linting
2018-06-22 03:37:14 -07:00
rook2pawn
44a0813591
[feat] scene.run can now pass data to .wake and .resume if it needs to invoke those methods
...
update javadoc for scene and scene systems
2018-06-22 03:32:17 -07:00
Richard Davey
19eb363a84
Only set Scene status to running if still in creating
2018-06-13 17:27:30 +01:00
Richard Davey
579f5bf4a1
Added the new sceneUpdate reference property.
2018-06-12 16:21:37 +01:00
Richard Davey
eb8d3ccdf1
No longer injects update
into a Scene, and now calls step
from init onwards.
2018-06-12 16:21:17 +01:00
Richard Davey
bf46135d84
Allow for Scene level input settings
2018-06-08 15:16:09 +01:00
Richard Davey
43fd10bbc1
ScenePlugin.run
is a new method that will run the given Scene and not change the state of the current Scene at all. If the scene is asleep, it will be woken. If it's paused, it will be resumed. If not running at all, it will be started.
2018-06-08 15:07:00 +01:00
Richard Davey
6906e6bd15
Hundreds more jsdocs completed.
2018-06-04 15:19:25 +01:00
Richard Davey
0b1d32b571
New registerFileType argument, new Global Plugin mapping and createEntry method
...
* PluginManager.registerFileType has a new property `addToScene` which allows you to inject the new file type into the LoaderPlugin of the given Scene. You could use this to add the file type into the Scene in which it was loaded.
* PluginManager.install has a new property `mapping`. This allows you to give a Global Plugin a property key, so that it is automatically injected into any Scenes as a Scene level instance. This allows you to have a single global plugin running in the PluginManager, that is injected into every Scene automatically.
* PluginManager.createEntry is a new private method to create a plugin entry and return it. This avoids code duplication in several other methods, which now use this instead.
2018-05-18 18:43:27 +01:00
Michael B
e322ed7916
jsdoc fixes
2018-05-18 02:56:32 +02:00
Richard Davey
350cb037b7
All systems now register themselves with the new PluginCache
2018-05-15 12:51:50 +01:00
Richard Davey
4959ed70ef
Now gets the list from the PluginManager
2018-05-11 16:00:46 +01:00
Richard Davey
e431cc33f9
Moved plugins file to DefaultPlugins and changed the namespace
2018-05-11 14:06:13 +01:00
Richard Davey
f6d8606daa
Fixed type
2018-05-10 22:01:40 +01:00
Richard Davey
be330e609e
Moved PluginManager to new location
2018-05-10 17:14:33 +01:00
Richard Davey
b1d41e506f
Typo fix
2018-05-09 12:11:29 +01:00
Richard Davey
0415dfbb7e
lint fixes
2018-05-04 15:16:20 +01:00
Richard Davey
ebf77e2bbc
The Scene Settings payload property has changed from files
to pack
and now follows the Pack File format.
2018-05-04 14:33:28 +01:00
Richard Davey
a14ce15685
Fixed setActive and setVisible
2018-05-01 12:35:56 +01:00
Richard Davey
e1532b3154
The Scene Systems will emit a ready
event when it has fully finished starting up and all plugins are available. Fix #3636
2018-05-01 12:22:18 +01:00
Richard Davey
425acd3f63
Fixed moveAbove and moveBelow
2018-05-01 01:23:34 +01:00