Colin McMillen mcmillen
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:53:41 -05:00
f7f7d5076e Pre-compute texture-source Rectangles.
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:53:37 -05:00
5cb3ff9fbd first pass at implementing line-of-sight algorithm
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:53:33 -05:00
554578968d Geometry: add FMath class & convenient accessors for AABB corners.
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:53:29 -05:00
141a0660c4 Debug: draw lines correctly based on camera position.
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:53:25 -05:00
1fd515070d make it possible for new sprite to hit the right end of world
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:53:21 -05:00
57b65f559c rename Aabb -> AABB
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:53:17 -05:00
f78bff249c cycle through different attack animations
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:53:13 -05:00
0e363de306 change player sprite to ninja
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:53:09 -05:00
a240f0dc31 Python script for importing assets from the CCG pack.
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:53:05 -05:00
10453ee5ea World: add Height property (in pixels)
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:53:01 -05:00
bb8cf9e63b make CollisionTargets an auto property
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:52:57 -05:00
76dbdc6913 Bound camera by right edge of World.
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:52:53 -05:00
fe64ec705d Bound player position by both edges of the World.
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:52:49 -05:00
ab62e8929a cleanup: sprite{Height,Width} -> halfSize
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:52:45 -05:00
50479bac3c while paused, don't clear the list of Debug rects & lines
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:52:41 -05:00
588b18f9ad fix Debug.Toast() & re-enable it
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:52:37 -05:00
793b292a29 pass in AABBs instead of Rectangles to Player.Update
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:52:33 -05:00
946497160b Player.Update() now uses Bresenham's line algorithm.
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:52:29 -05:00
4410ff137a add Debug.AddRect(AABB) function
mcmillen pushed to master at semicolin/sneak 2020-02-13 14:52:25 -05:00
f1f717da63 remove unused using statement