clouds
This commit is contained in:
@@ -27,7 +27,7 @@ public:
|
||||
|
||||
glm::vec2 Position, Size;
|
||||
float gravity = 1600.0f, maxGravity = 2000.0f, hAcceleration = 1600.0f, hDeacceleration = 800.0f, maxSpeed = 300.0f,
|
||||
jumpStrength = -1100.0f, maxWalkingSpeed = 300.0f ,maxRunningSpeed = 450.0f;
|
||||
jumpStrength = -800.0f, maxWalkingSpeed = 300.0f ,maxRunningSpeed = 450.0f;
|
||||
float hSpeed = 0.0f;
|
||||
float vSpeed = 0.0f;
|
||||
//aniamtions
|
||||
@@ -39,7 +39,7 @@ public:
|
||||
Texture Sprite;
|
||||
glm::vec4 spriteUVs;
|
||||
|
||||
tileSet* spriteSheet = new tileSet(Sprite, glm::vec2(10,12));
|
||||
tileSet* spriteSheet = new tileSet(Sprite, glm::ivec2(10,12));
|
||||
|
||||
int state;
|
||||
|
||||
@@ -52,5 +52,4 @@ public:
|
||||
void calcPos(float dt);
|
||||
void animSprite(float dt);
|
||||
private:
|
||||
};
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user