Colin McMillen
74b5e1ec2d
Debug rects: pull in top & left sides by a 1-pixel margin.
GitOrigin-RevId: 0f1f846e3f
4 years ago
Colin McMillen
26649ce20d
Draw debug output within the TV-safe area.
Details here:
https://docs.microsoft.com/en-us/windows/uwp/design/devices/designing-for-tv#tv-safe-area
GitOrigin-RevId: 6bd4e9805a
4 years ago
Colin McMillen
1eb4d7a7d2
Debug off by default
GitOrigin-RevId: 0e0325057b
4 years ago
Colin McMillen
57d15cbbd9
Load all textures & fonts in one place.
GitOrigin-RevId: 076c86b24f
4 years ago
Colin McMillen
1ffe1444b2
Debug: draw rects as 4 GPU-accelerated lines.
GitOrigin-RevId: 3286d0476b
4 years ago
Colin McMillen
5d21ff2a0f
Debug.DrawLines: use GPU to draw lines.
Fixes #19 .
GitOrigin-RevId: d837e0ddaf
4 years ago
Colin McMillen
4d64d6fa12
Initialize and dispose of whiteTexture in SneakGame.
Fixes #7 .
GitOrigin-RevId: 024688e8fc
4 years ago
Colin McMillen
ff0c9ddc26
Add a transformation matrix to spriteBatch.Draw().
Instead of having every drawable object know how to transform itself based on
the camera position, we pass in a transformation matrix to spriteBatch.Draw().
Unfortunately MonoGame only lets us specify a translation that works over an
entire SpriteBatch.Begin() call, so we need to begin & end separately for
objects that *aren't* supposed to translate at the same rate as the camera.
Fixes #39 .
GitOrigin-RevId: afab72c392
4 years ago
Colin McMillen
141a0660c4
Debug: draw lines correctly based on camera position.
Make convenience function for calling AddLine() with Vectors.
GitOrigin-RevId: 6ca9849f11
4 years ago
Colin McMillen
57b65f559c
rename Aabb -> AABB
GitOrigin-RevId: 37b49d7a3f
4 years ago
Colin McMillen
50479bac3c
while paused, don't clear the list of Debug rects & lines
GitOrigin-RevId: d298abc6ad
4 years ago
Colin McMillen
4410ff137a
add Debug.AddRect(AABB) function
GitOrigin-RevId: 0acfc3f43f
4 years ago
Colin McMillen
bff5d2b490
enable Debug by default
GitOrigin-RevId: ba7ff1d9b7
4 years ago
Colin McMillen
57e9ea558a
add Debug.AddLine() function that takes in integer coordinates instead of Points
GitOrigin-RevId: 145f4f0763
4 years ago
Colin McMillen
4b14aef1b5
make a bunch of fields readonly
GitOrigin-RevId: 0c3533c650
4 years ago
Colin McMillen
63aa190afe
move Debug.Enabled check into DrawToasts
GitOrigin-RevId: 8265b948f7
4 years ago
Colin McMillen
e30aa75f80
Debug: draw rasterized DebugLines to screen
GitOrigin-RevId: aa4253477f
4 years ago
Colin McMillen
3246f8ea45
capitalize struct field names
GitOrigin-RevId: 6b4cca3873
4 years ago
Colin McMillen
34e7ab3ee1
make Toasts a list & implement FPS counter as a toast
GitOrigin-RevId: bae35697a0
4 years ago
Colin McMillen
bee17a99af
create Debug.AddLine() function [currently does nothing]
GitOrigin-RevId: c4f9afb4b0
4 years ago
Colin McMillen
ae8fa0d21d
Revert "Add .gitignore and .gitattributes."
This reverts commit 5c9f574644
.
GitOrigin-RevId: 277054282d
4 years ago
Colin McMillen
cb1b78b875
Add .gitignore and .gitattributes.
GitOrigin-RevId: 5c9f574644
5 years ago
Colin McMillen
cc37561076
run dos2unix on all source files
GitOrigin-RevId: c65ff59d86
4 years ago
Colin McMillen
660d163119
converted all TODOs into Issues
GitOrigin-RevId: aae80308b3
4 years ago
Colin McMillen
096f577e61
change namespace to SemiColinGames
GitOrigin-RevId: 3c4e116e77
4 years ago
Colin McMillen
569a330e89
move Jumpy.Shared -> Shared directory
GitOrigin-RevId: 781f1fb42b
4 years ago
Colin McMillen
fc02b768a1
remove stale TODO
GitOrigin-RevId: b6ea9c98a1
4 years ago
Colin McMillen
7ed88960a5
gate toasts behind Debug.Enabled, rearrange their position & color
GitOrigin-RevId: 4efcd95c30
4 years ago
Colin McMillen
22db0ee696
basic scrolling world!
GitOrigin-RevId: 6c08535f1a
4 years ago
Colin McMillen
22a0fab70f
add Debug.WriteLine delegate
GitOrigin-RevId: 485ca1507f
4 years ago
Colin McMillen
6c5c7d4992
add Debug class for displaying rects on-screen
use it to display bounding boxes of player & obstacles
GitOrigin-RevId: 1354637c8a
5 years ago