Commit graph

47 commits

Author SHA1 Message Date
Richard Davey
7d5608740a Global 'remove' call which is passed on to the world 2017-12-02 04:05:39 +00:00
Pavle Goloskokovic
1e10ab2f1f Added case for loading audioSprite files with generic file loader method 2017-11-30 18:18:13 +01:00
Pavle Goloskokovic
c1010bd446 Added support for passing in json object instead of url to json file directly to audioSprite loader method 2017-11-30 18:15:51 +01:00
Pavle Goloskokovic
6145ff5869 Loading audioSprite only if audio is enabled and AudioFile instance is returned from AudioFile.create method 2017-11-30 18:12:08 +01:00
Pavle Goloskokovic
449ca11ffd Linking audio and json files when loading audioSprite and setting their linkType to audioSprite 2017-11-30 18:07:27 +01:00
Pavle Goloskokovic
8dc987b7fc Creating AudioFile in audio loader method and adding it if it's not null
Returning loader reference for call chaining
2017-11-30 18:03:16 +01:00
Pavle Goloskokovic
dc8ef8a148 Added audioSprite multifile loader 2017-11-30 17:59:08 +01:00
Richard Davey
309cf610bb Physics Manager now calls shutdown and destroy.
Matter World properly clears out the world and its Engine on shutdown. Also fixed incorrect localWorld.remove calls (fix #3110)
2017-11-29 23:36:35 +00:00
Richard Davey
213b7b4a86 Refactoring matter.js include 2017-11-21 02:04:05 +00:00
Richard Davey
56249c8272
Merge pull request #3091 from Twilrom/bugfixes
Bugfixes
2017-11-17 15:23:27 +00:00
Richard Davey
ea989edca1 GameObjectCreator is now bootable and maintains its own display and update list references. 2017-11-17 13:30:53 +00:00
Twilrom
c304957714 Bugfix in DataStore 2017-11-16 13:17:06 +01:00
Richard Davey
97efeff751 Removed the Pool classes and Manager as Group can now take on this role 2017-11-14 16:06:56 +00:00
Richard Davey
b869618fb3 UpdateList returns the child added and checks before insertion 2017-11-13 23:31:13 +00:00
Michael Hadley
747018b5d3 Adding loader and file types for CSV and JSON tilemaps 2017-11-08 16:17:52 -06:00
Michael Hadley
2c75c0da4d Adding postUpdate NOOP to PhysicsManager to prevent crashing on postUpdate 2017-11-08 13:17:53 -06:00
Richard Davey
9117b909a8 Ported over Arcade Physics into V3 and started working through the classes and functions. 2017-11-08 17:18:41 +00:00
Richard Davey
6604ce8281 Added Physics PostUpdate for AP 2017-11-08 17:18:10 +00:00
Pavle Goloskokovic
4d976e59d1 added Loader method for loading audio files
added AudioFile class
2017-11-08 13:57:07 +01:00
Richard Davey
f0dbe98ff8 Index comparison check. 2017-11-03 18:48:23 +00:00
Richard Davey
61c8f63168 Tidying up comments 2017-10-17 21:31:45 +01:00
Richard Davey
c6d8423338 Renaming folder to match namespace. 2017-10-12 15:14:34 +01:00
Richard Davey
8cf60b4c3e Tidying-up the namespace. 2017-10-11 17:06:13 +01:00
Richard Davey
1f967ae72b More JSDocs added. 2017-10-06 06:16:31 +01:00
Richard Davey
386e5f6ae2 Removed SetupCallbacks and merged with CreateSceneFromObject as its the only method to use it.
Updated CreateSceneFromObject to make it smaller and also now will copy across extra properties and functions defined in the 'extend' block.
2017-09-29 11:39:31 +01:00
Richard Davey
1b85e91785 Removed PathManager 2017-09-27 02:32:05 +01:00
Richard Davey
b141ac468e Working through the Path Manager 2017-09-26 02:17:31 +01:00
Richard Davey
5e583ccce4 Moved Scene Camera Manager to the cameras folder, split it all up and tidied everything up 2017-09-18 00:21:41 +01:00
Richard Davey
fb81fa514b Renamed z property to depth to allow for future 3D cameras 2017-09-14 03:12:00 +01:00
Richard Davey
b4edeaec10 Updated GameObjectCreator to use same system as GameObjectFactory. 2017-09-14 02:27:29 +01:00
Richard Davey
651a6b3fac Game Objects module includes factories now 2017-09-14 01:53:47 +01:00
Richard Davey
229af2dffd Added loadArray back in (used by the Scene Manager after all) 2017-09-14 01:53:33 +01:00
Richard Davey
1340e6930f Refactored the GameObjectFactory so it's now populated by the GameObjects directly, avoids globbing all GOs into it 2017-09-14 01:32:10 +01:00
Richard Davey
2c9a53d3d4 WebGL specific GameObjects are now only included if the WEBGL build flag is set. 2017-09-13 16:06:05 +01:00
Richard Davey
01df434a72 Moving from using the name 'components' to 'inc' where it's a case of the method being spllit into its own file to keep things clean, rather than an actual component. 2017-09-13 14:17:38 +01:00
Richard Davey
abaa8d6509 Fixed DataStore 2017-09-08 02:41:00 +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
photonstorm
5725e43131 Tidying up the Tween Manager, ready for Timelines. 2017-08-31 15:11:04 +01:00
Richard Davey
d993056c5d Fixed isActive bug 2017-08-18 02:59:32 +01: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
1e6659b2ef Added physics to the injection map 2017-08-15 23:37:00 +01:00
Richard Davey
dd68b6a79b Added PhysicsManager and tidied things up 2017-08-15 23:36:46 +01:00
photonstorm
e96fe93b12 Fix #3039 2017-08-07 15:44:58 +01:00
photonstorm
52bb355429 Removing old and incorrect jsdoc blocks ready for first documentation pass. 2017-08-01 13:10:08 +01:00
photonstorm
f556e8bb6b Systems.depthSort renamed to queueDepthSort as that is what it does. depthSort now does an immediate sort (if the flag is set). 2017-07-20 12:48:35 +01:00
photonstorm
d804e056ed Renaming from State to Scene internally.
This is one monster update.
2017-07-14 14:50:51 +01:00