Public static void setupExternalFileOutput() įileOutputStream logFileOutputStream = new FileOutputStream(logFile) New LwjglApplication(new FishchickenGame(), cfg).setLogLevel(Application.LOG_DEBUG) LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration() Ĭfg.width = Configuration.getScreenWidth() Ĭfg.height = Configuration.getScreenHeight() Ĭfg.fullscreen = Configuration.isFullscreen() TexturePacker.process("bin/modules/showcase/spells/images/small", "bin/modules/showcase/spells/images/", "spellImages") Ĭonfiguration.createConfiguration(new LwjglFiles()) TexturePacker.process("bin/modules/showcase/perks/images/small", "bin/modules/showcase/perks/images/", "perkImages") TexturePacker.process("bin/modules/showcase/ui/images/game", "bin/modules/showcase/ui/", "uiStyle") TexturePacker.process(settings, "bin/modules/showcase/ui/images/part圜reation", "bin/modules/showcase/ui/", "part圜reationStyle") TexturePacker.process(settings, "bin/modules/showcase/ui/images/startGameMenu", "bin/modules/showcase/ui/", "startGameMenuStyle") TexturePacker.process("bin/images", "bin", "uiStyle") ScriptCompiler compiler = new ScriptCompiler(folderName) Import .lwjgl.LwjglFiles //导入依赖的package包/类īoolean shouldPack = arg.length = 1 & "pack".equals(arg) īoolean shouldCompile = arg.length = 2 & "compile".equals(arg)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |