LÖVE isn't telling me what I did wrong

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
main123321
Prole
Posts: 5
Joined: Sun Dec 02, 2012 2:46 am

LÖVE isn't telling me what I did wrong

Post by main123321 »

I've only had this problem on my laptop at home, not on other computers. Code will run fine if it has no errors, but if I have an error, I simply get a white screen, followed closely by crashing. On other computers, it displays a blue screen , with details on why the code won't run. I'm running Windows 7 64 bit. Any ideas? It would be really helpful to know what I did wrong.
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: LÖVE isn't telling me what I did wrong

Post by Jasoco »

You need to provide us with your .love. We can't help you if you don't give us the problem.
main123321
Prole
Posts: 5
Joined: Sun Dec 02, 2012 2:46 am

Re: LÖVE isn't telling me what I did wrong

Post by main123321 »

This happens with every piece of code I write.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: LÖVE isn't telling me what I did wrong

Post by bartbes »

Do you have an AMD card and does this also happens when you print text? (I remember something about a space being special.)
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: LÖVE isn't telling me what I did wrong

Post by Jasoco »

Yeah, what are the specs of the laptop where it only happens?
main123321
Prole
Posts: 5
Joined: Sun Dec 02, 2012 2:46 am

Re: LÖVE isn't telling me what I did wrong

Post by main123321 »

I do have an AMD graphics card. List of specs:

OS - MS Windows 7 Home Premium 64-bit SP1
CPU - Intel Core i3 370M @ 2.40GHz Arrandale 32nm Technology
RAM - 6.00 GB Dual-Channel DDR3 @ 533MHz (7-7-7-20)
Motherboard - Dell Inc. 0G62V9 (CPU 1)
Graphics Card - ATI Mobility Radeon HD 550v (Dell)

It happens with everything. If a single thing is wrong, such as if I type love.graphics.newfont instead of capitalizing the F, instead of showing the blue screen with information on why the code won't run, LOVE simply crashes.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: LÖVE isn't telling me what I did wrong

Post by Nixola »

Try to make a simple program that prints a string without spaces, then try to do one which prints a string with spaces and tell us what happens

Code: Select all

love.draw = function()
   love.graphics.print('stringWithoutSpaces', 0, 0)
end

Code: Select all

love.draw = function()
   love.graphics.print('string With Spaces', 0, 0)
end

If Bartbes is right, the second one should crash while the first should work nicely
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
main123321
Prole
Posts: 5
Joined: Sun Dec 02, 2012 2:46 am

Re: LÖVE isn't telling me what I did wrong

Post by main123321 »

Yeah, the one with spaces crashed, but the one without spaces worked fine.
User avatar
Boolsheet
Inner party member
Posts: 780
Joined: Wed Dec 29, 2010 4:57 am
Location: Switzerland

Re: LÖVE isn't telling me what I did wrong

Post by Boolsheet »

Your ATI driver has a bug that crashes with a certain part of the code in LÖVE 0.8.0. Try this build, it includes a workaround.
Shallow indentations.
main123321
Prole
Posts: 5
Joined: Sun Dec 02, 2012 2:46 am

Re: LÖVE isn't telling me what I did wrong

Post by main123321 »

THANK YOU! It works great now! I can finally see what I'm doing wrong!
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 4 guests