STI help

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
superboySR
Prole
Posts: 24
Joined: Mon Feb 24, 2014 8:54 pm
Contact:

Re: STI help

Post by superboySR »

Karai17 wrote:Because that file doesn't exist.
:ultrahappy: but it is in amin and in amin is a folder named mapsa and in mapsa is a map called map01
"It's all about the game." - VGHS
User avatar
Karai17
Party member
Posts: 930
Joined: Sun Sep 02, 2012 10:46 pm

Re: STI help

Post by Karai17 »

is it map01.lua or map01.tmx? It needs to be lua (in Tiled, click File -> Export).
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé
User avatar
superboySR
Prole
Posts: 24
Joined: Mon Feb 24, 2014 8:54 pm
Contact:

Re: STI help

Post by superboySR »

Karai17 wrote:is it map01.lua or map01.tmx? It needs to be lua (in Tiled, click File -> Export).
Yeah I just did it and it is still the same problem :P
"It's all about the game." - VGHS
User avatar
Karai17
Party member
Posts: 930
Joined: Sun Sep 02, 2012 10:46 pm

Re: STI help

Post by Karai17 »

Send me the whole .love, don't remove any files.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé
User avatar
superboySR
Prole
Posts: 24
Joined: Mon Feb 24, 2014 8:54 pm
Contact:

Re: STI help

Post by superboySR »

Karai17 wrote:Send me the whole .love, don't remove any files.
Here:
Attachments
love2dgame.love
Updated version
(19.55 KiB) Downloaded 70 times
"It's all about the game." - VGHS
User avatar
Karai17
Party member
Posts: 930
Joined: Sun Sep 02, 2012 10:46 pm

Re: STI help

Post by Karai17 »

Somehow you're missing map.lua from STI, so you should redownload and reinstall STI. You also shouldn't put your maps in with STI, they should be in a different place. Try something like this:

Code: Select all

assets/
    images/
        whatever.png
    maps/
        map01.lua
libs/
    hump/
        camera.lua
        class.lua
    STI/
        framework/
            love.lua
        init.lua
        map.lua
conf.lua
main.lua
That should make your code a LOT more manageable.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé
User avatar
superboySR
Prole
Posts: 24
Joined: Mon Feb 24, 2014 8:54 pm
Contact:

Re: STI help

Post by superboySR »

Karai17 wrote:Somehow you're missing map.lua from STI, so you should redownload and reinstall STI. You also shouldn't put your maps in with STI, they should be in a different place. Try something like this:

Code: Select all

assets/
    images/
        whatever.png
    maps/
        map01.lua
libs/
    hump/
        camera.lua
        class.lua
    STI/
        framework/
            love.lua
        init.lua
        map.lua
conf.lua
main.lua
That should make your code a LOT more manageable.
I took your advice :P the code might not be adapted though
Attachments
love2dgame.love
New
(19.11 KiB) Downloaded 81 times
"It's all about the game." - VGHS
User avatar
Karai17
Party member
Posts: 930
Joined: Sun Sep 02, 2012 10:46 pm

Re: STI help

Post by Karai17 »

You didn't take my advice at all.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé
User avatar
superboySR
Prole
Posts: 24
Joined: Mon Feb 24, 2014 8:54 pm
Contact:

Re: STI help

Post by superboySR »

Karai17 wrote:You didn't take my advice at all.
?
"It's all about the game." - VGHS
User avatar
superboySR
Prole
Posts: 24
Joined: Mon Feb 24, 2014 8:54 pm
Contact:

Re: STI help

Post by superboySR »

Karai17 wrote:You didn't take my advice at all.
well I rearranged the files like you said
"It's all about the game." - VGHS
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 6 guests