fresh annoyance of sublime not building

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
User avatar
smoking bunny
Citizen
Posts: 67
Joined: Wed May 07, 2014 9:04 am
Contact:

fresh annoyance of sublime not building

Post by smoking bunny »

hello all,

i have been working in sublime for some time [nice rhyme ;)] and now it starting to play up for some strange reason.
whilst i have the build technique from the LÖVE wiki, which worked perfectly, also having the luaLove package to have the code completes. its just now not building. this has just started happening.

i lseen that other have found ways, but these have not worked for myself

this is the console popup i get. the LÖVE application does popup, but just for a split second

Code: Select all

[Finished in 0.3s with exit code 1]
[cmd: ['/Applications/dev/love.app/Contents/MacOS/love', '/Users/lepton/Developer/LOVE2D/games/newGameIdea']]
[dir: /Users/lepton/Developer/LOVE2D/games/newGameIdea]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
i do keep all application in folders on my machine, just so i know which are dev, or design etc. but that has never ever been a problem before. ive tried uninstalling and starting again with sublime, but no dice. plus have tried other uninstall/install with packages. but im just running dry as to what to do
lewis lepton
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
User avatar
smoking bunny
Citizen
Posts: 67
Joined: Wed May 07, 2014 9:04 am
Contact:

Re: fresh annoyance of sublime not building

Post by smoking bunny »

and on actually making the file into a .love then running has the same affect of starting then shutting right down. and i know it has nothing to do with conf files, since one of my other projects doesnt have one and that runs fine.

its weird
lewis lepton
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
User avatar
slime
Solid Snayke
Posts: 3144
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: fresh annoyance of sublime not building

Post by slime »

Do you have an error or bad values in your conf.lua file? If LÖVE is unable to create the window (which happens after conf.lua is loaded), then it will shut down immediately after printing the error to stdout.
User avatar
smoking bunny
Citizen
Posts: 67
Joined: Wed May 07, 2014 9:04 am
Contact:

Re: fresh annoyance of sublime not building

Post by smoking bunny »

@slime
thanks, but this was my finding

AAAHHH, i figured it out.
so in my main.lua, that is actually created by my little alfred workflow, which you can grab on my github. this generates new LÖVE projects quickly just so you can get coding. im also working on a .love version which is will be much better.

there was actually the last part in the main.lua that stopped it

Code: Select all

---------------------------
function love.errhand(msg)
	
end
ill remove that from the alfred workflow now. but this is what did stop it all
phew, was [figuratively] shitting myself for a second ;)
but this can be as a warning. i completely forgot about that last part to take out ;)
lewis lepton
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests