Commit graph

9876 commits

Author SHA1 Message Date
Richard Davey
e8d50a9796 Explained changes to cameras 2018-04-15 13:00:43 +01:00
Richard Davey
ce7d67297f Moving from 3.4.1 to 3.5.0 so we can release new camera fx and scene transitions 2018-04-15 12:44:47 +01:00
Richard Davey
02be81cc48 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-15 05:05:09 +01:00
Richard Davey
e37b183038 Completed all jsdocs for the Camera class 2018-04-15 05:05:03 +01:00
Richard Davey
ae603240e1 Camera.cullHitTest has been removed. It was never used internally and duplicates the code in Camera.cull. 2018-04-15 04:01:39 +01:00
Richard Davey
84a7b260b3 New flash effect added 2018-04-15 04:00:21 +01:00
Richard Davey
f8d5a7de75 Added more docs and changed default time to 250ms 2018-04-15 03:59:58 +01:00
Pavle Goloskokovic
8b2473104e Fixes #3309 2018-04-14 19:04:50 +02:00
Pavle Goloskokovic
d87daba379 Merge remote-tracking branch 'origin/master' 2018-04-14 18:56:45 +02:00
Pavle Goloskokovic
ee5c56cdc3 Instantiating lockedActionsQueue only when used 2018-04-14 18:56:36 +02:00
Pavle Goloskokovic
44a377f83c Using tag data for checking if the sound is locked instead of global flag 2018-04-14 18:55:52 +02:00
Pavle Goloskokovic
e86e09a6b3 In an edge case if a marker has duration set to 0 (weird :P) we don't want to update sound duration 2018-04-14 18:55:02 +02:00
Pavle Goloskokovic
920e083a8a Updating sound duration only if it is not set yet (equal to 0) 2018-04-14 18:54:01 +02:00
Pavle Goloskokovic
d664a7d4a6 Marking all locked audio tags as unlocked after loading finishes 2018-04-14 18:52:43 +02:00
Pavle Goloskokovic
5efa219adc Removed redundant condition 2018-04-14 18:51:21 +02:00
Pavle Goloskokovic
2167654009 Skipping unlocking logic if there are no locked tags 2018-04-14 18:50:28 +02:00
Pavle Goloskokovic
fa07dc76e9 Removed unused argument from the docs 2018-04-14 18:49:14 +02:00
Pavle Goloskokovic
f8ebcf0588 Removed unnecessary argument 2018-04-14 18:48:22 +02:00
Pavle Goloskokovic
9125f559c2 Collecting only locked audio tags for unlocking 2018-04-14 18:47:39 +02:00
Pavle Goloskokovic
b4aaf81db7 Storing data on each audio tag if it is locked (ont yet loaded) 2018-04-14 18:46:09 +02:00
Pavle Goloskokovic
1c294d5921 Calculating locally if audio is locked instead of getting that data passed as a constructor argument 2018-04-14 18:44:47 +02:00
Richard Davey
595e43aa8b Added new Camera effects system 2018-04-14 17:39:43 +01:00
Richard Davey
205502a747 Prevent double-destroy from happening. Fix #3569 (however, Game.destroy now fails elsewhere) 2018-04-14 17:39:24 +01:00
Richard Davey
380d4afb92 Swapping to new camera effects system 2018-04-14 17:38:48 +01:00
Richard Davey
855f38c649 typo 2018-04-14 17:38:20 +01:00
Pavle Goloskokovic
43e3dc424e Renamed allTags to lockedTags 2018-04-14 18:00:23 +02:00
Pavle Goloskokovic
04c842f749 Checking if audio is locked each time unlock method is called and skipping it in case it is not 2018-04-14 17:51:31 +02:00
Pavle Goloskokovic
c2d661f600 Unlocking Web Audio sound manager immediately in its constructor 2018-04-14 17:48:55 +02:00
Pavle Goloskokovic
403f5b3e33 Not unlocking sound manager by default in base class 2018-04-14 17:48:16 +02:00
Pavle Goloskokovic
433247f515 Unlocking sound manager after preloading any scene when using HTML5 audio 2018-04-14 17:47:29 +02:00
Richard Davey
1a51e859dd New Camera Shake effect class 2018-04-14 12:35:39 +01:00
Richard Davey
a56465fdad jsdoc tweak 2018-04-14 12:35:28 +01:00
Richard Davey
06e5fc0336 Camera extends Event Emitter and moved to effect based system 2018-04-14 12:35:14 +01:00
Richard Davey
2b4e5ecd23 Is scene is asleep, wake it rather than start it 2018-04-14 04:28:39 +01:00
Richard Davey
b519e24279 lint fix 2018-04-14 04:27:39 +01:00
Richard Davey
a4e45a9458 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-14 04:24:27 +01:00
Richard Davey
352ec91bb5 New methods to determine if a Scene is transitioning 2018-04-14 04:24:21 +01:00
Richard Davey
2a73964399 Added new transition properties 2018-04-14 04:24:05 +01:00
Richard Davey
370fbdd5f2 Added transition progress, sleep support and better checking 2018-04-14 04:23:57 +01:00
Richard Davey
2698fe1b58 Clear out the transition events 2018-04-14 04:23:24 +01:00
Richard Davey
b5ba6a6afb Added enabled property 2018-04-14 04:23:11 +01:00
Felipe Alfonso
1058cff4c8 Fixed issue with inverted coordinates on render texture 2018-04-13 17:33:43 -03:00
Richard Davey
616d17fa83 Sorted out the scene event order, targets and callbacks 2018-04-13 20:12:29 +01:00
Richard Davey
cfb1826da9 Added new test feature 2018-04-13 18:59:00 +01:00
Richard Davey
18a6cf8ad1 eslint fixes 2018-04-13 18:09:16 +01:00
Richard Davey
a01535ea78 Group.add and Group.addMultiple now respect the Group.maxSize property, stopping you from over-populating a Group. 2018-04-13 17:59:29 +01:00
Richard Davey
f53430ec54 Log update 2018-04-13 17:52:28 +01:00
Richard Davey
01d3b7d6dc Missed out the config 2018-04-13 17:44:06 +01:00
Richard Davey
3490b29082 Tidying up 2018-04-13 17:43:56 +01:00
Richard Davey
be29c69a8c Disable pointer constraint debug by default 2018-04-13 17:43:44 +01:00