142 Commits (a240f0dc310a3a6f2fd565da1148fcdeca505616)
 

Author SHA1 Message Date
Colin McMillen a240f0dc31 Python script for importing assets from the CCG pack. 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
Colin McMillen ab62e8929a cleanup: sprite{Height,Width} -> halfSize 4 years ago
Colin McMillen 50479bac3c while paused, don't clear the list of Debug rects & lines 4 years ago
Colin McMillen 588b18f9ad fix Debug.Toast() & re-enable it 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 4410ff137a add Debug.AddRect(AABB) function 4 years ago
Colin McMillen f1f717da63 remove unused using statement 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 bff5d2b490 enable Debug by default 4 years ago
Colin McMillen 878d434b22 Add code for intersecting axis-aligned bounding boxes with segments & each other 4 years ago
Colin McMillen 61b50efa40 make CollisionTargets an array, and don't recompute it every frame 4 years ago
Colin McMillen 644ed88dd8 World: add Tiles to list so that they're sorted by x-coordinate 4 years ago
Colin McMillen 57e9ea558a add Debug.AddLine() function that takes in integer coordinates instead of Points 4 years ago
Colin McMillen 8c6b0e3c92 set vsync = true; setting it false seems to cause crashes on UWP 4 years ago
Colin McMillen 95acee959d clean up private fields/properties 4 years ago
Colin McMillen 7e8e5c3e6d pull Width and Height into properties 4 years ago
Colin McMillen 16062f65c3 World: convert from Tile[][] to List<Tile> 4 years ago
Colin McMillen e6fa78e30f World: convert fields to properties 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 0c7c15c047 set target framerate back to 60 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 1ea4d6c39b don't vsync; set target FPS to 120-ish 4 years ago
Colin McMillen 87100eaa67 Player.Update now takes a float which is the model time elapsed. 4 years ago
Colin McMillen 83839c92ac add Pause functionality 4 years ago
Colin McMillen 63aa190afe move Debug.Enabled check into DrawToasts 4 years ago
Colin McMillen e30aa75f80 Debug: draw rasterized DebugLines to screen 4 years ago
Colin McMillen bba9f643eb Implement Bresenham's algorithm for line rasterization. 4 years ago
Colin McMillen 252fe5b243 remove unused using 4 years ago
Colin McMillen 3246f8ea45 capitalize struct field names 4 years ago
Colin McMillen cb66a32a24 add 1-space gap so that i can test bug #4 4 years ago
Colin McMillen 34e7ab3ee1 make Toasts a list & implement FPS counter as a toast 4 years ago
Colin McMillen bee17a99af create Debug.AddLine() function [currently does nothing] 4 years ago
Colin McMillen 938a38bd77 Camera.Update: remove unused time parameter 4 years ago
Colin McMillen 8752f53ac8 add GitLab config to copybara config 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 f6f25144b6 SharedTests: don't depend on specific MonoGame version 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 03b8688f1e World: use single multi-line string instead of a string[] 4 years ago