sneak/Shared
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: afab72c39236b1b46fe1597412209981ddae9c7c
2020-02-13 14:54:46 -05:00
..
Camera.cs Add a transformation matrix to spriteBatch.Draw(). 2020-02-13 14:54:46 -05:00
Clock.cs clean up private fields/properties 2020-02-13 14:51:47 -05:00
Debug.cs Add a transformation matrix to spriteBatch.Draw(). 2020-02-13 14:54:46 -05:00
FpsCounter.cs Revert "Add .gitignore and .gitattributes." 2020-02-13 14:50:24 -05:00
Geometry.cs make Clamp() generic across comparables and move it into FMath. 2020-02-13 14:54:14 -05:00
History.cs Revert "Add .gitignore and .gitattributes." 2020-02-13 14:50:24 -05:00
IDisplay.cs Revert "Add .gitignore and .gitattributes." 2020-02-13 14:50:24 -05:00
Input.cs add Pause functionality 2020-02-13 14:51:04 -05:00
Levels.cs add Levels file to hold level definitions (for now) 2020-02-13 14:54:30 -05:00
LICENSE.txt Revert "Add .gitignore and .gitattributes." 2020-02-13 14:50:24 -05:00
Line.cs remove unused using statement 2020-02-13 14:52:23 -05:00
Player.cs Add a transformation matrix to spriteBatch.Draw(). 2020-02-13 14:54:46 -05:00
Shared.projitems add Levels file to hold level definitions (for now) 2020-02-13 14:54:30 -05:00
Shared.shproj Revert "Add .gitignore and .gitattributes." 2020-02-13 14:50:24 -05:00
SneakGame.cs Add a transformation matrix to spriteBatch.Draw(). 2020-02-13 14:54:46 -05:00
Timer.cs Timer: don't automatically DumpStats(); refactor string prefixes during dump 2020-02-13 14:54:34 -05:00
World.cs Add a transformation matrix to spriteBatch.Draw(). 2020-02-13 14:54:46 -05:00