So, after the general fustercluckery of my Niblette codebase, I wanted to take a day to try and actually learn some better patterns in lua. This was quite a bit of looking through other people's games/code, doing some searching online.
In particular, I spent the better part of the day studying @anthonysavatar's game Heliopause, which had some really useful reference on how to actually create what i want out of classes. Thank youuu!!!
I'm still nominally more interested in working on the other project, i just wanted a smaller sandbox to learn in. Also, @deKay's cats and also dogs game made me want to make a little white cat with a derpy walk cycle :p
Hey Jade, I'm glad the metatable classes in heliopause helped. It took me a little time to figure those out, I'm still a lua noob. Apologies for the total lack of indentation! Was trying to keep it under the 15k compressed character limit. I can't imagine writing a game without classes anymore.
I'm working on porting heliopause to love2d as a learning exercise. I'd like to try some shader effects and a bit higher resolution display. I'm keeping the pico-8 feel though :-D
[Please log in to post a comment]