Commit graph

9503 commits

Author SHA1 Message Date
Felipe Alfonso
79615df000 BaseRenderer as a base definition for all 2D WebGL renderers and batches 2018-01-08 22:34:45 -03:00
Richard Davey
1f0db02095 Working on new plugin system
So scenes can manage their own unique list of plugins and devs can easily add their own.
2018-01-09 01:30:10 +00:00
Richard Davey
f7a1c6fec7 You can now pass an existing Game Object to Impact Physics and have it add a body to it. 2018-01-08 22:16:14 +00:00
Richard Davey
86f112aef9 You can now pass an existing Game Object to Arcade Physics and have it add a body to it. 2018-01-08 22:11:19 +00:00
Pavle Goloskokovic
e9040240f8 Added audio property docs 2018-01-08 19:54:40 +01:00
Pavle Goloskokovic
b0d0da6ecc Initializing audio property 2018-01-08 19:54:15 +01:00
Pavle Goloskokovic
2cdd6e1cfd Adding HTML5AudioSound class to index.js 2018-01-08 19:47:59 +01:00
Pavle Goloskokovic
6909cbba49 Adding HTML5AudioSound class that represents HTML5 Audio implementation of BaseSound 2018-01-08 19:47:13 +01:00
Pavle Goloskokovic
8c41240cde Added volume property docs 2018-01-08 19:35:29 +01:00
Pavle Goloskokovic
4fb2959361 Added mute property docs 2018-01-08 19:35:13 +01:00
Pavle Goloskokovic
569b395044 Added _volume property docs 2018-01-08 19:34:55 +01:00
Pavle Goloskokovic
1223bba62f Added _mute property docs 2018-01-08 19:34:41 +01:00
Pavle Goloskokovic
dbb4b18e22 Added onBlurPausedSounds property docs 2018-01-08 19:34:23 +01:00
Pavle Goloskokovic
5580ac9239 Implemented volume property setter for HTML5AudioSoundManager class 2018-01-08 19:33:43 +01:00
Pavle Goloskokovic
dd410e2e86 Implemented volume property getter for HTML5AudioSoundManager class 2018-01-08 19:33:23 +01:00
Pavle Goloskokovic
1521a8addc Defining volume property for HTML5AudioSoundManager class 2018-01-08 19:33:10 +01:00
Pavle Goloskokovic
1468febf74 Initializing _volume property used for storing global volume setting 2018-01-08 19:32:41 +01:00
Pavle Goloskokovic
fca5dcd1ab Implemented mute property setter for HTML5AudioSoundManager class 2018-01-08 19:32:20 +01:00
Pavle Goloskokovic
8c5610416a Implemented mute property getter for HTML5AudioSoundManager class 2018-01-08 19:32:09 +01:00
Pavle Goloskokovic
86cccd53ee Defining mute property for HTML5AudioSoundManager class 2018-01-08 19:31:26 +01:00
Pavle Goloskokovic
d3caa815d1 Initializing _mute property used for storing global mute setting 2018-01-08 19:30:42 +01:00
Pavle Goloskokovic
5fcdca241b Implemented destroy method for HTML5AudioSoundManager class 2018-01-08 19:29:16 +01:00
Pavle Goloskokovic
4d768c1c6a Implemented onFocus method for HTML5AudioSoundManager class 2018-01-08 19:29:01 +01:00
Pavle Goloskokovic
06bc5d62fc Implemented onBlur method for HTML5AudioSoundManager class 2018-01-08 19:28:21 +01:00
Pavle Goloskokovic
8dc544667e Initializing onBlurPausedSounds array used for keeping track of sounds paused when game looses focus 2018-01-08 19:27:44 +01:00
Pavle Goloskokovic
197e370c7b Implemented add method for HTML5AudioSoundManager class 2018-01-08 19:26:32 +01:00
Pavle Goloskokovic
df450a4e17 Adding HTML5AudioSoundManager class to index.js 2018-01-08 19:25:26 +01:00
Pavle Goloskokovic
171dac468a Adding HTML5AudioSoundManager class that represents HTML5 Audio implementation of BaseSoundManager 2018-01-08 19:25:11 +01:00
Pavle Goloskokovic
526f6ae58c Releasing references to rate updates objects before releasing reference to rateUpdates array 2018-01-08 19:23:11 +01:00
Pavle Goloskokovic
49e6b5129d No need for context reference, it is taken care of by forEachActiveSound method 2018-01-08 19:22:34 +01:00
Pavle Goloskokovic
a3d50f936d Releasing references to sounds before releasing reference to sound array 2018-01-08 19:21:55 +01:00
Pavle Goloskokovic
9a40226452 Printing audio implementation type in debug header 2018-01-08 18:07:17 +01:00
Pavle Goloskokovic
8972401e5d Resolved a TODO 2018-01-08 18:06:36 +01:00
Pavle Goloskokovic
0cd1ec6819 Saving audio config value passed to game constructor 2018-01-08 17:39:46 +01:00
Pavle Goloskokovic
9035c5e14e Preventing finishedLoading from being called multiple times 2018-01-08 17:38:56 +01:00
Pavle Goloskokovic
ed86d8a58d Resolved a TODO 2018-01-08 17:34:35 +01:00
Pavle Goloskokovic
aa1d071c34 Resolved a TODO 2018-01-08 17:34:26 +01:00
Pavle Goloskokovic
fb9807ec4d Returning HTML5AudioFile when certain conditions are met 2018-01-08 17:33:54 +01:00
Pavle Goloskokovic
51c8312b95 Added a TODO to handle iOS unlocking 2018-01-08 17:32:21 +01:00
Pavle Goloskokovic
2c8097f130 Clearing all events listeners if error occurs 2018-01-08 17:31:53 +01:00
Pavle Goloskokovic
95a348d634 Splitting audio objects initialization and loading to make sure all event listeners are set before any file starts loading 2018-01-08 17:30:49 +01:00
Pavle Goloskokovic
6025688833 Setting event listeners directly as properties values to resolve scope issues 2018-01-08 17:29:14 +01:00
Pavle Goloskokovic
63e3159661 Incrementing filesLoaded before comparison 2018-01-08 17:27:03 +01:00
Pavle Goloskokovic
2c89e628c8 Added properties for keeping track of the loading progress 2018-01-08 17:25:42 +01:00
Pavle Goloskokovic
881d37080b Adding and removing listeners for relevant events 2018-01-08 17:23:50 +01:00
Pavle Goloskokovic
2d7e8c3403 Added onLoad and onError methods to HTML5AudioFile class 2018-01-08 17:17:46 +01:00
Pavle Goloskokovic
96cc433745 Added load method to HTML5AudioFile class 2018-01-08 17:16:15 +01:00
Pavle Goloskokovic
a58b4020b5 Added HTML5AudioFile class for loading audio with html5 audio tag 2018-01-08 17:11:15 +01:00
Pavle Goloskokovic
e421d50996 Merge remote-tracking branch 'origin/master' 2018-01-08 14:04:29 +01:00
Pavle Goloskokovic
b806d66e0d Dispatching seek event after the source has been updated 2018-01-08 14:04:21 +01:00