Skip to content

Commit

Permalink
Merge pull request #57 from BlazingTwist/35-themes-migrieren-hunter
Browse files Browse the repository at this point in the history
added hunter theme
  • Loading branch information
BlazingTwist authored Jan 27, 2024
2 parents b209f3d + 6a14ab8 commit 6a1fda8
Show file tree
Hide file tree
Showing 48 changed files with 140 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,4 @@ jchess.iml
src/main/jchess-web/package-lock.json
src/main/jchess-web/.idea
src/main/jchess-web/models
src/main/jchess-web/.env
3 changes: 3 additions & 0 deletions .idea/jsonSchemas.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/main/resources/jchess/GameConfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"themes": [
"./themeV2/theme_default.json",
"./themeV2/theme_matlak.json"
"./themeV2/theme_matlak.json",
"./themeV2/theme_hunter.json"
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
134 changes: 134 additions & 0 deletions src/main/resources/jchess/themeV2/theme_hunter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
{
"displayName": "Hunter",
"boardTheme": {
"layouts": [
{
"layoutId": "hex3p",
"tileSize": {
"x": 30,
"y": 32
},
"tileStride": {
"x": 15,
"y": 24
},
"tiles": [
"./hunter/board_hex3/hex-Light.png",
"./hunter/board_hex3/hex-Medium.png",
"./hunter/board_hex3/hex-Dark.png"
],
"markers": [
{
"markerType": "yesAction",
"icon": "./hunter/board_hex3/hexMarker_yesAction.png"
},
{
"markerType": "noAction",
"icon": "./hunter/board_hex3/hexMarker_noAction.png"
},
{
"markerType": "selected",
"icon": "./hunter/board_hex3/hexMarker_selected.png"
}
]
},
{
"layoutId": "square2p",
"tileSize": {
"x": 50,
"y": 50
},
"tileStride": {
"x": 50,
"y": 50
},
"tiles": [
"./hunter/board_square/tile-Light.png",
"./hunter/board_square/tile-Dark.png"
],
"markers": [
{
"markerType": "yesAction",
"icon": "./hunter/board_square/tileMarker_yesAction.png"
},
{
"markerType": "noAction",
"icon": "./hunter/board_square/tileMarker_noAction.png"
},
{
"markerType": "selected",
"icon": "./hunter/board_square/tileMarker_selected.png"
}
]
}
]
},
"piecesTheme": {
"playerColors": [
{
"colorCode": "#ffffff",
"fileSuffix": "-W"
},
{
"colorCode": "#000000",
"fileSuffix": "-B"
},
{
"colorCode": "#745dad",
"fileSuffix": "-M"
}
],
"pieces": [
{
"pieceType": "Rook",
"pathPrefix": "./hunter/piece/Rook",
"pathSuffix": ".png"
},
{
"pieceType": "Knight",
"pathPrefix": "./hunter/piece/Knight",
"pathSuffix": ".png"
},
{
"pieceType": "Bishop",
"pathPrefix": "./hunter/piece/Bishop",
"pathSuffix": ".png"
},
{
"pieceType": "Queen",
"pathPrefix": "./hunter/piece/Queen",
"pathSuffix": ".png"
},
{
"pieceType": "King",
"pathPrefix": "./hunter/piece/King",
"pathSuffix": ".png"
},
{
"pieceType": "Pawn",
"pathPrefix": "./hunter/piece/Pawn",
"pathSuffix": ".png"
},
{
"pieceType": "Archer",
"pathPrefix": "./hunter/piece/Archer",
"pathSuffix": ".png"
},
{
"pieceType": "Pegasus",
"pathPrefix": "./hunter/piece/Pegasus",
"pathSuffix": ".png"
},
{
"pieceType": "Catapult",
"pathPrefix": "./hunter/piece/Catapult",
"pathSuffix": ".png"
},
{
"pieceType": "Skrull",
"pathPrefix": "./hunter/piece/Skrull",
"pathSuffix": ".png"
}
]
}
}

0 comments on commit 6a1fda8

Please sign in to comment.