Commit graph

62 commits

Author SHA1 Message Date
Richard Davey
51500004fa Removed un-needed DOM modules 2019-01-23 22:12:48 +00:00
Richard Davey
901df292d5 Added TODO list and swapped fs parent 2019-01-23 17:09:41 +00:00
Richard Davey
42dd60ef6d Added Scale Manager events 2019-01-23 17:03:48 +00:00
Richard Davey
45d9820f14 Added all jsdoc headers and swapped to using full events 2019-01-23 17:03:39 +00:00
Richard Davey
8e781636f2 Added toggleFullscreen method 2019-01-23 15:52:10 +00:00
Richard Davey
c8ad0279d2 Full Screen API working properly (tested Chrome, FF and Safari so far) 2019-01-23 00:12:53 +00:00
Richard Davey
fbc5eb7046 Starting fullscreen support 2019-01-22 16:57:03 +00:00
Richard Davey
a9043f142b SM0 skip 2019-01-22 15:45:53 +00:00
Richard Davey
1eccff1e3b Fixed jsdoc links and markdown bullet lists 2019-01-18 15:20:56 +00:00
Richard Davey
aa341854c7 Happy New Year 2019-01-15 16:20:22 +00:00
Richard Davey
0e2e059546 Updated todo 2019-01-15 14:37:53 +00:00
Richard Davey
aa3b80371b Should be envelop, not envelope :) 2019-01-12 12:36:21 +00:00
Richard Davey
661b920dda Fixed parent style assignment 2019-01-12 00:51:54 +00:00
Richard Davey
2e05cab998 Added setZoom method. 2019-01-11 19:16:35 +00:00
Richard Davey
bf942f66d1 Fixed RESIZE update handling 2019-01-11 18:25:47 +00:00
Richard Davey
9e74913c74 Added input handling, resize events, orientation locks and more. 2019-01-11 18:00:32 +00:00
Richard Davey
21342dc6e9 Now uses consts 2019-01-11 18:00:02 +00:00
Richard Davey
ab3d8aaf2a Added orientation consts 2019-01-11 17:59:52 +00:00
Richard Davey
814932b9f7 Added centering constants 2019-01-11 15:58:06 +00:00
Richard Davey
711180012c Recoded orientation check to avoid use of VisualBounds 2019-01-11 12:12:43 +00:00
Richard Davey
98d0ae62a4 Moved iOS GetInnerHeight to its own function 2019-01-11 12:12:30 +00:00
Richard Davey
728fb01343 Correctly using zoom and resolution across all scale modes. 2019-01-10 13:43:33 +00:00
Richard Davey
aec555705f Testing difference between w/h and scale 2019-01-10 00:16:06 +00:00
Richard Davey
d690b70216 Working the Size component magic into the Scale Manager. 2019-01-09 17:14:00 +00:00
Richard Davey
debe7ac82a Renamed consts to match Size component 2019-01-09 17:13:31 +00:00
Richard Davey
e33bf4f7c0 Swapping to Size component 2018-12-19 17:08:14 +00:00
Richard Davey
4681bb888d Moved request below callback. Ignore the argument and use performance.now instead for consistency with input events. 2018-11-23 16:20:26 +00:00
Richard Davey
0b3d54a198 Added jsdocs 2018-10-19 18:29:36 +01:00
Richard Davey
557955e057 Merging Scale Manager and Spine Plugin back into master 2018-10-18 14:59:27 +01:00
Richard Davey
3125671170 Merge branch 'scalemanager' 2018-10-18 13:29:10 +01:00
Richard Davey
ae9c3b6f56 Tidying up for 3.15 release 2018-10-16 15:10:49 +01:00
Richard Davey
405608bd0b Add v2 SM for reference 2018-10-16 14:09:21 +01:00
Richard Davey
861de841b0 Commented out logs for beta build 2018-10-16 11:45:01 +01:00
Richard Davey
b3804a2455 eslint fixes 2018-10-12 18:56:56 +01:00
Richard Davey
fa95e0a3b1 Don't resize if EXACT mode 2018-10-12 15:09:35 +01:00
Richard Davey
8faafc2ceb New Scale Manager implementation starting to take shape 2018-10-11 17:02:29 +01:00
Richard Davey
7144f64c82 Added DOM constants 2018-10-11 17:02:01 +01:00
Richard Davey
4e0a3e94d2 Getting ready for rewrite 2018-10-10 13:53:14 +01:00
Richard Davey
b90109efe1 Typo fix 2018-10-10 13:41:55 +01:00
Richard Davey
4b1c762296 Updated @memberOf to @memberof 2018-10-10 10:49:13 +01:00
Richard Davey
f32df230d6 Working through SM flow 2018-10-10 10:47:04 +01:00
Richard Davey
b4dfa49750 Clarified docs 2018-10-10 10:46:55 +01:00
Richard Davey
ecc85b447c Updated to use DOM components and hook into game flow 2018-10-09 18:14:25 +01:00
Richard Davey
bddca4c1de Added all of the DOM components the Scale Manager needs 2018-10-09 18:13:56 +01:00
Richard Davey
a9063604dc Replace @readOnly with @readonly 2018-10-09 13:40:00 +01:00
Richard Davey
c28d790243 Updating ScaleManager for v3 2018-10-08 17:02:51 +01:00
Richard Davey
e36356eeb7 Added ScaleManager consts 2018-10-08 17:01:26 +01:00
Richard Davey
51c5c9014f Moved to new location 2018-10-08 15:23:56 +01:00
Richard Davey
e4c38215cd The RequestAnimationFrame.step and stepTimeout functions have been updated so that the new Frame is requested from raf before the main game step is called. This allows you to now stop the raf callback from within the game update or render loop. Fix #3952 2018-10-02 11:33:05 +01:00
Nat Quayle Nelson
507901cbb1 More comprehensive AddToDom logic
I realized I hadn't looked closely enough at the AddToDom logic, and created an error if a canvas was passed to GameConfig without being added to the DOM first. This commit should fix that scenario and move the logic back into AddToDom() where it really belongs
2018-05-31 16:40:46 -04:00