Hello,
When I want to start my project, I usually make a batch file to start the main.lua . I got the instructions from here: https://love2d.org/wiki/Batch_Start. I always used this methode but it doesn't seem to work since I use Windows 10.
Can I do something similar to 'debug' my game without building a .love file? I use Sublime Text 2. I don't like ZeroBraneStudio.
When I build a .love file, it works. When I use the .bat , I get the standart 'no game found'.
I use love 0.9.2 .
Thanks in advance,
--Ximici
[SOLVED] Batch file to quick start game
[SOLVED] Batch file to quick start game
Last edited by Ximici on Wed Dec 09, 2015 7:42 am, edited 1 time in total.
Re: Batch file to quick start game
It needs a period at the end.
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
Re: Batch file to quick start game
Code: Select all
"c:\Program Files\LOVE\love.exe" "%cd%"
Re: [SOLVED] Batch file to quick start game
Thank you very much!
The code worked with the %cd% .
--Ximici
The code worked with the %cd% .
--Ximici
Re: [SOLVED] Batch file to quick start game
If you're using Linux, you can open a terminal in the folder that contains your "main.lua" file and run love .. I'm not too sure about Windows, however.
Hello, i'm _j0sh! I like to program and play video games. I also host a MineCraft server! play.pink-craft.net:28367
Who is online
Users browsing this forum: No registered users and 5 guests