Skip to content

Commit

Permalink
💿 Add icon to the executable
Browse files Browse the repository at this point in the history
  • Loading branch information
TobseF committed Mar 9, 2019
1 parent 3373181 commit 2c465de
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 25 deletions.
Binary file added build-res/icon.ico
Binary file not shown.
Binary file added build-res/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@ apply(plugin = "korge")

korge {
id = "de.tfr.game.hitclack"
authorName = "TobseF"

name = "HitKlack"
authorName = "TobseF"
description = "Retro console game remake of Mephisto Hit Klack"
gameCategory = GameCategory.ARCADE
orientation = Orientation.PORTRAIT

exeBaseName = "HitKlack"
icon = File("build-res/icon.png")

orientation = Orientation.PORTRAIT

dependencyMulti("com.soywiz:korau-mp3:$korauVersion")
}
2 changes: 1 addition & 1 deletion src/commonMain/kotlin/de/tfr/game/renderer/ButtonTiles.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ButtonTiles : Loadable {
lateinit var buttons: TileSet

override suspend fun create(container: Container) {
val texture = container.image(resourcesVfs["buttons.png"].readBitmap()) {
val texture = container.image(resourcesVfs["images/buttons.png"].readBitmap()) {
visible = false
}
buttons = TileSet(texture.texture as BitmapSlice<Bitmap>, 120, 120)
Expand Down
2 changes: 1 addition & 1 deletion src/commonMain/kotlin/de/tfr/game/renderer/LogoRenderer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class LogoRenderer(val point: Point, val gameFieldSize: Double) : Point by point
container.image(resourcesVfs["images/hitclack_logo.png"].readBitmap()) {
position(point.x - width / 2, point.y - gameFieldSize - 390)
}
container.image(resourcesVfs["korge.png"].readBitmap()) {
container.image(resourcesVfs["images/korge_logo.png"].readBitmap()) {
rotation = (+16).degrees
anchor(.5, .5)
scale(.2)
Expand Down
21 changes: 0 additions & 21 deletions src/commonMain/resources/Segment7.fnt

This file was deleted.

Binary file removed src/commonMain/resources/Segment7.png
Binary file not shown.
File renamed without changes
File renamed without changes

0 comments on commit 2c465de

Please sign in to comment.