module D_oom

Overview

The main module

Defined in:

d_oom.cr
d_oom/global_constants.cr
d_oom/play.cr

Constant Summary

FOV_BASE_HEIGHT = 3
FOV_BASE_WIDTH = 4
PLAYER_FOV = 45
PLAYER_SPEED_X = 1
PLAYER_SPEED_Z = 1
PLAYER_VIEWPORT_HEIGHT = 600
PLAYER_VIEWPORT_WIDTH = 800
PLAYER_VIEWPORT_X = (WINDOW_RES_X / 2) - (PLAYER_VIEWPORT_WIDTH / 2)
PLAYER_VIEWPORT_Y = (WINDOW_RES_Y / 2) - (PLAYER_VIEWPORT_HEIGHT / 2)
VIEWPORT_RES_X = 800
VIEWPORT_RES_Y = 600
WINDOW_RES_X = 1024
WINDOW_RES_Y = 768

Class Method Summary

Class Method Detail

def self.run #

[View source]