Skip to content

Commit

Permalink
readme issue
Browse files Browse the repository at this point in the history
  • Loading branch information
IntangibleMatter committed Oct 9, 2023
1 parent ec93265 commit 80734da
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
6 changes: 3 additions & 3 deletions export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path=".build/linux/metaballs.x86_64"
export_path=".build/metaballs-linux/metaballs.x86_64"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
Expand Down Expand Up @@ -48,7 +48,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path=".build/macos/metaballs.zip"
export_path=".build/metaballs-macos/metaballs.zip"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
Expand Down Expand Up @@ -151,7 +151,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path=".build/windows/metaballs.exe"
export_path=".build/metaballs-windows/metaballs.exe"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
Expand Down
9 changes: 9 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,12 @@ Cycle through the colours in the open folder

Toggle displaying the name of the palette on screen when it gets loaded.

`Space`:

Toggle fullscreen

`Esc`

Quit


4 changes: 2 additions & 2 deletions view.gd
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func load_palettes(folder: String) -> void:
p_names.clear()
var location : String = "res://palettes/%s" % folder if folder != "user" else "user://palettes"
for p in DirAccess.get_files_at(location):
pallettes.append(load("{0}/{1}".format([location, p])))
p_names.append(p)
pallettes.append(load("{0}/{1}".format([location, p.replace(".remap", "")])))
p_names.append(p.replace(".remap", ""))
p_index = p_index % pallettes.size()
set_palette(p_index)

0 comments on commit 80734da

Please sign in to comment.