diff --git a/README.md b/README.md index 612b2d7..2264b1c 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,12 @@ `$ ./build.sh` to build.` ## Texture packs +System packages required: `imagemagick`. Default pack by Masséna. Programmer art by KikooDX. ### How to install + Clone this repo. `$ git clone https://gitea.planet-casio.com/KikooDX/jtmm` diff --git a/src/main.c b/src/main.c index cff2349..ea12d60 100644 --- a/src/main.c +++ b/src/main.c @@ -85,10 +85,7 @@ int main(void) DRAW_LEVEL(); draw_player(player_x, player_y); //drill - if (drill_toggle) - { - draw_player(drill_x, drill_y); - } + if (drill_toggle) draw_player(drill_x, drill_y); draw_timer(step/2); dupdate(); } diff --git a/up-editor/force_img/elevator.png b/up-editor/force_img/elevator.png deleted file mode 100644 index 6509581..0000000 Binary files a/up-editor/force_img/elevator.png and /dev/null differ diff --git a/up-editor/img/blue.png b/up-editor/img/blue.png index 32677ea..c74bb48 100644 Binary files a/up-editor/img/blue.png and b/up-editor/img/blue.png differ diff --git a/up-editor/img/blue_dot.png b/up-editor/img/blue_dot.png index 8e53f6d..d1c5eeb 100644 Binary files a/up-editor/img/blue_dot.png and b/up-editor/img/blue_dot.png differ diff --git a/up-editor/img/bouncer.png b/up-editor/img/bouncer.png index 7c77d59..1a7706a 100644 Binary files a/up-editor/img/bouncer.png and b/up-editor/img/bouncer.png differ diff --git a/up-editor/img/dust.png b/up-editor/img/dust.png index 53b6f13..a55e46f 100644 Binary files a/up-editor/img/dust.png and b/up-editor/img/dust.png differ diff --git a/up-editor/img/elevator.png b/up-editor/img/elevator.png index 6509581..a584349 100644 Binary files a/up-editor/img/elevator.png and b/up-editor/img/elevator.png differ diff --git a/up-editor/img/exit.png b/up-editor/img/exit.png index 7c5168e..a81d9b3 100644 Binary files a/up-editor/img/exit.png and b/up-editor/img/exit.png differ diff --git a/up-editor/img/glue.png b/up-editor/img/glue.png index 3a83b68..3641c63 100644 Binary files a/up-editor/img/glue.png and b/up-editor/img/glue.png differ diff --git a/up-editor/img/ice.png b/up-editor/img/ice.png index 3841df5..385629e 100644 Binary files a/up-editor/img/ice.png and b/up-editor/img/ice.png differ diff --git a/up-editor/img/player.png b/up-editor/img/player.png index 9facc63..56ab901 100644 Binary files a/up-editor/img/player.png and b/up-editor/img/player.png differ diff --git a/up-editor/img/red.png b/up-editor/img/red.png index 742a94b..a0e9469 100644 Binary files a/up-editor/img/red.png and b/up-editor/img/red.png differ diff --git a/up-editor/img/red_dot.png b/up-editor/img/red_dot.png index ab486e8..9bc3931 100644 Binary files a/up-editor/img/red_dot.png and b/up-editor/img/red_dot.png differ diff --git a/up-editor/img/secret.png b/up-editor/img/secret.png index 80af0bc..557b185 100644 Binary files a/up-editor/img/secret.png and b/up-editor/img/secret.png differ diff --git a/up-editor/img/semi_solid.png b/up-editor/img/semi_solid.png index 675a79c..c933803 100644 Binary files a/up-editor/img/semi_solid.png and b/up-editor/img/semi_solid.png differ diff --git a/up-editor/img/solid_0.png b/up-editor/img/solid_0.png index 7c1192b..ccd093b 100644 Binary files a/up-editor/img/solid_0.png and b/up-editor/img/solid_0.png differ diff --git a/up-editor/img/solid_1.png b/up-editor/img/solid_1.png index 7c1192b..ccd093b 100644 Binary files a/up-editor/img/solid_1.png and b/up-editor/img/solid_1.png differ diff --git a/up-editor/img/spawn.png b/up-editor/img/spawn.png index 63fdde8..e5c351c 100644 Binary files a/up-editor/img/spawn.png and b/up-editor/img/spawn.png differ diff --git a/up-editor/img/spike.png b/up-editor/img/spike.png index eeb60f1..30fa260 100644 Binary files a/up-editor/img/spike.png and b/up-editor/img/spike.png differ diff --git a/up-editor/img/teleporter_0.png b/up-editor/img/teleporter_0.png index 6cedf23..89c18cf 100644 Binary files a/up-editor/img/teleporter_0.png and b/up-editor/img/teleporter_0.png differ diff --git a/up-editor/img/teleporter_1.png b/up-editor/img/teleporter_1.png index 6cedf23..89c18cf 100644 Binary files a/up-editor/img/teleporter_1.png and b/up-editor/img/teleporter_1.png differ diff --git a/up-editor/img/water.png b/up-editor/img/water.png index 0e923fe..bd78440 100644 Binary files a/up-editor/img/water.png and b/up-editor/img/water.png differ diff --git a/up-editor/update.sh b/up-editor/update.sh index 8f795cd..61dfa55 100755 --- a/up-editor/update.sh +++ b/up-editor/update.sh @@ -2,4 +2,7 @@ rm -dr img echo "Repertory 'img' deleted" cp -r ../assets-cg/img/ img/ -v cp force_img/* img/ -v +echo "Crop textures" +cd img +mogrify -verbose -crop 16x16+0+0 * echo "Done"