271 Commits (c82bce200e03a34c16b3f9fcb35051cc75bf377c)

Author SHA1 Message Date
Colin McMillen b06155aa88 Render backgrounds from back-to-front in an array. 4 years ago
Colin McMillen cf5167fba7 Player: tweak constants, track jump hangtime. 4 years ago
Colin McMillen 90b003e0b0 Change Debug button from left shoulder to Select. 4 years ago
Colin McMillen 05638483a4 Support 4-layer parallax-scrolling backgrounds. 4 years ago
Colin McMillen 8405f32f3c simplify lightingEffect initialization 4 years ago
Colin McMillen 57d15cbbd9 Load all textures & fonts in one place. 4 years ago
Colin McMillen 8f5514b776 More refactoring of Tile loading. 4 years ago
Colin McMillen 2934296649 Refactor tile creation to support assets from multiple tilesets. 4 years ago
Colin McMillen 02aba3ad84 Game objects now take in a ContentManager & load their own textures. 4 years ago
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