Hi,
I have fond memories of playing around with SDL back when I started programming. Nothing serious, just a playground for stupid games plus practicing programming a bit.
Fast forward ten years, nostalgia hit me and I want to fool around in 2d games again. I want to make a top-down tileset based game, nothing crazy, a Harvest Moon clone or something.
I prefer to learn inspecting an existing project rather than following tutorials. I did a quick GitHub search, but most of the projects are somewhat broken or don’t even run with 11.3.
This one looks good though: https://github.com/john-cheesman/love2d-top-down
Do you guys have any suggestions of a simple (yet functional) open-source game that I could use to study? (a small JRPG would be perfect)
Thanks for all the löve!
Looking for a codebase to study
Looking for a codebase to study
English is not my first language, apologies in advance.
-
- Party member
- Posts: 559
- Joined: Wed Oct 05, 2016 11:53 am
Re: Looking for a codebase to study
Forum user D0NM has Zabuyaki's code available on github.
In addition, there are several games on steam made with LÖVE, and if you purchase those games you could technically just change the .exe file extension to .zip, and take a look inside the contents. Not guaranteed to work with 11.x, but in fairly many cases it's trivial to write wrapper functions around the API changes, or you can just use something like polyamory.
In addition, there are several games on steam made with LÖVE, and if you purchase those games you could technically just change the .exe file extension to .zip, and take a look inside the contents. Not guaranteed to work with 11.x, but in fairly many cases it's trivial to write wrapper functions around the API changes, or you can just use something like polyamory.
Re: Looking for a codebase to study
The sources for https://store.steampowered.com/app/7735 ... Dev_Studio can be found here http://www.gamedevstudiogame.com/
Should fit your own planned game pretty good.
Should fit your own planned game pretty good.
Re: Looking for a codebase to study
If anyone decides to study our code, please share any feedback or comments with us. I'm sure some of our stuff could be greatly improved.
Zabuyaki, our upcoming beat 'em up: https://www.zabuyaki.com
Re: Looking for a codebase to study
The ressource from which I've learn the most is the bytepath tutorial here: https://github.com/adnzzzzZ/blog
Re: Looking for a codebase to study
I just purchased BYTEPATH, which is the same game from the tutorial recommended by 4vZEROv here in the thread. However, looks like this guy made something with the file encoding to prevent that:MrFariator wrote: ↑Fri Dec 27, 2019 3:58 am Forum user D0NM has Zabuyaki's code available on github.
In addition, there are several games on steam made with LÖVE, and if you purchase those games you could technically just change the .exe file extension to .zip, and take a look inside the contents. Not guaranteed to work with 11.x, but in fairly many cases it's trivial to write wrapper functions around the API changes, or you can just use something like polyamory.
The author probably did that on purpose, since he sells the source code.
Oh, and polyamory sounds like a lifesaver for what I was doing.
English is not my first language, apologies in advance.
Re: Looking for a codebase to study
I'm definitely taking a look at those, especially seeing how well is documented, thank you. By the way, that web documentation, is it something common for lua projects (like Doxygen for C++)?Nelvin wrote: ↑Fri Dec 27, 2019 6:35 am The sources for https://store.steampowered.com/app/7735 ... Dev_Studio can be found here http://www.gamedevstudiogame.com/
Should fit your own planned game pretty good.
English is not my first language, apologies in advance.
Re: Looking for a codebase to study
5k+ commits... that's impressive. Did you guys make any game prior to Zanbuyaki?
English is not my first language, apologies in advance.
Re: Looking for a codebase to study
Zabuyaki is our first LÖVE game. It has loads of commits because we're unskilled yet persistent.
Before that we made Whip-a-Wimp, a simple dungeon crawler made with Cocos2D-JS.
Zabuyaki, our upcoming beat 'em up: https://www.zabuyaki.com
Re: Looking for a codebase to study
Your game looks great - if that's your second game at all it'll be fun to see what you're going to create in a few years from now.
Great art style too.
Great art style too.
Who is online
Users browsing this forum: No registered users and 7 guests