Search found 5 matches

by apicici
Mon Aug 23, 2021 5:14 pm
Forum: Libraries and Tools
Topic: cimgui-love: another LÖVE module for DearImGui using LuaJIT FFI
Replies: 3
Views: 9779

Re: cimgui-love: another LÖVE module for DearImGui using LuaJIT FFI

Do you have an example on how to use imgui::Combo ? I'm very new to ffi. This one is a bit tricky because of the way strings are treated in C. There are two options: -- option 1: items passed as a string, separated by zeros local imgui = require "cimgui" local ffi = require "ffi"...
by apicici
Tue Aug 03, 2021 8:24 pm
Forum: Libraries and Tools
Topic: pathfun: a pure Lua library for 2D pathfinding, with editor
Replies: 9
Views: 7159

Re: pathfun: a pure Lua library for 2D pathfinding, with editor

Jasoco wrote: Sun Aug 01, 2021 3:42 am I'm intrigued. How well does it perform when you have multiple entities all calculating paths at once?
I put together a quick test to check. On my systems it works fine with 100 entities, and some lag during the frame at which paths are calculated becomes noticeable with ~400 entities.
by apicici
Tue Jul 27, 2021 7:46 pm
Forum: Libraries and Tools
Topic: pathfun: a pure Lua library for 2D pathfinding, with editor
Replies: 9
Views: 7159

Re: pathfun: a pure Lua library for 2D pathfinding, with editor

Looks cool, but I get an error at start-up for the editor (Windows, both 32 and 64-bit versions). Thanks for noticing that! I had forgotten to set up the wrapper for the clipper library to export symbols on windows before I compiled it. This version should work: https://github.com/apicici/pathfun-e...
by apicici
Tue Jul 27, 2021 1:51 pm
Forum: Libraries and Tools
Topic: pathfun: a pure Lua library for 2D pathfinding, with editor
Replies: 9
Views: 7159

pathfun: a pure Lua library for 2D pathfinding, with editor

pathfun: github , download pathfun-editor: github , download -------------------------------------------------- Hi everyone, I wanted to share pathfun , a 2d pathfinding library I've been working on. I made it as part of a LÖVE point & click adventure game engine I've been working on, and since...
by apicici
Sun May 23, 2021 7:28 pm
Forum: Libraries and Tools
Topic: cimgui-love: another LÖVE module for DearImGui using LuaJIT FFI
Replies: 3
Views: 9779

cimgui-love: another LÖVE module for DearImGui using LuaJIT FFI

Hi everyone, I put together a new LÖVE module for Dear ImGui . The module uses LuaJIT FFI instead of the Lua/C api, and wraps cimgui (a programmatically generated C-api for Dear ImGui). You can find it here . The module is currently on version 1.82 (docking branch) of Dear ImGui and all functions ex...