Hello !
This post should be in the Support section, but it's a question about Love it-self and its architecture, not a problem or a support question.
So, is Löve can be used directly with C++ ? For example, can we make a game with Love, but in C++ not in Lua ?
Thanks !
Can we use Love2D directly within a C++ program ?
Can we use Love2D directly within a C++ program ?
Founder of NeoShadow Studio. Currently working on the project "Sirami".
github / linkpy
github / linkpy
Re: Can we use Love2D directly within a C++ program ?
Why'd you wanna use it with C++? To extend its functions?
Code: Select all
fun = true
school = true
function isItFun()
if school then
fun = false
end
if not fun then
me:explode()
end
end
Re: Can we use Love2D directly within a C++ program ?
No, just use it like SFML or SDL, as a 2D framework.
Founder of NeoShadow Studio. Currently working on the project "Sirami".
github / linkpy
github / linkpy
- zorg
- Party member
- Posts: 3465
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Can we use Love2D directly within a C++ program ?
Löve can be used as a library, but it's probably not exactly easy to get working, and there are probably many limitations and such; sadly i can't say more since i never tried it that way myself.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
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.
- zorg
- Party member
- Posts: 3465
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Can we use Love2D directly within a C++ program ?
A few forum threads that may be helpful too:
Love as a dependancy or require 'love2d'?
Requiring love modules for unit testing
Love in C++
Love as a dependancy or require 'love2d'?
Requiring love modules for unit testing
Love in C++
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: Can we use Love2D directly within a C++ program ?
Ok, thanks !
But, it may be cool to modify Love2D to have a cool C++ framework. But I'm on Windows, and I hate C++ build system in Windows (Linux FTW)
But, it may be cool to modify Love2D to have a cool C++ framework. But I'm on Windows, and I hate C++ build system in Windows (Linux FTW)
Founder of NeoShadow Studio. Currently working on the project "Sirami".
github / linkpy
github / linkpy
Who is online
Users browsing this forum: Ahrefs [Bot] and 4 guests