Commit Graph

28 Commits

Author SHA1 Message Date
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
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
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
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
1fbcacecfc add ground texture
GitOrigin-RevId: 2313a9c0387ddb62ffca2aa563f9bab3ee10cdaf
2020-02-13 14:46:34 -05:00
06620ce368 add TODO to Player
GitOrigin-RevId: 0f94fab230a6f3071dbe2838235a8250b2db662c
2020-02-13 14:46:30 -05:00
2c2feb0f88 fix turbosword issue
GitOrigin-RevId: 57127fc84e9447f46ca27888546612c9cfbad58a
2020-02-13 14:46:26 -05:00
3589a3660f remove spurious cast
GitOrigin-RevId: 62d8d539d7fb643dd7e3b3fe89d7b141f47a1609
2020-02-13 14:46:23 -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
80b6e2ac5c FpsCounter now returns an int (rounded up)
rename gameTime -> time in Player

GitOrigin-RevId: 0270c026e62acbc934127ec881a770de219e2fa1
2020-02-13 14:45:55 -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
7f4ce7e854 add nod during stretch
GitOrigin-RevId: 54f82b43a8c7c7aca419cb98a572e899213f4002
2020-02-13 14:45:21 -05:00
576ac65eb7 slight tweak to sword-swinging code
GitOrigin-RevId: 042df7ea95bf77f029107c1a9363f3e1343bb928
2020-02-13 14:45:17 -05:00
6766e5ecf3 move groundLevel up a bit
GitOrigin-RevId: 45af011ee04538fb2921927298468c18f453d4b9
2020-02-13 14:45:13 -05:00
44874f781d whee, now you can jump!
GitOrigin-RevId: e8c408b0ffcbb3f2ddfa2346fc9823fea86dfe00
2020-02-13 14:45:10 -05:00
d9ed88a9ef dpad support
GitOrigin-RevId: 9c28c2defa0c5222a5ffd10e09648d6041f146ef
2020-02-13 14:45:06 -05:00
050a5b0567 add sword swing
GitOrigin-RevId: 46ebf8496eca9d752eeec6d3a2fad202a8f33867
2020-02-13 14:45:02 -05:00
fdd0eb60c4 basic Player motions and poses
GitOrigin-RevId: 88a4e7a20841e2551a6bdd417521228f87110449
2020-02-13 14:44:58 -05:00