Either my tiled STI is broken or im an idiot
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Either my tiled STI is broken or im an idiot
Hey! Im having trouble with my sti and im not too sure if it's me or the code in it. Im having the issue of sti.map not bring found and prior i had this issue where it said that init or something is nil. thanks in advance!!!
- Attachments
-
gamek.love
- (128.59 KiB) Downloaded 130 times






-
- Party member
- Posts: 732
- Joined: Sat Apr 26, 2014 7:46 pm
Re: Either my tiled STI is broken or im an idiot
Did you follow the tutorial I linked?
Re: Either my tiled STI is broken or im an idiot
Yea, the tutorial says require 'sti' but there is no sti.lua






-
- Party member
- Posts: 732
- Joined: Sat Apr 26, 2014 7:46 pm
Re: Either my tiled STI is broken or im an idiot
Make sure you have the whole folder next to your main.lua.
-
- Party member
- Posts: 732
- Joined: Sat Apr 26, 2014 7:46 pm
Re: Either my tiled STI is broken or im an idiot
Is there an STI/init.lua?
Re: Either my tiled STI is broken or im an idiot
i got some help and have the issue fixed but a new one has arisen, it says that setfenv requires a number but gets nil






- giantofbabil
- Prole
- Posts: 32
- Joined: Tue Dec 15, 2015 6:07 pm
Re: Either my tiled STI is broken or im an idiot
Have you looked at the example project for STI? I originally had problems with it but the code in the example set me straight.powerII wrote:i got some help and have the issue fixed but a new one has arisen, it says that setfenv requires a number but gets nil
Code: Select all
if enemy == lowerClassSaiyan and powerLevel > 9000 then
love.graphics.print("What?! 9000?! There's no way that could be right!", 10, 200)
else
love.graphics.print("You fool!", 10, 200)
end
-
- Party member
- Posts: 732
- Joined: Sat Apr 26, 2014 7:46 pm
Re: Either my tiled STI is broken or im an idiot
The creator of STI use irc as their main form of communication (at least to me it seems that way.) It may be helpful to join the irc channel. #love on irc.oftc.net
Re: Either my tiled STI is broken or im an idiot
I definitely try using irc. Actually the creator of sti was the one who helped me. Private messaging is a very inefficient way of communicating.






Who is online
Users browsing this forum: Amazon [Bot] and 5 guests