Running love games from eclipse
Just something I figured out when it comes to running love games from eclipse,
Right click main.lua > run as > run conf > select the current project > runtime interpreter set to alternate interpreter > manage interpreters > add > lua 5.1 with the executable as the love.exe and set the args to
. -e "io.stdout:setvbuf('no')"
That will allow the run button to start the game!
Hi masonraus,
how could I have been so blind? The period at the beginning is key here. Normally, love.exe would not know the path to the project, so I ended up adding ${workspace_loc:bla} to all my run configurations. But as the Interpreter is started with the project folder as its working path, the period points always to the right folder. Sounds totally obvious now... :)
Thanks a bunch, Jules