Commit Graph

89 Commits

Author SHA1 Message Date
9a1c6646dd properly handle non-rectangular input string[]s
GitOrigin-RevId: eb580f2e9c5a6d93827982240fd295ba30fdb0c4
2020-02-13 14:49:41 -05:00
f58faa0b9f comment out Toast from Camera
GitOrigin-RevId: 3507b5cd381e69ea1d86b533b9e7335df3afeb4b
2020-02-13 14:49:37 -05:00
fb074dc318 History: make backing array readonly
GitOrigin-RevId: 33c1bfb915b4f2fb80c3bb1f4b88ef924a45363d
2020-02-13 14:49:34 -05:00
cc37561076 run dos2unix on all source files
GitOrigin-RevId: c65ff59d86415057167f600d1c31545b1ff0b49b
2020-02-13 14:49:30 -05:00
960521a6e0 History: add ToArray() method to make tests cleaner
GitOrigin-RevId: 5bbf5be614ed6c2d9884ac924ab627ccaa57e355
2020-02-13 14:49:26 -05:00
3f6fc67cb6 add unit tests to copybara config
GitOrigin-RevId: 4ad6471d55815fa14730d9c9d316ff3b7b68592a
2020-02-13 14:49:23 -05:00
ab692f94a7 Add unit tests for History class.
Also introduce .editorconfig file and update .csproj files.

GitOrigin-RevId: 60369ee53b0fe53135f4c2b7403284eabced3755
2020-02-13 14:49:19 -05:00
b169584794 cleanup: spritePosition -> SpritePosition
GitOrigin-RevId: b715b0be5499f41c905257f3b19481a9fd81bf71
2020-02-13 14:49:15 -05:00
361a02c67f rm KeyboardInput
GitOrigin-RevId: 1725d577c5be04488a6723b65c0c93fa25d12ab5
2020-02-13 14:49:12 -05:00
660d163119 converted all TODOs into Issues
GitOrigin-RevId: aae80308b34fcfa7a99b8dc97c56ee33ceb900ef
2020-02-13 14:49:08 -05:00
c9d3bc7f66 add README to copybara config
GitOrigin-RevId: 07b6d968d5f5dc59c9246c66e78d51651b7e9ce2
2020-02-13 14:49:04 -05:00
ac27972dba add skeletal README.md
GitOrigin-RevId: a0d588b6a46df14c9ebf1dd8fb7396384f302e55
2020-02-13 14:49:00 -05:00
9959c5702b rename LICENSE -> LICENSE.txt & add copy to tools/
GitOrigin-RevId: 62c1e512fd59bec50d4c92b281aed504f3387990
2020-02-13 14:48:56 -05:00
6ad9167818 add copybara script & config
GitOrigin-RevId: 3f8e5453ae75ef5724c00131a55e1315cef70841
2020-02-13 14:48:53 -05:00
ef84fa85a1 Add LICENSE to Shared/ directory
GitOrigin-RevId: 03aa301a15ca0721de385e6579d4a5f20866c444
2020-02-13 14:48:50 -05:00
710d1042ab remove TODO
GitOrigin-RevId: 91ae9789334d2e1096a2a75cde49e8e48472d8f6
2020-02-13 14:48:47 -05:00
f0630d1679 go back to just a single RenderTarget
GitOrigin-RevId: 0b8fc3090098f84047a85804bb5eb2a15249aadd
2020-02-13 14:48:44 -05:00
9af191e801 remove last Jumpy vestiges
GitOrigin-RevId: 259aa3ce7311b1b82f0d0edee81adfa07e50ef7f
2020-02-13 14:48:42 -05:00
d75a469acc Move JumpyGame -> SneakGame & fix references
GitOrigin-RevId: ec99138000848e4cdcf371b53ce0dd2fe5ebed70
2020-02-13 14:48:39 -05:00
096f577e61 change namespace to SemiColinGames
GitOrigin-RevId: 3c4e116e770edfcca7f661b3f0d74bb312aa6a04
2020-02-13 14:48:35 -05:00
7e64f2a0be remove "Jumpy." from {Android, OpenGL, UWP}
GitOrigin-RevId: 26b6863116efa26e87fe7818a4ff4dda434e1968
2020-02-13 14:48:31 -05:00
569a330e89 move Jumpy.Shared -> Shared directory
GitOrigin-RevId: 781f1fb42b49baa0463ac284ffba7df767fdf8b3
2020-02-13 14:48:28 -05:00
9736e85345 rename "Jumpy.Shared" project to just "Shared"
GitOrigin-RevId: a1a4b62938748d3906512fee0129aa83ab9fa0bc
2020-02-13 14:48:25 -05:00
fc02b768a1 remove stale TODO
GitOrigin-RevId: b6ea9c98a19625ceaaa8ac4148d8b3b1a6a8c05f
2020-02-13 14:48:22 -05:00
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
70d8bbfa29 make camera 1/4 size instead of 1/6
update World to match

GitOrigin-RevId: 0bcfc250909ad8f3e57d29a8cd78f1ea69dc58a7
2020-02-13 14:48:14 -05:00
010424f43f anchor the background images at the top
GitOrigin-RevId: caa4dc0ec3c84ea94dde51aef6f584fbd70ba45b
2020-02-13 14:48:10 -05:00
d3283a64c0 transcribe 1-1 as testing World
GitOrigin-RevId: 0267ea2f77636413d5681b212a23177de47c91dd
2020-02-13 14:48:06 -05:00
81b62f883e comment out toast & add a reference for later
GitOrigin-RevId: 684f5bf6433295082070ce81118b3b5080c10d81
2020-02-13 14:48:02 -05:00
22db0ee696 basic scrolling world!
GitOrigin-RevId: 6c08535f1ace172f9f08479ced5e9dc8b0663102
2020-02-13 14:47:59 -05:00
873d35dcfb parse World from string, add GrassL, GrassR, and Water terrains
GitOrigin-RevId: 40497e34785fe279980831f3e2b8e2155a7bfc8a
2020-02-13 14:47:56 -05:00
f364a9c6ff add TODO about checking size-1 gaps in future
GitOrigin-RevId: cd944aea79be9b15540fcb41fd8567d74d4a2bf1
2020-02-13 14:47:54 -05:00
22a0fab70f add Debug.WriteLine delegate
GitOrigin-RevId: 485ca1507f040ac066e001388d7af84adad24efb
2020-02-13 14:47:50 -05:00
67e952d64f only draw FPS when debug enabled
GitOrigin-RevId: 22783521cbfeb8e7cd672b1bc269acd4c933734c
2020-02-13 14:47:46 -05:00
caa9b074d5 rm dupe "using" decl
GitOrigin-RevId: 5318677e0f7dc7a8dddfead9993b82900a644164
2020-02-13 14:47:42 -05:00
755e65a1d6 refactor to use linear spritesheet
GitOrigin-RevId: 859e5868a72922e983d5bc7f345b51b25aff10e8
2020-02-13 14:47:39 -05:00
adaa9edc5e add some refs on line rasterization
GitOrigin-RevId: 728b18264f1414b9bb3d8fb773331b69eca340d4
2020-02-13 14:47:35 -05:00
11da38ffa6 better collision-detection with maybe only one bug
GitOrigin-RevId: c205dfcd6c4d36864ca58448244aed9da00d47c8
2020-02-13 14:47:31 -05:00
22091fa5b1 more ground for World
GitOrigin-RevId: 88a97171701054b23b4f23b414c9bf983bd35293
2020-02-13 14:47:27 -05:00
a58d9b0847 add more obstacles to world
GitOrigin-RevId: 4352f7ca81b437f2c49d91d0fa0d53ca544d5c2d
2020-02-13 14:47:23 -05:00
173efbf4ef fix turbojump
GitOrigin-RevId: 822e0e0830d4f701c1738732718e7f301a67e6af
2020-02-13 14:47:20 -05:00
b04d68400b tweak more physics constants
GitOrigin-RevId: 3751ded02ecb26dd6110682ed615bd421f982c20
2020-02-13 14:47:16 -05:00
ba459a9738 move comment to appropriate place
GitOrigin-RevId: e0555ac9dde749b46c629218ebabc29a0cbce678
2020-02-13 14:47:12 -05:00
0b45e545a3 tweak world & physics constants a bit
GitOrigin-RevId: 8921482b3f88d8384f56046501f4fd8d65df5851
2020-02-13 14:47:08 -05:00
e7006525be remove now-unneeded groundLevel constant
GitOrigin-RevId: 91e2c3320a6ff56938c6c05757a5e035993721ba
2020-02-13 14:47:04 -05:00
11ea98345d some basic, not-quite-perfect, collision detection
GitOrigin-RevId: 32ba9d7687026097427338933cbcd06aed8dbf1e
2020-02-13 14:47:01 -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