Tiledmap.lua:227: attempt to index field 'xarg' (a nil value

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
theobjpo
Prole
Posts: 15
Joined: Sat Sep 08, 2012 4:42 am

Tiledmap.lua:227: attempt to index field 'xarg' (a nil value

Post by theobjpo »

I'm relatively new and am trying to use tiledmap.
I keep getting that error (title)?
It says to save the file as tmx and I did, path is valid and everything.
Can anyone help?!?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Tiledmap.lua:227: attempt to index field 'xarg' (a nil v

Post by Robin »

Could you upload a .love of your game for us?
Help us help you: attach a .love.
theobjpo
Prole
Posts: 15
Joined: Sat Sep 08, 2012 4:42 am

Re: Tiledmap.lua:227: attempt to index field 'xarg' (a nil v

Post by theobjpo »

The game uses UDP for networking so..
It won't connect unless you use the UDP tutorial's server.
Attachments
Game.love
The game
(661.56 KiB) Downloaded 152 times
Zeliarden
Party member
Posts: 139
Joined: Tue Feb 28, 2012 4:40 pm

Re: Tiledmap.lua:227: attempt to index field 'xarg' (a nil v

Post by Zeliarden »

Try save as xml instead of base64 in Tiled
Edit -> Preferences -> General -> Saving and Loading
btw I recommend using https://love2d.org/wiki/Advanced_Tiled_Loader instead
theobjpo
Prole
Posts: 15
Joined: Sat Sep 08, 2012 4:42 am

Re: Tiledmap.lua:227: attempt to index field 'xarg' (a nil v

Post by theobjpo »

I'm using the Advanced Tiled Loader, thanks for telling me that. It worked, but its all black?
theobjpo
Prole
Posts: 15
Joined: Sat Sep 08, 2012 4:42 am

Re: Tiledmap.lua:227: attempt to index field 'xarg' (a nil v

Post by theobjpo »

I fixed that problem but Advanced Tile Loader is giving me an error
stack overflow?
Map Dimensions: 25x19
Screen Size: 800, 608
Tile Sizes: 32x32
User avatar
Karai17
Party member
Posts: 930
Joined: Sun Sep 02, 2012 10:46 pm

Re: Tiledmap.lua:227: attempt to index field 'xarg' (a nil v

Post by Karai17 »

Can you post your .love file(s)?
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé
theobjpo
Prole
Posts: 15
Joined: Sat Sep 08, 2012 4:42 am

Re: Tiledmap.lua:227: attempt to index field 'xarg' (a nil v

Post by theobjpo »

It works now but Its not working with HardonCollider
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests