Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running love games from eclipse #7

Open
masonraus opened this issue Oct 6, 2017 · 1 comment
Open

Running love games from eclipse #7

masonraus opened this issue Oct 6, 2017 · 1 comment

Comments

@masonraus
Copy link

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!

@sirskunkalot
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants