Page 1 of 1

love.exe has stopped working...

Posted: Wed Oct 31, 2012 2:28 am
by Kronoze
Hello, I've just recently downloaded the zipped 32 bit version of Love2D. I've been following a tutorial ([youtube]http://www.youtube.com/watch?v=rrzQBgGlJJU[/youtube]) that walked me through it. When I got to the point where I drag and drop the file folder 'Hello World' onto love.exe, a new window pops up blank and an alert window says "love.exe has stopped working...". I honestly have no idea what I've done wrong, I followed the tutorial exactly. Maybe I didn't get something? If you could help me out, that'd be great.

Re: love.exe has stopped working...

Posted: Wed Oct 31, 2012 2:40 am
by Nsmurf
try replacing "hello world"

with "hello-world"

if that helps, just download the most recent Dev Build.

Re: love.exe has stopped working...

Posted: Wed Oct 31, 2012 2:48 am
by Kronoze
I renamed it to 'hello-world', no luck. What do you mean by download the most recent Dev Build?

Re: love.exe has stopped working...

Posted: Wed Oct 31, 2012 2:51 am
by Nsmurf
so you had it do:

Code: Select all

--In love.draw()
love.graphics.print('hello-world', 0, 0)
The dev build is the development build.

It has some bugfixes and stuff.

Re: love.exe has stopped working...

Posted: Wed Oct 31, 2012 2:53 am
by Kronoze
This is what I had.

Code: Select all

function love.draw()
	love.graphics.print("Hello World!",400,300);
end 
What file extension should I get? .log, .exe, or whatever that other one is?

Re: love.exe has stopped working...

Posted: Wed Oct 31, 2012 2:58 am
by Nsmurf
run this file:
(drag and drop it onto love.exe)

Re: love.exe has stopped working...

Posted: Wed Oct 31, 2012 3:00 am
by Kronoze
That does work, and mine did when I change it to 'hello-world'. Why can't you use spaces in strings?

Re: love.exe has stopped working...

Posted: Wed Oct 31, 2012 3:04 am
by Nsmurf
You can. There is however a divide by zero glitch on some computers, that crashes when using spaces.

That can be fixed by downloading the most recent development version from http://www.love2d.org/builds.