module IconRenderer::Constants

Overview

Various game constants

Defined in:

constants.cr

Constant Summary

COLORS = [[125 / 255, 255 / 255, 0 / 255, 1.0], [0 / 255, 255 / 255, 0 / 255, 1.0], [0 / 255, 255 / 255, 125 / 255, 1.0], [0 / 255, 255 / 255, 255 / 255, 1.0], [0 / 255, 125 / 255, 255 / 255, 1.0], [0 / 255, 0 / 255, 255 / 255, 1.0], [125 / 255, 0 / 255, 255 / 255, 1.0], [255 / 255, 0 / 255, 255 / 255, 1.0], [255 / 255, 0 / 255, 125 / 255, 1.0], [255 / 255, 0 / 255, 0 / 255, 1.0], [255 / 255, 125 / 255, 0 / 255, 1.0], [255 / 255, 255 / 255, 0 / 255, 1.0], [255 / 255, 255 / 255, 255 / 255, 1.0], [185 / 255, 0 / 255, 255 / 255, 1.0], [255 / 255, 185 / 255, 0 / 255, 1.0], [0 / 255, 0 / 255, 0 / 255, 1.0], [0 / 255, 200 / 255, 255 / 255, 1.0], [175 / 255, 175 / 255, 175 / 255, 1.0], [90 / 255, 90 / 255, 90 / 255, 1.0], [255 / 255, 125 / 255, 125 / 255, 1.0], [0 / 255, 175 / 255, 75 / 255, 1.0], [0 / 255, 125 / 255, 125 / 255, 1.0], [0 / 255, 75 / 255, 175 / 255, 1.0], [75 / 255, 0 / 255, 175 / 255, 1.0], [125 / 255, 0 / 255, 125 / 255, 1.0], [175 / 255, 0 / 255, 75 / 255, 1.0], [175 / 255, 75 / 255, 0 / 255, 1.0], [125 / 255, 125 / 255, 0 / 255, 1.0], [75 / 255, 175 / 255, 0 / 255, 1.0], [255 / 255, 75 / 255, 0 / 255, 1.0], [150 / 255, 50 / 255, 0 / 255, 1.0], [150 / 255, 100 / 255, 0 / 255, 1.0], [100 / 255, 150 / 255, 0 / 255, 1.0], [0 / 255, 150 / 255, 100 / 255, 1.0], [0 / 255, 100 / 255, 150 / 255, 1.0], [100 / 255, 0 / 255, 150 / 255, 1.0], [150 / 255, 0 / 255, 100 / 255, 1.0], [150 / 255, 0 / 255, 0 / 255, 1.0], [0 / 255, 150 / 255, 0 / 255, 1.0], [0 / 255, 0 / 255, 150 / 255, 1.0], [125 / 255, 255 / 255, 175 / 255, 1.0], [125 / 255, 125 / 255, 255 / 255, 1.0], [255 / 255, 250 / 255, 127 / 255, 1.0], [250 / 255, 127 / 255, 255 / 255, 1.0], [0 / 255, 255 / 255, 192 / 255, 1.0], [80 / 255, 50 / 255, 14 / 255, 1.0], [205 / 255, 165 / 255, 118 / 255, 1.0], [182 / 255, 128 / 255, 255 / 255, 1.0], [255 / 255, 58 / 255, 58 / 255, 1.0], [77 / 255, 77 / 255, 143 / 255, 1.0], [0 / 255, 10 / 255, 76 / 255, 1.0], [253 / 255, 212 / 255, 206 / 255, 1.0], [190 / 255, 181 / 255, 255 / 255, 1.0], [112 / 255, 0 / 255, 0 / 255, 1.0], [82 / 255, 2 / 255, 0 / 255, 1.0], [56 / 255, 1 / 255, 6 / 255, 1.0], [128 / 255, 79 / 255, 79 / 255, 1.0], [122 / 255, 53 / 255, 53 / 255, 1.0], [81 / 255, 36 / 255, 36 / 255, 1.0], [163 / 255, 98 / 255, 70 / 255, 1.0], [117 / 255, 73 / 255, 54 / 255, 1.0], [86 / 255, 53 / 255, 40 / 255, 1.0], [255 / 255, 185 / 255, 114 / 255, 1.0], [255 / 255, 160 / 255, 64 / 255, 1.0], [102 / 255, 49 / 255, 30 / 255, 1.0], [91 / 255, 39 / 255, 0 / 255, 1.0], [71 / 255, 32 / 255, 0 / 255, 1.0], [167 / 255, 123 / 255, 77 / 255, 1.0], [109 / 255, 83 / 255, 57 / 255, 1.0], [81 / 255, 62 / 255, 42 / 255, 1.0], [255 / 255, 255 / 255, 192 / 255, 1.0], [253 / 255, 224 / 255, 160 / 255, 1.0], [192 / 255, 255 / 255, 160 / 255, 1.0], [177 / 255, 255 / 255, 109 / 255, 1.0], [192 / 255, 255 / 255, 224 / 255, 1.0], [148 / 255, 255 / 255, 228 / 255, 1.0], [67 / 255, 161 / 255, 138 / 255, 1.0], [49 / 255, 109 / 255, 95 / 255, 1.0], [38 / 255, 84 / 255, 73 / 255, 1.0], [0 / 255, 96 / 255, 0 / 255, 1.0], [0 / 255, 64 / 255, 0 / 255, 1.0], [0 / 255, 96 / 255, 96 / 255, 1.0], [0 / 255, 64 / 255, 64 / 255, 1.0], [160 / 255, 255 / 255, 255 / 255, 1.0], [1 / 255, 7 / 255, 112 / 255, 1.0], [0 / 255, 73 / 255, 109 / 255, 1.0], [0 / 255, 50 / 255, 76 / 255, 1.0], [0 / 255, 38 / 255, 56 / 255, 1.0], [80 / 255, 128 / 255, 173 / 255, 1.0], [51 / 255, 83 / 255, 117 / 255, 1.0], [35 / 255, 60 / 255, 86 / 255, 1.0], [224 / 255, 224 / 255, 224 / 255, 1.0], [61 / 255, 6 / 255, 140 / 255, 1.0], [55 / 255, 8 / 255, 96 / 255, 1.0], [64 / 255, 64 / 255, 64 / 255, 1.0], [111 / 255, 73 / 255, 164 / 255, 1.0], [84 / 255, 54 / 255, 127 / 255, 1.0], [66 / 255, 42 / 255, 99 / 255, 1.0], [252 / 255, 181 / 255, 255 / 255, 1.0], [175 / 255, 87 / 255, 175 / 255, 1.0], [130 / 255, 67 / 255, 130 / 255, 1.0], [94 / 255, 49 / 255, 94 / 255, 1.0], [128 / 255, 128 / 255, 128 / 255, 1.0], [102 / 255, 3 / 255, 62 / 255, 1.0], [71 / 255, 1 / 255, 52 / 255, 1.0], [210 / 255, 255 / 255, 50 / 255, 1.0], [118 / 255, 189 / 255, 255 / 255, 1.0]]

Default colors given to you in vanilla GD

Gamemodes = {GamemodeType::Cube => Gamemode.new("player_", false), GamemodeType::Ship => Gamemode.new("ship_", false), GamemodeType::Ball => Gamemode.new("player_ball_", false), GamemodeType::Ufo => Gamemode.new("bird_", false), GamemodeType::Wave => Gamemode.new("dart_", false), GamemodeType::Robot => Gamemode.new("robot_", true), GamemodeType::Spider => Gamemode.new("spider_", true), GamemodeType::Jetpack => Gamemode.new("jetpack_", false), GamemodeType::Swing => Gamemode.new("swing_", false)}

A mapping of GamemodeType to info about the gamemode