2023-03-22 04:05:49 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Sprite
|
|
|
|
# annoying to track but useful for reloading with +i+ in debug mode; would be
|
|
|
|
# nice to define a different way
|
|
|
|
SPRITES = {
|
2023-04-18 05:51:43 +00:00
|
|
|
train: SpriteInstance.new({ w: 1894, h: 473, path: 'sprites/train.png' }),
|
|
|
|
train_fore: SpriteInstance.new({ w: 1894, h: 473, path: 'sprites/train-fore.png' }),
|
|
|
|
screen: SpriteInstance.new({ w: 250, h: 210, path: 'sprites/screen.png' }),
|
|
|
|
tunnel: SpriteInstance.new({ w: 267, h: 144, path: 'sprites/tunnel.png' }),
|
|
|
|
pause: SpriteInstance.new({ w: 16, h: 16, path: 'sprites/pause.png' }),
|
|
|
|
gray: SpriteInstance.new({ w: 176, h: 148, path: 'sprites/box/gray.png' }),
|
|
|
|
black: SpriteInstance.new({ w: 176, h: 148, path: 'sprites/box/black.png' }),
|
|
|
|
white: SpriteInstance.new({ w: 176, h: 148, path: 'sprites/box/white.png' }),
|
|
|
|
red: SpriteInstance.new({ w: 176, h: 148, path: 'sprites/box/red.png' }),
|
|
|
|
green: SpriteInstance.new({ w: 176, h: 148, path: 'sprites/box/green.png' }),
|
|
|
|
blue: SpriteInstance.new({ w: 176, h: 148, path: 'sprites/box/blue.png' }),
|
2023-05-07 23:35:52 +00:00
|
|
|
cyan: SpriteInstance.new({ w: 176, h: 148, path: 'sprites/box/cyan.png' }),
|
2023-04-18 05:51:43 +00:00
|
|
|
yellow: SpriteInstance.new({ w: 176, h: 148, path: 'sprites/box/yellow.png' }),
|
|
|
|
indigo: SpriteInstance.new({ w: 176, h: 148, path: 'sprites/box/indigo.png' }),
|
|
|
|
violet: SpriteInstance.new({ w: 176, h: 148, path: 'sprites/box/violet.png' }),
|
|
|
|
orange: SpriteInstance.new({ w: 176, h: 148, path: 'sprites/box/orange.png' }),
|
|
|
|
screen_s1: SpriteInstance.new({ w: 250, h: 210, path: 'sprites/screen-s1.png' }),
|
|
|
|
screen_s2: SpriteInstance.new({ w: 250, h: 210, path: 'sprites/screen-s2.png' }),
|
|
|
|
screen_s3: SpriteInstance.new({ w: 250, h: 210, path: 'sprites/screen-s3.png' }),
|
|
|
|
screen_s4: SpriteInstance.new({ w: 250, h: 210, path: 'sprites/screen-s4.png' }),
|
|
|
|
menu: SpriteInstance.new({ w: 1280, h: 720, path: 'sprites/menu.png' }),
|
|
|
|
tunnel_loop: SpriteInstance.new({ w: 1358, h: 720, path: 'sprites/tunnel-loop.png' }),
|
|
|
|
tracks: SpriteInstance.new({ w: 1358, h: 55, path: 'sprites/tracks.png' }),
|
|
|
|
station_loop: SpriteInstance.new({ w: 1811, h: 720, path: 'sprites/station-loop.png' }),
|
|
|
|
station_start: SpriteInstance.new({ w: 618, h: 720, path: 'sprites/station-start.png' }),
|
|
|
|
station_end: SpriteInstance.new({ w: 518, h: 720, path: 'sprites/station-end.png' })
|
2023-03-22 04:05:49 +00:00
|
|
|
}
|
|
|
|
end
|