love.exe has stopped working...

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Kronoze
Prole
Posts: 12
Joined: Thu Apr 19, 2012 9:34 pm

love.exe has stopped working...

Post 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.
User avatar
Nsmurf
Party member
Posts: 191
Joined: Fri Jul 27, 2012 1:58 am
Location: West coast.

Re: love.exe has stopped working...

Post by Nsmurf »

try replacing "hello world"

with "hello-world"

if that helps, just download the most recent Dev Build.
OBEY!!!
My Blog
UE0gbWUgd2l0aCB0aGUgd29yZCAnSE1TRycgYXMgdGhlIHN1YmplY3Q=
Kronoze
Prole
Posts: 12
Joined: Thu Apr 19, 2012 9:34 pm

Re: love.exe has stopped working...

Post by Kronoze »

I renamed it to 'hello-world', no luck. What do you mean by download the most recent Dev Build?
User avatar
Nsmurf
Party member
Posts: 191
Joined: Fri Jul 27, 2012 1:58 am
Location: West coast.

Re: love.exe has stopped working...

Post 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.
OBEY!!!
My Blog
UE0gbWUgd2l0aCB0aGUgd29yZCAnSE1TRycgYXMgdGhlIHN1YmplY3Q=
Kronoze
Prole
Posts: 12
Joined: Thu Apr 19, 2012 9:34 pm

Re: love.exe has stopped working...

Post 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?
User avatar
Nsmurf
Party member
Posts: 191
Joined: Fri Jul 27, 2012 1:58 am
Location: West coast.

Re: love.exe has stopped working...

Post by Nsmurf »

run this file:
(drag and drop it onto love.exe)
Attachments
HW.love
Hello world.
(177 Bytes) Downloaded 103 times
OBEY!!!
My Blog
UE0gbWUgd2l0aCB0aGUgd29yZCAnSE1TRycgYXMgdGhlIHN1YmplY3Q=
Kronoze
Prole
Posts: 12
Joined: Thu Apr 19, 2012 9:34 pm

Re: love.exe has stopped working...

Post by Kronoze »

That does work, and mine did when I change it to 'hello-world'. Why can't you use spaces in strings?
User avatar
Nsmurf
Party member
Posts: 191
Joined: Fri Jul 27, 2012 1:58 am
Location: West coast.

Re: love.exe has stopped working...

Post 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.
OBEY!!!
My Blog
UE0gbWUgd2l0aCB0aGUgd29yZCAnSE1TRycgYXMgdGhlIHN1YmplY3Q=
Post Reply

Who is online

Users browsing this forum: Bing [Bot], keharriso and 12 guests