From 53c2840d1f15a28d6973317d182dd7acd0147391 Mon Sep 17 00:00:00 2001 From: shylie Date: Thu, 17 Jul 2025 19:09:00 -0400 Subject: [PATCH] Initial commit --- .gitmodules | 3 ++ LICENSE | 20 +++++++++ circle.png | Bin 0 -> 124 bytes main.lua | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++++ zprite | 1 + 5 files changed, 150 insertions(+) create mode 100644 .gitmodules create mode 100644 LICENSE create mode 100644 circle.png create mode 100644 main.lua create mode 160000 zprite diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..7b7d87f --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "zprite"] + path = zprite + url = https://git.shylie.info/shylie/zprite.git diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..53dde2b --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2025 shylie + +This software is provided ‘as-is’, without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not +claim that you wrote the original software. If you use this software +in a product, an acknowledgment in the product documentation would be +appreciated but is not required. + +2. Altered source versions must be plainly marked as such, and must not be +misrepresented as being the original software. + +3. This notice may not be removed or altered from any source +distribution. diff --git a/circle.png b/circle.png new file mode 100644 index 0000000000000000000000000000000000000000..ed34f113798083c53c023fef2ae7e30bc69ec31a GIT binary patch literal 124 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|%sgEjLnNk_ z_IdI#DDW^X{P;iqSht#}=J7<%BNJ5?cB&Z8 5 then + scale = 5 + end + end +end + +local t = love.math.newTransform() + +function love.draw() + for _, chunk in pairs(z._chunks) do + chunk.z._height_scale = 12 * scale + end + t:reset() + t:translate(love.graphics.getWidth() / 2, love.graphics.getHeight() / 2) + t:scale(scale, scale) + t:rotate(angle) + t:translate(x, y) + z:draw(t) +end diff --git a/zprite b/zprite new file mode 160000 index 0000000..6eba579 --- /dev/null +++ b/zprite @@ -0,0 +1 @@ +Subproject commit 6eba579c969700428afdfe4d67c670d5400405ae