[Problem]Game wont start up!

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.
User avatar
ZFG
Prole
Posts: 10
Joined: Sun Feb 22, 2009 5:05 pm

[Problem]Game wont start up!

Post by ZFG »

Ok, so I just heard about this program and I want to start developing. But when I try make my game start, it doesn't do anything. I have tried to drag it to the EXE, not working, Zip it as a .love file, not working. So have no Idea have to get it to work. Anyone had this problem?
osuf oboys
Party member
Posts: 215
Joined: Sun Jan 18, 2009 8:03 pm

Re: [Problem]Game wont start up!

Post by osuf oboys »

Could very well be that you have a box2d error and that it shuts down as soon as you start it. Try running the game with an empty main file and see if you can get a black screen at least. I tend to run it through a command prompt / terminal but dragging to the exe should also work. On windows: start>run/search>cmd, cd to the directory above the game folder and run "c:\program(...)\love\love.exe <gamefolder>" where <gamefolder> is the name of the folder of the game (the one containing main.lua).
If I haven't written anything else, you may assume that my work is released under the LPC License - the LÖVE Community. See http://love2d.org/wiki/index.php?title=LPC_License.
User avatar
Skofo
Party member
Posts: 146
Joined: Mon Dec 22, 2008 10:55 pm

Re: [Problem]Game wont start up!

Post by Skofo »

You made sure that the folder/love file you're using have a main.lua in the root directory?
Working on: Viator
Need a 64-bit Debian package for LÖVE? Here it is!
User avatar
ZFG
Prole
Posts: 10
Joined: Sun Feb 22, 2009 5:05 pm

Re: [Problem]Game wont start up!

Post by ZFG »

Skofo wrote:You made sure that the folder/love file you're using have a main.lua in the root directory?
Yeah, I have. Trying the CMD method now.

EDIT: The Love program is working fine without the game files inplented.
User avatar
Skofo
Party member
Posts: 146
Joined: Mon Dec 22, 2008 10:55 pm

Re: [Problem]Game wont start up!

Post by Skofo »

Mind uploading the love file in question for us?
Working on: Viator
Need a 64-bit Debian package for LÖVE? Here it is!
lbhoward
Prole
Posts: 23
Joined: Tue Feb 17, 2009 6:12 pm

Re: [Problem]Game wont start up!

Post by lbhoward »

Hmmm, define 'won't start' it sounds to me as if

A) You aren't dragging the root folder with your main.lua and game.conf
or
B) You are, however your script causes an immediate crash with no error

As Skofo says - upload the love file or your main.lua and we can take at look-see.
User avatar
ZFG
Prole
Posts: 10
Joined: Sun Feb 22, 2009 5:05 pm

Re: [Problem]Game wont start up!

Post by ZFG »

Here you go!
Attachments
Game.love
(465 Bytes) Downloaded 339 times
User avatar
Skofo
Party member
Posts: 146
Joined: Mon Dec 22, 2008 10:55 pm

Re: [Problem]Game wont start up!

Post by Skofo »

Works perfectly for me. :shock: Perhaps there's something wrong with your LOVE installation.
Working on: Viator
Need a 64-bit Debian package for LÖVE? Here it is!
User avatar
Sslaxx
Citizen
Posts: 57
Joined: Sat Feb 14, 2009 8:54 pm
Location: Malvern, Worcs, UK
Contact:

Re: [Problem]Game wont start up!

Post by Sslaxx »

Skofo wrote:Works perfectly for me. :shock: Perhaps there's something wrong with your LOVE installation.
This is what I'm leaning towards, Skofo, re http://www.sonicfangameshq.com/forum/sh ... php?t=5313 this thread when I'd tried to help him.
lbhoward
Prole
Posts: 23
Joined: Tue Feb 17, 2009 6:12 pm

Re: [Problem]Game wont start up!

Post by lbhoward »

Comfirmed - works perfectly O.o

Hmmm - did you mention what OS you are using?

If you are using Vista it might be worth disabling that silly UAC feature or whatever it is called - fortunately I decimated mine a while back so I don't recall its name, have you tried rightclicking the .love file and 'Run as... Administrator'?
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests