3 Commits
v0.1.0 ... main

Author SHA1 Message Date
2c265545cb update to .jecs 2026-05-28 21:36:26 -04:00
Christopher Peredy
ba7d604dfa Automate release with release script 2021-11-08 18:55:07 +01:00
Christopher Peredy
ebb5efdd99 Improve background hover and pressed colors 2021-11-07 13:25:30 +01:00
11 changed files with 83 additions and 44 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
FlatLogicWorld_v*.zip

View File

@@ -1,5 +1,5 @@
ID: FlatLogicWorld
Name: Flat Logic World
Author: ChrisP
Version: 0.1.0
Version: !VERSION!
Priority: 0

View File

@@ -9,8 +9,8 @@
# WARNING: On hovered settings boxes, "Primary" is mixing with "Accent" (slightly
# transparent "Accent" is added)!
Primary : 263238
PrimaryHovered : 4f5b62
PrimaryPressed : 000a12
PrimaryHovered : 37474f
PrimaryPressed : 212121
# Used for:
# - Panels
@@ -18,8 +18,8 @@ PrimaryPressed : 000a12
# - Scroll bar (in settings menu)
# NOTE: "SecondaryHovered" and "SecondaryPressed" only used on active tab item header
Secondary : 212121
SecondaryHovered : 484848
SecondaryPressed : 181818
SecondaryHovered : 3a3a3a
SecondaryPressed : 1b1b1b
# Used for:
# - Borders
@@ -29,8 +29,8 @@ SecondaryPressed : 181818
# - Hotbar item border (not selected)
# NOTE: "TertiaryHovered" on "TertiaryPressed" never used
Tertiary : 263238
TertiaryHovered : 4f5b62
TertiaryPressed : 000a12
TertiaryHovered : 37474f
TertiaryPressed : 212121
# Used for:
# - Deactivated switch background and handle

View File

@@ -9,8 +9,8 @@
# WARNING: On hovered settings boxes, "Primary" is mixing with "Accent" (slightly
# transparent "Accent" is added)!
Primary : 263238
PrimaryHovered : 4f5b62
PrimaryPressed : 000a12
PrimaryHovered : 37474f
PrimaryPressed : 212121
# Used for:
# - Panels
@@ -18,8 +18,8 @@ PrimaryPressed : 000a12
# - Scroll bar (in settings menu)
# NOTE: "SecondaryHovered" and "SecondaryPressed" only used on active tab item header
Secondary : 212121
SecondaryHovered : 484848
SecondaryPressed : 181818
SecondaryHovered : 3a3a3a
SecondaryPressed : 1b1b1b
# Used for:
# - Borders
@@ -29,8 +29,8 @@ SecondaryPressed : 181818
# - Hotbar item border (not selected)
# NOTE: "TertiaryHovered" on "TertiaryPressed" never used
Tertiary : 263238
TertiaryHovered : 4f5b62
TertiaryPressed : 000a12
TertiaryHovered : 37474f
TertiaryPressed : 212121
# Used for:
# - Deactivated switch background and handle

View File

@@ -9,8 +9,8 @@
# WARNING: On hovered settings boxes, "Primary" is mixing with "Accent" (slightly
# transparent "Accent" is added)!
Primary : 263238
PrimaryHovered : 4f5b62
PrimaryPressed : 000a12
PrimaryHovered : 37474f
PrimaryPressed : 212121
# Used for:
# - Panels
@@ -18,8 +18,8 @@ PrimaryPressed : 000a12
# - Scroll bar (in settings menu)
# NOTE: "SecondaryHovered" and "SecondaryPressed" only used on active tab item header
Secondary : 212121
SecondaryHovered : 484848
SecondaryPressed : 181818
SecondaryHovered : 3a3a3a
SecondaryPressed : 1b1b1b
# Used for:
# - Borders
@@ -29,8 +29,8 @@ SecondaryPressed : 181818
# - Hotbar item border (not selected)
# NOTE: "TertiaryHovered" on "TertiaryPressed" never used
Tertiary : 263238
TertiaryHovered : 4f5b62
TertiaryPressed : 000a12
TertiaryHovered : 37474f
TertiaryPressed : 212121
# Used for:
# - Deactivated switch background and handle

View File

@@ -9,8 +9,8 @@
# WARNING: On hovered settings boxes, "Primary" is mixing with "Accent" (slightly
# transparent "Accent" is added)!
Primary : 263238
PrimaryHovered : 4f5b62
PrimaryPressed : 000a12
PrimaryHovered : 37474f
PrimaryPressed : 212121
# Used for:
# - Panels
@@ -18,8 +18,8 @@ PrimaryPressed : 000a12
# - Scroll bar (in settings menu)
# NOTE: "SecondaryHovered" and "SecondaryPressed" only used on active tab item header
Secondary : 212121
SecondaryHovered : 484848
SecondaryPressed : 181818
SecondaryHovered : 3a3a3a
SecondaryPressed : 1b1b1b
# Used for:
# - Borders
@@ -29,8 +29,8 @@ SecondaryPressed : 181818
# - Hotbar item border (not selected)
# NOTE: "TertiaryHovered" on "TertiaryPressed" never used
Tertiary : 263238
TertiaryHovered : 4f5b62
TertiaryPressed : 000a12
TertiaryHovered : 37474f
TertiaryPressed : 212121
# Used for:
# - Deactivated switch background and handle

View File

@@ -9,8 +9,8 @@
# WARNING: On hovered settings boxes, "Primary" is mixing with "Accent" (slightly
# transparent "Accent" is added)!
Primary : 263238
PrimaryHovered : 4f5b62
PrimaryPressed : 000a12
PrimaryHovered : 37474f
PrimaryPressed : 212121
# Used for:
# - Panels
@@ -18,8 +18,8 @@ PrimaryPressed : 000a12
# - Scroll bar (in settings menu)
# NOTE: "SecondaryHovered" and "SecondaryPressed" only used on active tab item header
Secondary : 212121
SecondaryHovered : 484848
SecondaryPressed : 181818
SecondaryHovered : 3a3a3a
SecondaryPressed : 1b1b1b
# Used for:
# - Borders
@@ -29,8 +29,8 @@ SecondaryPressed : 181818
# - Hotbar item border (not selected)
# NOTE: "TertiaryHovered" on "TertiaryPressed" never used
Tertiary : 263238
TertiaryHovered : 4f5b62
TertiaryPressed : 000a12
TertiaryHovered : 37474f
TertiaryPressed : 212121
# Used for:
# - Deactivated switch background and handle

View File

@@ -9,8 +9,8 @@
# WARNING: On hovered settings boxes, "Primary" is mixing with "Accent" (slightly
# transparent "Accent" is added)!
Primary : 263238
PrimaryHovered : 4f5b62
PrimaryPressed : 000a12
PrimaryHovered : 37474f
PrimaryPressed : 212121
# Used for:
# - Panels
@@ -18,8 +18,8 @@ PrimaryPressed : 000a12
# - Scroll bar (in settings menu)
# NOTE: "SecondaryHovered" and "SecondaryPressed" only used on active tab item header
Secondary : 212121
SecondaryHovered : 484848
SecondaryPressed : 181818
SecondaryHovered : 3a3a3a
SecondaryPressed : 1b1b1b
# Used for:
# - Borders
@@ -29,8 +29,8 @@ SecondaryPressed : 181818
# - Hotbar item border (not selected)
# NOTE: "TertiaryHovered" on "TertiaryPressed" never used
Tertiary : 263238
TertiaryHovered : 4f5b62
TertiaryPressed : 000a12
TertiaryHovered : 37474f
TertiaryPressed : 212121
# Used for:
# - Deactivated switch background and handle

View File

@@ -9,8 +9,8 @@
# WARNING: On hovered settings boxes, "Primary" is mixing with "Accent" (slightly
# transparent "Accent" is added)!
Primary : 263238
PrimaryHovered : 4f5b62
PrimaryPressed : 000a12
PrimaryHovered : 37474f
PrimaryPressed : 212121
# Used for:
# - Panels
@@ -18,8 +18,8 @@ PrimaryPressed : 000a12
# - Scroll bar (in settings menu)
# NOTE: "SecondaryHovered" and "SecondaryPressed" only used on active tab item header
Secondary : 212121
SecondaryHovered : 484848
SecondaryPressed : 181818
SecondaryHovered : 3a3a3a
SecondaryPressed : 1b1b1b
# Used for:
# - Borders
@@ -29,8 +29,8 @@ SecondaryPressed : 181818
# - Hotbar item border (not selected)
# NOTE: "TertiaryHovered" on "TertiaryPressed" never used
Tertiary : 263238
TertiaryHovered : 4f5b62
TertiaryPressed : 000a12
TertiaryHovered : 37474f
TertiaryPressed : 212121
# Used for:
# - Deactivated switch background and handle

View File

@@ -2,7 +2,7 @@
<a href="https://github.com/mastercaution/FlatLogicWorld/releases">
<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/mastercaution/FlatLogicWorld?logo=github&style=flat-square" /></a>
<a href="https://logicworld.net/" >
<img alt="Logic World Version" src="https://img.shields.io/badge/Logic%20World-v0.90-informational?style=flat-square" /></a>
<img alt="Logic World Version" src="https://img.shields.io/badge/Logic%20World-v0.90.1-informational?style=flat-square" /></a>
</p>
@@ -41,6 +41,13 @@ Mod support in Logic World is not finished yet but the mod directory can already
<img alt="Component Selection Presentation" src="https://user-images.githubusercontent.com/16451370/138568439-1233439a-7b93-4853-a55a-af2e60d1d299.gif" />
</p>
## "Build" it Yourself
You can create the release ZIP file yourself by simply executing the `release.sh` script (Linux only, needs `sed` and `zip` (default on most distros)):
```
utils/release.sh
```
This script will automatically cut out all unnecessary comments and create a ZIP file. The content can be placed directly into the mod folder of Logic World.
> :warning: The version number is taken from the latest git tag.
## Acknowledgements
Huge thanks to Mouse Hat Games (especially Jimmy) for the great game and the modularity making it super easy to create custom themes and other mods!

31
utils/release.sh Executable file
View File

@@ -0,0 +1,31 @@
#!/bin/sh
dirname $(readlink -f "$0")
if git rev-parse --git-dir > /dev/null 2>&1; then
VERSION=$(git describe --tag)
else
VERSION="vUNKNOWN"
fi
PREFIX="v"
VERSION_NR=${VERSION#$PREFIX}
mkdir -p build
cp -ru FlatLogicWorld build
IFS_BACKUP=$IFS
IFS=$'\n'
FILES=build/FlatLogicWorld/palettes/*.succ
for palette in $FILES ; do
sed -i '1,2p; /^[[:blank:]]*#/d;s/#.*//' $palette
sed -i 's/[ \t]*$//' $palette
done
IFS=$IFS_BACKUP
sed -i "s/!VERSION!/$VERSION_NR/" build/FlatLogicWorld/manifest.succ
cd build
zip -FSr ../FlatLogicWorld_$VERSION.zip FlatLogicWorld
cd ..
rm -rf build