Simple Tiled Implementation - STI v1.2.3.0
Re: Simple Tiled Implementation - STI v0.14.1.7
Ah! I've fixed it so it uses the 0.9.2 feature set.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
Re: Simple Tiled Implementation - STI v0.14.1.8
Added an image cache so that loading multiple maps with shared tilesets doesn't cause huge memory usage.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
Re: Simple Tiled Implementation - STI v0.14.1.8
m'man! i bring news of crashes and bugs.
Loading super duper mega maps via your library causes it to crash. worse, it kills the main love thread and the console doesnt registers any logs.
attaching the super duper mega map here so you can looksy it.
PS. the map is created procedurally by a program called worldengine.
More discussion and the actual map is here;
http://forum.mapeditor.org/t/worldengin ... led/896/11
Loading super duper mega maps via your library causes it to crash. worse, it kills the main love thread and the console doesnt registers any logs.
attaching the super duper mega map here so you can looksy it.
PS. the map is created procedurally by a program called worldengine.
More discussion and the actual map is here;
http://forum.mapeditor.org/t/worldengin ... led/896/11
- Attachments
-
- tiled_seed_18000_comp.lua
- (606.53 KiB) Downloaded 88 times
Re: Simple Tiled Implementation - STI v0.14.1.8
So there are a few things I can say right off the bat.
1) Your chunks are WAY too big! STI just recently supports loading multiple maps so I highly recommend making significantly smaller maps and placing them in a grid using pixel offsets.
2) Your textures are outside the size range for many graphics cards. You should try to make the textures more compact and square if possible, such as 2048x2048 and trim off any unneeded spacing and other junk data.
I believe that your system is simply running out of memory trying to load such an unreasonable map.
1) Your chunks are WAY too big! STI just recently supports loading multiple maps so I highly recommend making significantly smaller maps and placing them in a grid using pixel offsets.
2) Your textures are outside the size range for many graphics cards. You should try to make the textures more compact and square if possible, such as 2048x2048 and trim off any unneeded spacing and other junk data.
I believe that your system is simply running out of memory trying to load such an unreasonable map.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
Re: Simple Tiled Implementation - STI v0.14.1.8
> unreasonable
okie.
Thanks anyway.
I tried other tmx files and it does works with smaller files.
Would be nice to get some exact exception though so I can send it to the map maker. He would have liked the feedback on it.
Any idea how i can achieve that?
okie.
Thanks anyway.
I tried other tmx files and it does works with smaller files.
Would be nice to get some exact exception though so I can send it to the map maker. He would have liked the feedback on it.
Any idea how i can achieve that?
Re: Simple Tiled Implementation - STI v0.14.1.8
It's hard to say what a reasonable chunk size limit should be. For instance, Minecraft chunks are 16x16x256. 16x16 is pretty small for a 2D tilemap, though. I would recommend maybe 128x128 tile chunks, or maybe up to 512x512. Anything bigger than that would just be a pain.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
-
- Prole
- Posts: 4
- Joined: Mon Nov 09, 2015 12:44 pm
Re: Simple Tiled Implementation - STI v0.14.1.8
Do you think it could be possible to add in a feature that takes in a layer with a custom property eg. table = true then we can grab all tile locations from that layer and add it to a table with x,y coords, something like tabled = map.cTable. It would be for the sake of being able to draw things like Objectives, collectables etc onto the tiled map, load the map into sti, grab the coord data and remove that layer from view, run a for loop to loop through the table of coords for collisions, drawing items individually etc? Just a thought..
Re: Simple Tiled Implementation - STI v0.14.1.8
Why not just use an object layer?
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
-
- Prole
- Posts: 4
- Joined: Mon Nov 09, 2015 12:44 pm
Re: Simple Tiled Implementation - STI v0.14.1.8
Had no idea you could use object layers. ;o
- NightKawata
- Party member
- Posts: 294
- Joined: Tue Jan 01, 2013 9:18 pm
- Location: Cyberspace, Room 6502
- Contact:
Re: Simple Tiled Implementation - STI v0.14.1.8
Yep, you can indeed use an object layer for that.HumanRegret wrote:Had no idea you could use object layers. ;o
I keep a palette map of all the object tiles, and then:
boom.
"I view Python for game usage about the same as going fishing with a stick of dynamite. It will do the job but it's big, noisy, you'll probably get soaking wet and you've still got to get the damn fish out of the water." -taylor
Who is online
Users browsing this forum: Google [Bot] and 0 guests