Page 1 of 1

I need more sleep.

Posted: Sat Mar 21, 2009 3:17 am
by TheMyst
Ok, first off that I was drawn to this from Game Maker mainly because it seems easy enough to use and comes loaded with features, but my mind was simply blown when I made the rather unpleasant discovery that FILES IN THE GAMES SUBDIRECTORIES CAN NOT BE ACCESSED! Can someone explain to me please how that makes ANY bit of sense? How can something so vital to project organization be nerfed like this!? This is just... I don't... I can't even describe how stupid this is to me. I'm sorry, but If making a game boils down to having every single lua class (for my current project, there will be ALOT of classes, not to mention a special map format) all jumbled into the root directory, then I'll find another engine to use. know i just registered, but I came into this hoping to AVOID a clusterfuck like Game Maker, only to find a new kind of clusterfuck.

EDIT:
DISREGARD THAT I SUCK COCKS! I fucked up in the function... damn i feel like an idiot... I need more sleep. Please excuse me while I find a crowbar to pry my foot out of my mouth. In a nutshell, heres what happened:

Code: Select all

love.filesystem.include("/classes/aviator/aviator.lua")--works
love.filesystem.include("\classes\aviator\aviator.lua")--doesn't work
/thread

Re: I need more sleep.

Posted: Sat Mar 21, 2009 4:30 am
by Merkoth
You shouldn't need a / at the beginning, either. love.filesystem.include("classes/aviator/aviator.lua") should do the trick.

Re: I need more sleep.

Posted: Sat Mar 21, 2009 1:06 pm
by bartbes
I don't know if it works using \\, but that is better than \, because, just like C, \ is an escape character.
\c = carriage return
\a = alert

Re: I need more sleep.

Posted: Sat Mar 21, 2009 4:47 pm
by Kaze
bartbes wrote:I don't know if it works using \\, but that is better than \, because, just like C, \ is an escape character.
\c = carriage return
\a = alert
Still doesn't, Appleide tried it in his GUI project.

Re: I need more sleep.

Posted: Sat Mar 21, 2009 4:49 pm
by bartbes
Ah, who cares. / is the BEST seperator!! :ehem:

Re: I need more sleep.

Posted: Sat Mar 21, 2009 5:32 pm
by hdon
bartbes wrote:\c = carriage return
\r = carriage return

Re: I need more sleep.

Posted: Sat Mar 21, 2009 6:00 pm
by bartbes
Oops...