tahamajs's picture
download
raw
667 Bytes
using namespace std ;
using namespace sf ;
enum GameState {
MENU,
PLAYING,
PAUSED,
GAME_OVER,
EXIT,
WIN,
RESTART,
DEAD,
LEVELS
};
#pragma once
const int STEP_SIZE = 15 ;
const int WINDOW_WIDTH = 1000 ;
const int WINDOW_HEIGHT = 600 ;
const int DEFAULT_HEALTH = 100 ;
const int SCORE_SI = 1 ;
const int MAX_SCORE = 1000 ;
const float Xgravity = 5 ;
const float Ygravity = 30 ;
const int VIEW_HIGHT = 1000;
const int VIEW_WIDTH = 600;
const int JUMP_SPEED = 55;
const int DEAD_Y_DIRECTION = 5000;
const int DEAD_LIMIT = 4500;
const int RADIOS_OF_MOVEMENT = 100;
const int ENEMY_SPEED = 2;
const int ENEMY_YLIMIT = 7000;
const int MAX_HEALTH = 100;

Xet Storage Details

Size:
667 Bytes
·
Xet hash:
11d70e066a82b52f489d6614725e219dd8ebb19260c187ceaa40050611d62298

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.