I need more sleep.

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
TheMyst
Prole
Posts: 6
Joined: Sat Mar 21, 2009 2:36 am

I need more sleep.

Post 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
User avatar
Merkoth
Party member
Posts: 186
Joined: Mon Feb 04, 2008 11:43 pm
Location: Buenos Aires, Argentina

Re: I need more sleep.

Post by Merkoth »

You shouldn't need a / at the beginning, either. love.filesystem.include("classes/aviator/aviator.lua") should do the trick.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: I need more sleep.

Post 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
User avatar
Kaze
Party member
Posts: 189
Joined: Sat Jul 19, 2008 4:39 pm
Location: Dublin, Ireland

Re: I need more sleep.

Post 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.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: I need more sleep.

Post by bartbes »

Ah, who cares. / is the BEST seperator!! :ehem:
User avatar
hdon
Prole
Posts: 36
Joined: Tue Mar 17, 2009 10:54 pm
Location: Pittsburgh, PA, USA
Contact:

Re: I need more sleep.

Post by hdon »

bartbes wrote:\c = carriage return
\r = carriage return
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: I need more sleep.

Post by bartbes »

Oops...
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot], togFox and 33 guests