Sha256: b1998e404e1f676f006bdcc8999b5b8c9f64c110cbf7872f1cb0432af97b7a72
Contents?: true
Size: 1 KB
Versions: 5
Compression:
Stored size: 1 KB
Contents
APP_ROOT = "#{File.join(File.dirname(__FILE__),"..")}/" require 'yaml' require 'gamebox' require 'releasy' Gamebox.configure do |config| config.config_path = APP_ROOT + "config/" config.data_path = APP_ROOT + "data/" config.music_path = APP_ROOT + "data/music/" config.sound_path = APP_ROOT + "data/sounds/" config.gfx_path = APP_ROOT + "data/graphics/" config.fonts_path = APP_ROOT + "data/fonts/" config.gb_config_path = GAMEBOX_PATH + "config/" config.gb_data_path = GAMEBOX_PATH + "data/" config.gb_music_path = GAMEBOX_PATH + "data/music/" config.gb_sound_path = GAMEBOX_PATH + "data/sounds/" config.gb_gfx_path = GAMEBOX_PATH + "data/graphics/" config.gb_fonts_path = GAMEBOX_PATH + "data/fonts/" # config.stages = [:demo] # config.game_name = "Untitled Game" end [GAMEBOX_PATH, APP_ROOT, File.join(APP_ROOT,'src')].each{|path| $: << path } require "gamebox_application" require_all Dir.glob("{src,lib}/**/*.rb").reject{ |f| f.match("src/app.rb")}
Version data entries
5 entries across 5 versions & 1 rubygems