262 Commits (7695f45cc03a58426fcc1df3771183537a388a92)

Author SHA1 Message Date
Colin McMillen f0ea8d8ef2 Reorganize Content/ into multiple subdirectories. 4 years ago
Colin McMillen 9eeede2310 Shared.shproj: remove redundant & out-of-date file listings 4 years ago
Colin McMillen 7935b6aaff Scene: go back to drawing Player behind tiles. 4 years ago
Colin McMillen 7e7b0f7715 Move most of the drawing code into a Scene class 4 years ago
Colin McMillen 43f6bded70 draw backgrounds as partially transparent 4 years ago
Colin McMillen 786b230a6c LinesOfSight: don't draw yellow lines 4 years ago
Colin McMillen e2ea2e1d3f Add ability to restart the level. Fixes #9. 4 years ago
Colin McMillen 1ffe1444b2 Debug: draw rects as 4 GPU-accelerated lines. 4 years ago
Colin McMillen 48a9297a57 draw Debug stuff on top of everything (after lighting) 4 years ago
Colin McMillen 5d21ff2a0f Debug.DrawLines: use GPU to draw lines. 4 years ago
Colin McMillen a21802e9f2 FMath.DegToRad(): use look-up table. 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 4d64d6fa12 Initialize and dispose of whiteTexture in SneakGame. 4 years ago
Colin McMillen 257a74ca58 LinesOfSight: use less-deprecated DrawIndexedPrimitives() call. 4 years ago
Colin McMillen 23278334b0 use DrawIndexedPrimitives; fixes #41 4 years ago
Colin McMillen f01efcde01 Split LinesOfSight into separate Draw() and Update() functions. 4 years ago
Colin McMillen 5b7c0dd888 move LinesOfSight into its own file 4 years ago
Colin McMillen 93a5d477bb New FOV algorithm that works pretty well. 4 years ago
Colin McMillen 7cc953a44e add extension method: Vector2.Rotate() 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 80746ecaed Use world definition from Levels file 4 years ago
Colin McMillen d30be7a460 Timer: don't automatically DumpStats(); refactor string prefixes during dump 4 years ago
Colin McMillen 5672e292cc add Levels file to hold level definitions (for now) 4 years ago
Colin McMillen 2d2a3fde7d Timer formatting: change 200%+ to 200+% 4 years ago
Colin McMillen 80f1104d82 Timer: better histogram formatting. bin into 10% intervals instead of 5% 4 years ago
Colin McMillen 9e4d863bcf add performance counters to SneakGame. Fixes #33. 4 years ago
Colin McMillen 0f9d546398 make Clamp() generic across comparables and move it into FMath. 4 years ago
Colin McMillen bf2f33f698 add Timer class to projitems 4 years ago
Colin McMillen 36ebeadddf add Timer class for tracking draw & update times (etc) 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 1f7da03515 make char-to-terrain lookup dictionary-based instead of switch-based 4 years ago
Colin McMillen b731e1a785 make tile-texture lookup dictioanry-based instead of switch-based 4 years ago
Colin McMillen c1232d462d make swordSwingMax const 4 years ago
Colin McMillen 3286db1c86 remove Terrain.Empty and clean up TextureSource() switch statement 4 years ago
Colin McMillen f7f7d5076e Pre-compute texture-source Rectangles. 4 years ago
Colin McMillen 5cb3ff9fbd first pass at implementing line-of-sight algorithm 4 years ago
Colin McMillen 554578968d Geometry: add FMath class & convenient accessors for AABB corners. 4 years ago
Colin McMillen 141a0660c4 Debug: draw lines correctly based on camera position. 4 years ago
Colin McMillen 1fd515070d make it possible for new sprite to hit the right end of world 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 10453ee5ea World: add Height property (in pixels) 4 years ago
Colin McMillen bb8cf9e63b make CollisionTargets an auto property 4 years ago
Colin McMillen 76dbdc6913 Bound camera by right edge of World. 4 years ago
Colin McMillen fe64ec705d Bound player position by both edges of the World. 4 years ago