Accessing files in a different .love file

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
ElmuKelmuZ
Prole
Posts: 14
Joined: Sat Sep 01, 2012 7:43 pm

Accessing files in a different .love file

Post by ElmuKelmuZ »

I'm writing a map editor for my löve game, and it would be nice to have access to textures/sprites etc. in the actual game's .love file.

Is this possible to achieve?


EDIT:

Actually since I'll probably fuse my editor and game into separate executables, I need to access that separate love file from inside the other executable, but still wondering if that's possible
User avatar
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

Re: Accessing files in a different .love file

Post by s-ol »


s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests