awesome-love2d
gabe
awesome-love2d | gabe | |
---|---|---|
28 | 7 | |
3,037 | 5 | |
1.3% | - | |
5.6 | 0.0 | |
6 days ago | almost 4 years ago | |
Lua | ||
Creative Commons Zero v1.0 Universal | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
awesome-love2d
-
what should I use to create games in lua? raylib vs love 2d
I tried both and honestly the experience with love is better because it's actually made for lua. There's a vscode extension for love, a ton of lua libraries etc.
-
Beginner question: is there any coding standard for documenting Lua functions or tables emulating OOP?
For OOP, look into metatables. I got started with Lua through Love2D and through that I found some OOP modules that are pretty helpful. Here’s a full list of them: https://github.com/love2d-community/awesome-love2d (I’ve been using classic with my projects)
-
What are the first game engines/frameworks that come to mind when you hear "code only?"
Such a great Lua gamedev framework! And there's lots of libraries in GitHub. Many collected on awesome-love2d so you don't have to build everything yourself.
-
ECS engine in C++ in Lua
love2d is open source and runs on PC and phones. Someone's even ported it to Nintendo3DS/Switch homebrew. nata is the ECS I use, but you can also checkout more libraries on awesome-love2d. I really enjoy using love2d (especially if you enjoy the engine building parts), but one caveat is that major version number bumps will break compatibility. It's usually easy to port and they deprecate functions long in advance. But there's lots of old libraries out there for older versions that won't just work on the latest love2d (like the code for Harvard's CS50 course).
- What are some good libraries for UI and other common needs nowadays?
-
Question about game menus and ui
This is example is just the simple version, a state managers can be very powerful, some examples can be found here
-
Can one make a Stardew Valley clone with Love2D?
I've used tiny ECS a bit, and I like it a lot. Check out this list
- Love2D vs Solar2D
-
How to make apps for mobile?
It depends on what you want to display that will dictate the limitations on how you can adjust to different resolutions. There are probably libraries that can help you with this.
-
how would u do this
Once you've done a few tutorials, you can start doing your own thing. Use the LÖVE Wiki (first link) to your advantage. It has the whole love API documented, and you'll probably need to have it open while you work. At this point, you can also look at this GitHub repository for a list of cool libraries that work with LÖVE.
gabe
-
What love packages/libraries do you guys currently use and consider essential for every project you guys made?
I really like baton for input, flux for tweens, and gamera for camera. My projects use gabe as a base for hotloading code changes and it works wonderfully.
-
A very simple class implementation in Lua for game developers
Gabe is a class and reloading system that I use with love2d but the class system has a local table of classes instead of putting them in global.
-
best game framework to learn?
It uses Lua which I find to be more dynamic and expressive than C#, java, or C++. I use gabe to hot load my code so I can change enemy behaviour in code, hit ctrl R, and the enemy starts using the new functions starting from its old state. Tough to set that up with one of those compiled languages!
-
Thoughts on LUA?
Second, hot reload actually works and is usually instant. (lume has one you can adapt, I use gabe's class system and reload since it's already integrated). Since an instance of an object is a table, and functions on the object are elements in a table, you can swap out functions for their new values and keep your current state. By comparison, Unity's C# hot code reloading requires you to serialize your state because it needs to unload the AppDomain. It needs to rebuild the world with the new types. Most serialization occurs automatically, but often it doesn't and you need to add special callbacks to make it work. Regardless, for projects of any real size, it's slow. Not sure how Unreal's Live++ (Live Coding) works, but seems like you can't edit .h files.
-
Opinions about the approach below to emulate "objects" in Lua :)
I prefer the table based approach because it allows hot reloading code for live objects. I use Gabe's classes to create objects and its hotreload code does the rest. Write some enemy code, playtest, find an enemy acting weird, write some debug UI, hotload, see your UI on the broken enemy without having to figure out how to repro. It's like magic.
-
I like making games, but I use scratch.
change code on the fly. Try c# script reloading in unity or Gabe in love2d.
-
Try My Game Spikes Are The Enemy On Ios
I use gabe because it's integrated into a hot reloading framework.
What are some alternatives?
classic - Tiny class module for Lua
stencyl-engine - Create Flash, HTML5, iOS, Android, and desktop games with no code with Stencyl. This is the source to Stencyl's Haxe-based engine.
awesome-playdate - A list of awesome resources for Playdate (https://play.date) game development and the Playdate SDK (https://play.date/dev/)
lume - Lua functions geared towards gamedev
helium
Penlight - A set of pure Lua libraries focusing on input data handling (such as reading configuration files), functional programming (such as map, reduce, placeholder expressions,etc), and OS path management. Much of the functionality is inspired by the Python standard libraries.
Slab - An immediate mode GUI for the Love2D framework.
batteries - Reusable dependencies for games made with lua (especially with love)
love-nuklear - Lightweight immediate mode GUI for LÖVE games
inspect.lua - Human-readable representation of Lua tables
awesome-lua - A curated list of quality Lua packages and resources.