# HG changeset patch # User alys # Date 2020-12-28 21:29:55 # Node ID a5954f30d828841d39a20c33d7408af11e92825a # Parent 84e8a1e7b6ca2b6757912f246de912925c5c8295 Remove leftovers from previous Pong project. diff --git a/isometric-park-fna/FNAGame.cs b/isometric-park-fna/FNAGame.cs --- a/isometric-park-fna/FNAGame.cs +++ b/isometric-park-fna/FNAGame.cs @@ -19,8 +19,6 @@ private SpriteBatch batch; private Texture2D texture; - private Texture2D paddle; - private Texture2D ball; private SoundEffect sound; private Song music; private SpriteFont font; @@ -40,17 +38,9 @@ private const int width = 1280; private const int height = 640; - - private const float friction = 0.1f; - private const float inputVelocityDelta = friction + 0.1f; - - - private int playerScore = 0; - private int aiScore = 0; - //new tile stuff - int squaresAcross = 150; - int squaresDown = 150; + int squaresAcross = 50; + int squaresDown = 50; int baseOffsetX = -14; int baseOffsetY = -14; @@ -69,7 +59,7 @@ int messageIndex; //buggy - private static bool enableCulling = true; + private static bool enableCulling = false; private static void Main(string[] args) { @@ -106,8 +96,6 @@ { cell.hasTree = true; } - - } } @@ -116,7 +104,6 @@ Content.RootDirectory = "Content"; - } protected override void Initialize() @@ -140,17 +127,12 @@ // ... then load a texture from ./Content/FNATexture.png texture = Content.Load("FNATexture"); - paddle = Content.Load("paddle"); - ball = Content.Load("ball"); sound = Content.Load("FNASound"); music = Content.Load("IfImWrong"); Tile.TileSetTexture = Content.Load(@"part4_tileset"); - Line.initialize(GraphicsDevice); - - var fontBakeResult = TtfFontBaker.Bake(File.OpenRead(@"Content/DroidSans.ttf"), 25, 1024,