50 Commits (02b1dd487409b260172b2516fc8efb379175270c)

Author SHA1 Message Date
Colin McMillen 02b1dd4874 Add simple NPC. 4 years ago
Colin McMillen de8ca4a374 Add sword-swing sound effects. 4 years ago
Colin McMillen f4581ecaf8 Player now takes damage from spikes. 4 years ago
Colin McMillen c189cfcc09 Add player health & a heart sprite. 4 years ago
Colin McMillen c2fa12db9b Stop printing out jumpTime. 4 years ago
Colin McMillen 0a64d17db5 fix lint errors 4 years ago
Colin McMillen 74b5e1ec2d Debug rects: pull in top & left sides by a 1-pixel margin. 4 years ago
Colin McMillen ed7afd2fa1 TextureRef: make Get a property rather than a function 4 years ago
Colin McMillen e72b8999e4 Make TextureRef class for holding textures. 4 years ago
Colin McMillen 026623ac82 Fix memory leaks of graphics resources. 4 years ago
Colin McMillen cf5167fba7 Player: tweak constants, track jump hangtime. 4 years ago
Colin McMillen 57d15cbbd9 Load all textures & fonts in one place. 4 years ago
Colin McMillen 02aba3ad84 Game objects now take in a ContentManager & load their own textures. 4 years ago
Colin McMillen 24078d6c62 move FieldOfView into Player 4 years ago
Colin McMillen 66f895fab8 Player: remove GetPose, add VisionRange and VisionRay. 4 years ago
Colin McMillen c94ae6eb25 Player: make Facing an int property. 4 years ago
Colin McMillen 93a5d477bb New FOV algorithm that works pretty well. 4 years ago
Colin McMillen ff0c9ddc26 Add a transformation matrix to spriteBatch.Draw(). 4 years ago
Colin McMillen 6b9890b6f7 Player: more line-of-sight debug lines 4 years ago
Colin McMillen d44ac76d49 fix cones-of-sight tilting in the wrong up/down direction when facing left 4 years ago
Colin McMillen 4758ce519b allow player to look up/down 4 years ago
Colin McMillen c1232d462d make swordSwingMax const 4 years ago
Colin McMillen 5cb3ff9fbd first pass at implementing line-of-sight algorithm 4 years ago
Colin McMillen 57b65f559c rename Aabb -> AABB 4 years ago
Colin McMillen f78bff249c cycle through different attack animations 4 years ago
Colin McMillen 0e363de306 change player sprite to ninja 4 years ago
Colin McMillen fe64ec705d Bound player position by both edges of the World. 4 years ago
Colin McMillen ab62e8929a cleanup: sprite{Height,Width} -> halfSize 4 years ago
Colin McMillen 793b292a29 pass in AABBs instead of Rectangles to Player.Update 4 years ago
Colin McMillen 946497160b Player.Update() now uses Bresenham's line algorithm. 4 years ago
Colin McMillen f2db2f4b9e use new collision-detection algorithm with old resolution algorithm (wip, slightly hacky) 4 years ago
Colin McMillen 08792320df make Facing's enum value correspond to the x-direction they're looking 4 years ago
Colin McMillen 61b50efa40 make CollisionTargets an array, and don't recompute it every frame 4 years ago
Colin McMillen 84fa044675 more readability fixed via Visual Studio suggestions 4 years ago
Colin McMillen 4b14aef1b5 make a bunch of fields readonly 4 years ago
Colin McMillen f5ca85264f Add Clock class & use it from Player and SneakGame 4 years ago
Colin McMillen c7ec9e3ad7 start Player on ground 4 years ago
Colin McMillen 87100eaa67 Player.Update now takes a float which is the model time elapsed. 4 years ago
Colin McMillen ae8fa0d21d Revert "Add .gitignore and .gitattributes." 4 years ago
Colin McMillen cb1b78b875 Add .gitignore and .gitattributes. 4 years ago
Colin McMillen ea07fc146b add TODO about setting ySpeed = 0 in head-bonk 4 years ago
Colin McMillen 2f75847615 remove toast 4 years ago
Colin McMillen 459e43186a refactor Player input/state handling to be less tangled 4 years ago
Colin McMillen ea82c4ffd3 rename SpritePosition -> SpriteIndex 4 years ago
Colin McMillen db6f3e1425 Add Input class to group gamepad & keyboard inputs together. 4 years ago
Colin McMillen cc37561076 run dos2unix on all source files 4 years ago
Colin McMillen b169584794 cleanup: spritePosition -> SpritePosition 4 years ago
Colin McMillen 660d163119 converted all TODOs into Issues 4 years ago
Colin McMillen 096f577e61 change namespace to SemiColinGames 4 years ago
Colin McMillen 569a330e89 move Jumpy.Shared -> Shared directory 4 years ago