Page 1 of 1

Auto update simulator

Posted: Fri May 06, 2016 9:50 pm
by ozergul
Hi,
I wanna make a game with löve. But I wonder if it is possible to update player when my code changed?

Because all time writing "love game.love" to terminal is a bit tiring.

Regards.

Re: Auto update simulator

Posted: Fri May 06, 2016 9:55 pm
by Beelz
Depending on your editor and OS you can build straight from that without opening a terminal. Or (for windows at least) you can make a batch file to automatically open inside a terminal.........

https://love2d.org/wiki/Getting_Started

Re: Auto update simulator

Posted: Fri May 06, 2016 10:03 pm
by ozergul
Beelz wrote:Depending on your editor and OS you can build straight from that without opening a terminal. Or (for windows at least) you can make a batch file to automatically open inside a terminal.........

https://love2d.org/wiki/Getting_Started
My os is macos and I am using Sublime Text 3.

And I couldnt find anything in wiki for auto run

Re: Auto update simulator

Posted: Fri May 06, 2016 11:11 pm
by zorg
It's possible, though it does not hinge on your code editor (or OS) of choice;
one example: viewtopic.php?f=5&t=77409&hilit=hotswap

Re: Auto update simulator

Posted: Sat May 07, 2016 4:15 am
by qubodup
Hi,
For livecoding/hotswapping there's also https://github.com/ChrisJan00/livecode_love
For integrating the love2d run command in Sublime 2, there's https://love2d.org/wiki/Sublime_Text_2

https://youtu.be/sVZv3JePH60

Re: Auto update simulator

Posted: Wed May 18, 2016 7:34 pm
by ozergul
qubodup wrote:Hi,
For livecoding/hotswapping there's also https://github.com/ChrisJan00/livecode_love
For integrating the love2d run command in Sublime 2, there's https://love2d.org/wiki/Sublime_Text_2

https://youtu.be/sVZv3JePH60
you are the best man..

it very helped to me.