NEWS: Welcome to my new homepage! <3

const.h - freezo - A retro platform game

freezo

A retro platform game
git clone git://192.168.2.2/freezo
Log | Files | Refs | README

const.h (442B)


      1 #define SCALE 3
      2 #define TILE_WIDTH 8 * SCALE
      3 #define TILE_HEIGHT 8 * SCALE
      4 #define WINDOW_WIDTH 24 * TILE_WIDTH
      5 #define WINDOW_HEIGHT 16 * TILE_HEIGHT
      6 #define PLAYER_WIDTH 8 * SCALE
      7 #define PLAYER_HEIGHT 12 *SCALE
      8 #define ENEMY_WIDTH 8 * SCALE
      9 #define ENEMY_HEIGHT 12 * SCALE
     10 #define PLAYER_HEALTH 6
     11 #define PLAYER_SHOOTING_RANGE 2 * TILE_WIDTH
     12 #define PLAYER_GRAVITY 10
     13 #define FONT_WIDTH 5 * (SCALE - 1)
     14 #define FONT_HEIGHT 7 * (SCALE - 1)