Simple Tiled Implementation - STI v1.2.3.0
Re: Simple Tiled Implementation - STI v0.18.2.1
Awesome, glad you figured it out.
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.18.2.1
is it just me/workingasintended or is Map.tiles populated only to the width/height of the TILESET and not the map dimensions in Map:setTiles()?
-
- Citizen
- Posts: 73
- Joined: Thu May 25, 2017 1:43 pm
Re: Simple Tiled Implementation - STI v0.18.2.1
When I translate the map the collision boxes doesnt move it still works like normal but with the map moving.
(I also tried the tutorial on lua.space but cant figure out to add collisions on the layer.player.)-
- Citizen
- Posts: 73
- Joined: Thu May 25, 2017 1:43 pm
Re: Simple Tiled Implementation - STI v0.18.2.1
KyleFlores1014 wrote: ↑Tue Dec 26, 2017 8:29 am When I translate the map the collision boxes doesnt move it still works like normal but with the map moving.Game.love
(I also tried the tutorial on lua.space but cant figure out to add collisions on the layer.player.)
Also please do not copy our images/assets
Re: Simple Tiled Implementation - STI v0.18.2.1
Hi Karai thanks for the great lib.
Check this:
These are placed objects, and some have those first pixel line in any color. It's always the same on the same objects, but it seems to include the location, too, since the other tree stump is fine.
Strange, you got an idea?
Check this:
These are placed objects, and some have those first pixel line in any color. It's always the same on the same objects, but it seems to include the location, too, since the other tree stump is fine.
Strange, you got an idea?
Visual Studio Code Template • RichLÖVE Mobile (AdMob+UnityAds+PlayGamesServices+GameCenter) • Add me on Discord
───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───
───█▒▒░░░░░░░░░▒▒█───
────█░░█░░░░░█░░█────
─▄▄──█░░░▀█▀░░░█──▄▄─
█░░█─▀▄░░░░░░░▄▀─█░░█
───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───
───█▒▒░░░░░░░░░▒▒█───
────█░░█░░░░░█░░█────
─▄▄──█░░░▀█▀░░░█──▄▄─
█░░█─▀▄░░░░░░░▄▀─█░░█
Re: Simple Tiled Implementation - STI v0.18.2.1
It looks like you are scaling the the game a bit, is that correct? If so, how are you scaling it?
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.18.2.1
Yes I am. I think it happened because of uneven scaling that occurred through gamera, but I cannot reproduce anymore, since I kept working on it and now it doesn't happen.
Visual Studio Code Template • RichLÖVE Mobile (AdMob+UnityAds+PlayGamesServices+GameCenter) • Add me on Discord
───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───
───█▒▒░░░░░░░░░▒▒█───
────█░░█░░░░░█░░█────
─▄▄──█░░░▀█▀░░░█──▄▄─
█░░█─▀▄░░░░░░░▄▀─█░░█
───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───
───█▒▒░░░░░░░░░▒▒█───
────█░░█░░░░░█░░█────
─▄▄──█░░░▀█▀░░░█──▄▄─
█░░█─▀▄░░░░░░░▄▀─█░░█
Re: Simple Tiled Implementation - STI v0.18.2.1
cool
I would personally recommend against using gamera with STI and instead use map:draw(tx, ty, sx, sy), but if you got it working then feel free to disregard.
I would personally recommend against using gamera with STI and instead use map:draw(tx, ty, sx, sy), but if you got it working then feel free to disregard.
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.18.2.1
May I ask: Why?
I found a sample game that works very well in that constellation and I got it to work, too, although I'm not at camera movement at this point. Btw, scaling is required for me in any case.
Visual Studio Code Template • RichLÖVE Mobile (AdMob+UnityAds+PlayGamesServices+GameCenter) • Add me on Discord
───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───
───█▒▒░░░░░░░░░▒▒█───
────█░░█░░░░░█░░█────
─▄▄──█░░░▀█▀░░░█──▄▄─
█░░█─▀▄░░░░░░░▄▀─█░░█
───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───
───█▒▒░░░░░░░░░▒▒█───
────█░░█░░░░░█░░█────
─▄▄──█░░░▀█▀░░░█──▄▄─
█░░█─▀▄░░░░░░░▄▀─█░░█
Re: Simple Tiled Implementation - STI v0.18.2.1
The way sti needs to manage graphics state is not necessarily compatible with using external libs, at least I cannot guarantee that they will work. If it works for you, have at it, but if there is an issue then perhaps look into using map:draw()'s args instead of a camera helper lib
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é
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests