Search found 4 matches

by UberBosser
Sun Jan 26, 2014 2:17 am
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 775
Views: 181989

Re: Simple Tiled Implementation - STI v0.6.10

Ok, so its all working but... Its hiding my player. How do i make a tile solide and how do i make one "not solid" do i do it directly in Tiled or then code it in in the main.lua. Sorry for the newby Question :P
by UberBosser
Sat Jan 25, 2014 9:28 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 775
Views: 181989

Re: Simple Tiled Implementation - STI v0.6.10

Kingdaro wrote:You've overwritten the require function by setting it to "data". Use a different variable name.
Thanks, but now how do i create the map .lua file, do i just change the the .tmx file to .lua or do i need to do it differently? Are there any Tutorials online? Thanks for everything.
by UberBosser
Sat Jan 25, 2014 8:27 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 775
Views: 181989

Re: Simple Tiled Implementation - STI v0.6.10

The first 5 lines are =

Code: Select all

2: x, y = 400, 300 3: playerA = nil 4: require = "data"  5: local sti = require "sti"
by UberBosser
Sat Jan 25, 2014 7:30 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 775
Views: 181989

Re: Simple Tiled Implementation - STI v0.6.10

Hello, im new to love2D and lua. Does this library support love2D 0.9.0? i keep getting this error:

Code: Select all

main.lua:5: attempt to call global 'require'(a string value) 

this is the line 5 of my main.lua file : local sti = require "sti"