Search found 33 matches

by Trebgarta
Thu Jul 14, 2016 7:40 am
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 169
Views: 237496

Re: ImGui löve module

OR, put them into a table in love.imgui or whatever. Then to combine one can use bitwise like in c/cpp. Though that isnt very idiomatic in Lua. The Lua way would be strings. To combine flags one can pass in a table of strings. Bad and complicated but at least the API will be idiomatic and easier to ...
by Trebgarta
Wed Jul 13, 2016 10:17 am
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 169
Views: 237496

Re: ImGui löve module

Can you do like string matching?

For example, no GL enum values are in Löve, instead there are stuff like "dynamic" for GL_DYNAMIC_DRAW etc.

something like löve.imgui.setTitleBar(false) or löve.imgui.setProperty("title_bar", false) ?
by Trebgarta
Thu Jul 07, 2016 7:07 am
Forum: General
Topic: Can we use Love2D directly within a C++ program ?
Replies: 6
Views: 5306

Re: Can we use Love2D directly within a C++ program ?

Try löve's sorce, it is cpp, but it is not designed to be used in cpp. I'd say extend in cpp and use custom binaries to work in lua, or use SFML because Löve in cpp wouldnt be a fun experience.
by Trebgarta
Wed Jun 29, 2016 9:17 am
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 169
Views: 237496

Re: ImGui löve module

It would probably be possible to take this route too, maybe a bit more tricky to get the rendering properly done but clearly possible. But well, the philosophy behind imgui is actually to be quite lightweight and self contained to be able to be integrated easily directly into any project, that's wh...
by Trebgarta
Tue Jun 28, 2016 9:18 pm
Forum: General
Topic: Love2D game jam / mod jam / community projects ?
Replies: 9
Views: 6423

Re: Love2D game jam / mod jam / community projects ?

I mean, if you need testers and modders, those games' communities would be a better place to ask. I am not really interested, and I doubt many of the developers here would be.

You can do anything you want in löve2d. It is very capable, I'd argue it is even more capable than game maker.
by Trebgarta
Tue Jun 28, 2016 8:46 pm
Forum: General
Topic: Mini Functions Repository
Replies: 48
Views: 41171

Re: Mini Functions Repository

Here is a function/module that returns a cube. So that noone else has to write this monstrosity. local function cube(s,uv,col) local s = s or 1 local uv = uv or {0,0, 1,0, 0,1, 1,1} local col = col or {255,255,255,255} return { {-0.5 * s, -0.5 * s, -0.5 * s, uv[1], uv[2], col[1], col[2], col[3], col...
by Trebgarta
Tue Jun 28, 2016 7:01 pm
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 169
Views: 237496

Re: ImGui löve module

This is wonderful, except... Imgui has C API, so I'd love an ffi implementation :)

Im very interested but I'd rather an external library through ffi.
by Trebgarta
Tue Jun 28, 2016 2:16 pm
Forum: General
Topic: Love2D game jam / mod jam / community projects ?
Replies: 9
Views: 6423

Re: Love2D game jam / mod jam / community projects ?

Well, how about you do it?
by Trebgarta
Mon Jun 27, 2016 11:07 pm
Forum: Support and Development
Topic: Integrating LLVM into Love2d
Replies: 5
Views: 3876

Re: Integrating LLVM into Love2d

I guess you can use LLVM C API using LuaJIT ffi like Nixola suggested.

Relevant: https://pauladamsmith.com/blog/2015/01/ ... c-api.html