Commit Graph

31 Commits

Author SHA1 Message Date
37e3a8baba add keyboard controls for Player & toggling debug info
GitOrigin-RevId: 0ab5e524855b29d8a6261aef328a91893b2b4897
2020-02-13 14:48:20 -05:00
7ed88960a5 gate toasts behind Debug.Enabled, rearrange their position & color
GitOrigin-RevId: 4efcd95c3034a51f224fdc452d525b2e20057354
2020-02-13 14:48:17 -05:00
010424f43f anchor the background images at the top
GitOrigin-RevId: caa4dc0ec3c84ea94dde51aef6f584fbd70ba45b
2020-02-13 14:48:10 -05:00
22db0ee696 basic scrolling world!
GitOrigin-RevId: 6c08535f1ace172f9f08479ced5e9dc8b0663102
2020-02-13 14:47:59 -05:00
67e952d64f only draw FPS when debug enabled
GitOrigin-RevId: 22783521cbfeb8e7cd672b1bc269acd4c933734c
2020-02-13 14:47:46 -05:00
1c7e058cb9 rm spurious printout
GitOrigin-RevId: 46f378f2897af84c75f229377ee80f983f18835a
2020-02-13 14:46:57 -05:00
6c5c7d4992 add Debug class for displaying rects on-screen
use it to display bounding boxes of player & obstacles

GitOrigin-RevId: 1354637c8ad88e953b44cb3bf0e250aae0546b81
2020-02-13 14:46:53 -05:00
9c8f8b70df enumerate and show collision targets
GitOrigin-RevId: d8cb888e4e13e4f492df90a210c8f24884d73b94
2020-02-13 14:46:49 -05:00
fb2d0e8a6d add World class & refactor other things appropriately
GitOrigin-RevId: 9e72fe95272da1a8e9d50ffe147ae13742547ed4
2020-02-13 14:46:45 -05:00
3af02981c4 add rock-y ground tiles
GitOrigin-RevId: fd490a5a2c57d3e4c141a8690393f56224f4a46e
2020-02-13 14:46:41 -05:00
9ed2021039 add background layers
GitOrigin-RevId: 93a5c7e147d9d571fb67bfd818f598e4da823abb
2020-02-13 14:46:38 -05:00
1fbcacecfc add ground texture
GitOrigin-RevId: 2313a9c0387ddb62ffca2aa563f9bab3ee10cdaf
2020-02-13 14:46:34 -05:00
7fe248aecc refactor uses of gamepad / keyboard history
GitOrigin-RevId: ee4d881cb0aad41a0cdf8ac10aa9489b652384f4
2020-02-13 14:46:19 -05:00
307efa5f5b use History for handling gamepad & keyboard state
GitOrigin-RevId: 87aa91b212eedb5e3f64cc50de70098ce5f81596
2020-02-13 14:46:15 -05:00
df6cee8df1 partial work toward keeping multiple render targets around for GIF encoding
GitOrigin-RevId: 8061896562453a95013ada91df852afc9e904c76
2020-02-13 14:46:03 -05:00
80b6e2ac5c FpsCounter now returns an int (rounded up)
rename gameTime -> time in Player

GitOrigin-RevId: 0270c026e62acbc934127ec881a770de219e2fa1
2020-02-13 14:45:55 -05:00
523d1b519d add resolution to FPS display
GitOrigin-RevId: c414668d0521f78965bcdb6559782bd99b6a7da2
2020-02-13 14:45:48 -05:00
568bcf8071 add FPS counter
GitOrigin-RevId: 7186a6f3cd9ba35ff51b2232ebef67cbe3ad544c
2020-02-13 14:45:36 -05:00
c247b6c389 Add Consolas as sprite font
GitOrigin-RevId: e30c036fa144e580655d0b4bbbd5077eba72b62b
2020-02-13 14:45:32 -05:00
83709e9a61 pull out world viewport size into a Camera class
GitOrigin-RevId: 92cd946afeaee9ba1503e55be239e3384100cc9a
2020-02-13 14:45:28 -05:00
05a779e1fb draw to a RenderTarget & scale that to screen
GitOrigin-RevId: b4635c5fabc03e6f19be595c68e3aa94203aa454
2020-02-13 14:45:25 -05:00
fdd0eb60c4 basic Player motions and poses
GitOrigin-RevId: 88a4e7a20841e2551a6bdd417521228f87110449
2020-02-13 14:44:58 -05:00
cb2f9687fa fix build
GitOrigin-RevId: 76185e284b5506cd191287b51908deae0f4a71cc
2020-02-13 14:44:55 -05:00
6bb646e2ce support xbox deploy
GitOrigin-RevId: c8a9a06bf9d129530f1b251267d3ab62334c49c2
2020-02-13 14:44:51 -05:00
fb50667459 add player sprite with looping animation
GitOrigin-RevId: 2e77393290d3b2e332ab73a0ed021f41d49c9eb4
2020-02-13 14:44:47 -05:00
3f603d6bd3 add Android app skeleton
GitOrigin-RevId: 35018deabaa16e9b80e9a87b937fa7f24b6e06dd
2020-02-13 14:44:43 -05:00
f6d1cac42f rename IWindow -> IDisplay & refactor uses
GitOrigin-RevId: 9cb63778dead2564bc6d3931d7fc9626c878fd8c
2020-02-13 14:44:39 -05:00
92f4558c18 add Initialize() to IWindow & refactor uses of IWindow
GitOrigin-RevId: fa4c2f04d3182cd37f85cfd03e6a2025b4e4d4f7
2020-02-13 14:44:00 -05:00
bb5aab6495 set mouse visible; smol refactor
GitOrigin-RevId: b6a557f79b782693897421fb6afdcebfbdf10c35
2020-02-13 14:40:41 -05:00
a33c4d90fd Make IWindow interface & make fullscreen work in UWP & OpenGL.
GitOrigin-RevId: 17e3e115481779249f59d68acab6325a78592eaf
2020-02-13 14:39:48 -05:00
149ecf8075 Basic working skeleton in OpenGL and UWP.
GitOrigin-RevId: 762b683654e20eb28346d9b2de7fbb8c826a2966
2020-02-13 14:39:05 -05:00