-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1ddb07a
commit 3bb51c8
Showing
24 changed files
with
51 additions
and
47 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,27 @@ | ||
import korlibs.io.file.std.openAsZip | ||
import org.hexworks.zircon.api.builder.application.appConfig | ||
import org.hexworks.zircon.api.builder.application.withSize | ||
import org.hexworks.zircon.api.createApplication | ||
import org.hexworks.zircon.api.resource.Resource | ||
import org.hexworks.zircon.api.resource.ResourceType | ||
import org.hexworks.zircon.api.resource.loadResource | ||
import org.hexworks.zircon.internal.resource.BuiltInCP437TilesetResource | ||
|
||
suspend fun main() { | ||
val tileSize = 16 | ||
val gridCols = 1920 / tileSize | ||
val gridRows = 1080 / tileSize | ||
|
||
// loadResource(Resource.create("rex_files/xptest.xp", ResourceType.PROJECT)).openAsZip() | ||
// | ||
// println("ok") | ||
loadResource(Resource.create("rex_files/xptest.zip", ResourceType.PROJECT)) | ||
|
||
// Applications.createApplication(appConfig { | ||
// size = Size.create(gridCols, gridRows) | ||
|
||
// createApplication(appConfig { | ||
// withSize { | ||
// width = gridCols | ||
// height = gridRows | ||
// } | ||
// defaultTileset = BuiltInCP437TilesetResource.valueOf("REX_PAINT_${tileSize}X${tileSize}") | ||
// debugMode = true | ||
// }).rex().start() | ||
|
||
createApplication(appConfig { | ||
withSize { | ||
width = gridCols | ||
height = gridRows | ||
} | ||
defaultTileset = BuiltInCP437TilesetResource.valueOf("REX_PAINT_${tileSize}X${tileSize}") | ||
debugMode = true | ||
}).components().start() | ||
// }).components().start() | ||
|
||
} |
Empty file.
Binary file not shown.
Empty file.
Binary file not shown.
Empty file.
Binary file not shown.
Empty file.
Binary file added
BIN
+71 Bytes
zircon.examples/src/commonMain/resources/rex_files/glyphs_w_transp_bg.zip
Binary file not shown.
Empty file.
Binary file not shown.
Empty file.
Binary file not shown.
Empty file removed
0
zircon.examples/src/commonMain/resources/rex_files/zircon_logo_nosubtitle_rex.xp
Empty file.
Binary file added
BIN
+1.04 KB
zircon.examples/src/commonMain/resources/rex_files/zircon_logo_nosubtitle_rex.zip
Binary file not shown.