Editing LOVE's source .lua files
Posted: Sun Sep 08, 2013 10:46 pm
Hey everyone,
First of all, just wanted to say hello. Hello!
Secondly, I was hoping for a bit of help messing about with the LOVE framework.
tl;dr: What's up with boot.lua -> boot.lua.h?
Basically I've got everything all running fine, and I started trying to edit the boot.lua (src/scripts/boot.lua). Now, long story short, I finally worked out that boot.lua actually does nothing, and boot.lua.h is where it's all at - as a hex string representation of the boot.lua file
Now, I mean... I could set up a script to convert the boot.lua file into the boot.lua.h format no problem... But I'm guessing this is a standard approach to using Lua with C++, that I just know nothing about.
Also sorry if this isn't strictly the right place to be seeking help about this? I know this is primarily a forum for seeking support with using the framework, rather than building it!
First of all, just wanted to say hello. Hello!
Secondly, I was hoping for a bit of help messing about with the LOVE framework.
tl;dr: What's up with boot.lua -> boot.lua.h?
Basically I've got everything all running fine, and I started trying to edit the boot.lua (src/scripts/boot.lua). Now, long story short, I finally worked out that boot.lua actually does nothing, and boot.lua.h is where it's all at - as a hex string representation of the boot.lua file
Now, I mean... I could set up a script to convert the boot.lua file into the boot.lua.h format no problem... But I'm guessing this is a standard approach to using Lua with C++, that I just know nothing about.
Also sorry if this isn't strictly the right place to be seeking help about this? I know this is primarily a forum for seeking support with using the framework, rather than building it!