2023-03-22 04:05:49 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# first, third-party libraries
|
2023-03-21 05:34:34 +00:00
|
|
|
require 'lib/coalesce.rb'
|
2023-03-08 03:06:29 +00:00
|
|
|
|
2023-03-22 04:05:49 +00:00
|
|
|
# then, some basic classes required for lists of assets
|
2023-03-26 23:28:26 +00:00
|
|
|
require 'app/classes/sprite_instance.rb'
|
|
|
|
require 'app/classes/sound_instance.rb'
|
2023-03-22 04:05:49 +00:00
|
|
|
|
|
|
|
# then, asset lists
|
|
|
|
require 'sprites/_list.rb'
|
2023-03-23 05:16:35 +00:00
|
|
|
require 'sounds/_list.rb'
|
|
|
|
require 'music/_list.rb'
|
2023-03-22 04:05:49 +00:00
|
|
|
|
2023-03-26 23:28:26 +00:00
|
|
|
# then, default keybindings
|
|
|
|
require 'app/keybindings.rb'
|
|
|
|
|
2023-03-22 04:05:49 +00:00
|
|
|
# then, utility classes
|
2023-03-26 23:28:26 +00:00
|
|
|
require 'app/util/sprite.rb'
|
|
|
|
require 'app/util/sound.rb'
|
|
|
|
require 'app/util/music.rb'
|
|
|
|
require 'app/util/util.rb'
|
|
|
|
require 'app/util/input.rb'
|
2023-03-08 03:06:29 +00:00
|
|
|
|
2023-03-21 05:34:34 +00:00
|
|
|
require 'app/constants.rb'
|
|
|
|
require 'app/menu.rb'
|
|
|
|
require 'app/scene.rb'
|
|
|
|
require 'app/game_setting.rb'
|
|
|
|
require 'app/text.rb'
|
2023-03-08 03:06:29 +00:00
|
|
|
|
2023-03-22 04:05:49 +00:00
|
|
|
# then, the scenes
|
2023-03-21 05:34:34 +00:00
|
|
|
require 'app/scenes/gameplay.rb'
|
|
|
|
require 'app/scenes/main_menu.rb'
|
|
|
|
require 'app/scenes/paused.rb'
|
|
|
|
require 'app/scenes/settings.rb'
|
|
|
|
require 'app/scenes/cube_tube.rb'
|
2023-03-08 03:44:14 +00:00
|
|
|
|
2023-03-22 04:05:49 +00:00
|
|
|
# finally, the main tick
|
|
|
|
# NOTE: add all other requires above this
|
2023-03-21 05:34:34 +00:00
|
|
|
require 'app/tick.rb'
|