Colin McMillen
8f79bb8680
add a little screen-shake
4 years ago
Colin McMillen
66ce866b12
move LinesOfSight into World
4 years ago
Colin McMillen
c213009134
Add Text.DrawOutlined() function & other text helpers.
GitOrigin-RevId: 47f9115767
4 years ago
Colin McMillen
0a64d17db5
fix lint errors
GitOrigin-RevId: 5de396b259
4 years ago
Colin McMillen
93a5d477bb
New FOV algorithm that works pretty well.
Saved for posterity here, approximately:
https://twitter.com/mcmillen/status/1227326054949408768
GitOrigin-RevId: e960dad1d9
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
76dbdc6913
Bound camera by right edge of World.
Fixes #32 .
GitOrigin-RevId: e193c89509
4 years ago
Colin McMillen
588b18f9ad
fix Debug.Toast() & re-enable it
GitOrigin-RevId: ae553145ed
4 years ago
Colin McMillen
938a38bd77
Camera.Update: remove unused time parameter
GitOrigin-RevId: b3c427b9cc
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
f58faa0b9f
comment out Toast from Camera
GitOrigin-RevId: 3507b5cd38
4 years ago
Colin McMillen
cc37561076
run dos2unix on all source files
GitOrigin-RevId: c65ff59d86
4 years ago
Colin McMillen
710d1042ab
remove TODO
GitOrigin-RevId: 91ae978933
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
7ed88960a5
gate toasts behind Debug.Enabled, rearrange their position & color
GitOrigin-RevId: 4efcd95c30
4 years ago
Colin McMillen
70d8bbfa29
make camera 1/4 size instead of 1/6
update World to match
GitOrigin-RevId: 0bcfc25090
4 years ago
Colin McMillen
81b62f883e
comment out toast & add a reference for later
GitOrigin-RevId: 684f5bf643
4 years ago
Colin McMillen
22db0ee696
basic scrolling world!
GitOrigin-RevId: 6c08535f1a
4 years ago
Colin McMillen
1fbcacecfc
add ground texture
GitOrigin-RevId: 2313a9c038
4 years ago
Colin McMillen
fbbbdd14ee
phrase world pixel-size in terms of fractions of 1080p
GitOrigin-RevId: d2a9cb18d1
4 years ago
Colin McMillen
59764cbbbd
change back to Celeste-like camera resolution
GitOrigin-RevId: 5b245ec8c0
4 years ago
Colin McMillen
83709e9a61
pull out world viewport size into a Camera class
GitOrigin-RevId: 92cd946afe
4 years ago