Reduced spawn distance for enemies to screen size (experimental change, if something...
authorgrumbel <grumbel@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Wed, 10 Mar 2010 08:25:20 +0000 (08:25 +0000)
committergrumbel <grumbel@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Wed, 10 Mar 2010 08:25:20 +0000 (08:25 +0000)
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6591 837edb03-e0f3-0310-88ca-d4d4e8b29345

src/badguy/badguy.cpp

index b5d895f..46c0d70 100644 (file)
@@ -29,8 +29,8 @@
 
 static const float SQUISH_TIME = 2;
   
-static const float X_OFFSCREEN_DISTANCE = 1600;
-static const float Y_OFFSCREEN_DISTANCE = 1200;
+static const float X_OFFSCREEN_DISTANCE = 1280;
+static const float Y_OFFSCREEN_DISTANCE = 800;
 
 BadGuy::BadGuy(const Vector& pos, const std::string& sprite_name, int layer) :
   MovingSprite(pos, sprite_name, layer, COLGROUP_DISABLED),