From eb1f079b01a4969090796d113d692bb9caa061da Mon Sep 17 00:00:00 2001 From: s-ol Date: Mon, 26 Nov 2018 19:32:31 +1100 Subject: metadata --- .../blog/love_lua_photoshop_and_games/mmm$tpl -> text$markdown.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'root/blog') diff --git a/root/blog/love_lua_photoshop_and_games/mmm$tpl -> text$markdown.md b/root/blog/love_lua_photoshop_and_games/mmm$tpl -> text$markdown.md index 7506135..85d6ce9 100644 --- a/root/blog/love_lua_photoshop_and_games/mmm$tpl -> text$markdown.md +++ b/root/blog/love_lua_photoshop_and_games/mmm$tpl -> text$markdown.md @@ -24,9 +24,7 @@ Specifically, I started writing something that loads a .PSD directly and animate I also added code that detects file changes and reloads them automatically. At the end of the second project day, I had this: - + The code for this isn't much, but it took a few iterations to make the file- reload-watching reuseable and work on Linux and Windows alike (and efficient). I used a 3rd party library for loading the photoshop files, but I had to patch it a lot. @@ -116,7 +114,7 @@ Because this could also be done by a mixin, i am thinking about abolishing the _ You can see the system working in this clip: - + _making an animation out of the single rain layer_ Moreover, I added a directory structure for mixins; to load a mixin called _name _for a scene called _scene_, it first looks in the scene specific directories: @@ -225,7 +223,7 @@ Here's the code for both: By the end of the three day "test phase". This is how the first scene looked in-game: - + Here's _psdscene.moon_, wrapping most things mentioned in this article: -- cgit v1.2.3