Commit graph

7429 commits

Author SHA1 Message Date
Michael Hadley
a7df7c2df9 Tidying up linting, notes and comments 2017-11-29 11:46:19 -06:00
Michael Hadley
f4a6888d86 Tilemap: add method for converting layer from dynamic to static 2017-11-29 11:36:36 -06:00
Michael Hadley
0b4a08730c Adding debug rendering method to tilemap and layers 2017-11-29 09:05:53 -06:00
Michael Hadley
60f20aa05b setTileLocationCallback 2017-11-29 08:20:24 -06:00
Michael Hadley
da79734b22 SetTileIndexCallback 2017-11-29 07:53:04 -06:00
Michael Hadley
b4d89fb554 createFromObjects: return an array of sprites 2017-11-29 07:35:26 -06:00
Michael Hadley
a0b4362979 createFromObjects: allow sprite to have any origin while still matching Tiled 2017-11-29 07:25:04 -06:00
Michael Hadley
ee5190660c Tilemap: upgraded version of createFromObjects from v2 2017-11-28 22:40:48 -06:00
Michael Hadley
e5a8600686 BuildGameObject bug: origin was being set to position xy 2017-11-28 21:57:52 -06:00
Michael Hadley
68634a0deb Tilemap & layer methods: FilterTiles & CreateFromTiles 2017-11-28 20:49:24 -06:00
Richard Davey
3129950d34 Updated call 2017-11-29 02:25:14 +00:00
Felipe Alfonso
3b296162cf Camera input transform update 2017-11-28 19:18:05 -03:00
Pavle Goloskokovic
e9a71beba7 Merge remote-tracking branch 'origin/master' 2017-11-28 16:34:48 +01:00
Richard Davey
c58b295fcc Added positionToCamera method (but still needs fixing) 2017-11-28 11:16:35 +00:00
Richard Davey
e194b95654 PointerConstraint now takes the scene camera it should use as a config option. 2017-11-28 11:16:23 +00:00
Richard Davey
d9a9c7a5a1 esline tidy-up. 2017-11-28 11:15:45 +00:00
Richard Davey
4969bf37e6 The local input manager has a reference to the active pointer. 2017-11-28 11:15:35 +00:00
Richard Davey
f9cda636c5 Added Camera.screenToCamera and setAngle methods. 2017-11-28 11:15:22 +00:00
Pavle Goloskokovic
6f7f5f6144 Merge remote-tracking branch 'origin/master' 2017-11-27 18:13:26 +01:00
Richard Davey
43dbe52e15 Beta 12 2017-11-27 17:02:19 +00:00
Richard Davey
1380af61a1 Added render visible flag. 2017-11-27 17:01:27 +00:00
Pavle Goloskokovic
35e25ab633 Merge remote-tracking branch 'origin/master' 2017-11-27 17:38:51 +01:00
Pavle Goloskokovic
65c30b9f7a Removed detune property as it is now defined in BaseSoundManager class 2017-11-27 17:38:43 +01:00
Pavle Goloskokovic
e4cebbf29c Removed rate property as it is now defined in BaseSoundManager class 2017-11-27 17:38:28 +01:00
Pavle Goloskokovic
3c2670a2f9 Removed _detune field as it is now set in BaseSoundManager class 2017-11-27 17:37:41 +01:00
Pavle Goloskokovic
c84a00e248 Removed _rate field as it is now set in BaseSoundManager class 2017-11-27 17:37:11 +01:00
Pavle Goloskokovic
28ae0811e6 Defining detune property in BaseSound class so it can be used in both Web Audio and HTML5 Audio implementations 2017-11-27 17:35:35 +01:00
Pavle Goloskokovic
1c1e75ac85 Defining rate property in BaseSound class so it can be used in both Web Audio and HTML5 Audio implementations 2017-11-27 17:35:09 +01:00
Pavle Goloskokovic
27ad50d276 Setting _detune field in BaseSound class so it can be used in both Web Audio and HTML5 Audio implementations 2017-11-27 17:34:27 +01:00
Pavle Goloskokovic
92ac9d41c5 Setting _rate field in BaseSound class so it can be used in both Web Audio and HTML5 Audio implementations 2017-11-27 17:33:37 +01:00
Pavle Goloskokovic
cf46145d7c Calling super method in setRate method of WebAudioSound class, setting returned value to source playback rate audio param and returning the same value to match method signature 2017-11-27 17:32:16 +01:00
Pavle Goloskokovic
f389176362 Added setRate method to BaseSound class that contains logic for applying rate and detune settings to sound so it can be reused in both Web Audio and HTML5 Audio implementations 2017-11-27 17:30:55 +01:00
Richard Davey
6da5409688 Added in all of the Composites helpers. 2017-11-27 16:29:43 +00:00
Richard Davey
f24b808ee5 Added setGravity defaults and fixed nextGroup method. 2017-11-27 16:29:33 +00:00
Pavle Goloskokovic
c253e01cac Merge remote-tracking branch 'origin/master' 2017-11-27 17:22:32 +01:00
Pavle Goloskokovic
881474b7cd Added a TODO to take into account playback rate when pausing and resuming sound 2017-11-27 16:50:45 +01:00
Pavle Goloskokovic
ffc205b400 Calling setRate method on all sound objects when updating global detune value 2017-11-27 16:50:05 +01:00
Pavle Goloskokovic
c57f692c85 Calling setRate method on all sound objects when updating global rate value 2017-11-27 16:49:28 +01:00
Pavle Goloskokovic
9fffd57ad3 Moved sound source not null check from properties' setter methods to setRate method 2017-11-27 16:48:20 +01:00
Pavle Goloskokovic
db06b3d742 Calling setRate in WebAudioSound detune property's setter method 2017-11-27 16:46:42 +01:00
Pavle Goloskokovic
074c60c270 Calling setRate in WebAudioSound rate property's setter method 2017-11-27 16:45:58 +01:00
Pavle Goloskokovic
1fddd3de2a Added setRate method to WebAudioSound class that calculates and sets playback rate based on sound's and manager's detune and rate values 2017-11-27 16:44:23 +01:00
Richard Davey
ac9f5c4360 Added quick support for setCircle, setRectangle, setPolygon and setTrapezoid. 2017-11-27 14:48:09 +00:00
Richard Davey
036e7aecc9 If property is undefined fall back to the default value. 2017-11-27 14:48:09 +00:00
Michael Hadley
bd8a2fa39b More tilemap jsdocs 2017-11-27 07:33:30 -06:00
Michael Hadley
e45bc5c71d PutTileAt: copy all tile properties from source tile 2017-11-27 07:19:20 -06:00
Richard Davey
da5bb7d199 Merge branch 'master' of https://github.com/photonstorm/phaser 2017-11-27 03:46:10 +00:00
Richard Davey
15a2280813 Added basic Graphics debug, fromPath, isPaused and postUpdate. 2017-11-27 03:45:46 +00:00
Richard Davey
af9f7380e8 Added property 2017-11-27 03:45:12 +00:00
Richard Davey
f8fe81dfa1 New setBody component for setting and change body shape 2017-11-27 03:45:03 +00:00