Module: MazePuzzle

Includes:
Gosu
Defined in:
lib/games_and_rpg_paradise/gui/gosu/maze_puzzle/game_window.rb

Overview

#

Defined Under Namespace

Classes: GameWindow

Constant Summary collapse

DIMENSION =
#

DIMENSION

#
700
180
ROWS =
COLS = 10
PLAYER_COLOR_PRIMARY =
Color::GREEN
PLAYER_COLOR_SECONDARY =
Color::AQUA
PLAYER_COLOR_ANGRY =
Color::RED
STEP_RATE =

the rate of character speed, in pixel, the higher step rate the slower character will move

4
TITLE =

TITLE

'Maze'
TARGET_CELL_INDEX_X =

Change this if you don’t want it to be at bottom right

COLS - 1
TARGET_CELL_INDEX_Y =
ROWS - 1

Constants included from Gosu

Gosu::COLOUR_AQUA, Gosu::COLOUR_BLACK, Gosu::COLOUR_BLUE, Gosu::COLOUR_CYAN, Gosu::COLOUR_FUCHSIA, Gosu::COLOUR_GOLD, Gosu::COLOUR_GRAY, Gosu::COLOUR_GREEN, Gosu::COLOUR_NONE, Gosu::COLOUR_RED, Gosu::COLOUR_STEELBLUE, Gosu::COLOUR_WHITE, Gosu::COLOUR_YELLOW

Method Summary

Methods included from Gosu

#gosu_tilable_image