Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 6, 2017, 4:06:54 PM (8 years ago)
Author:
vyang
Message:

TestLevel Design → immer noch mit Fehlermeldungen, Asteroiden in der death() Methode von AsteroidsStone spawnen oder im game?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Asteroid_HS17/src/modules/asteroids/AsteroidsShip.h

    r11528 r11541  
    7272            int lives;
    7373            float angle, radius;
    74             float speed, damping, posforeward;
     74            float damping, posforeward;
    7575            bool isFireing;
     76            float dx, dy;
     77            const float maxspeed = 500;
     78            const float cameradistance = 100;
    7679
    7780            //Nachschauen wie gross das Spielfeld ist!
    78             float H = 1000;
    79             float W = 1000;
     81            float height;
     82            float width;
     83
     84
    8085
    8186        protected:
     
    8893            Camera* camera;
    8994            float lastTimeFront, lastTimeLeft, lastTime;
    90             struct Velocity
     95            struct Vector
    9196            {
    9297                float x;
    9398                float y;
    94             } velocity, desiredVelocity;
     99            }force, velocity
    95100           
    96101    };
Note: See TracChangeset for help on using the changeset viewer.