Search found 3 matches

by RealCrayfish
Fri Sep 02, 2022 3:30 pm
Forum: Support and Development
Topic: How to load map correctly using STI (Simple Tiled Implementation)
Replies: 3
Views: 3222

Re: How to load map correctly using STI (Simple Tiled Implementation)

Ross wrote: Fri Sep 02, 2022 2:55 pm Try using map:resize(w, h) (with your game resolution) after loading the map in your game state.
Thanks a lot! This works perfectly
by RealCrayfish
Fri Sep 02, 2022 12:50 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 915
Views: 838026

Re: Simple Tiled Implementation - STI v1.2.3.0

I've been trying to load my map using STI however when I run Map:draw() the map is missing 2 columns on the right and 1 row on the bottom (see image). How would I go around fixing this?

Extra Info, .love file and Image linked in this thread: viewtopic.php?f=4&t=93712
by RealCrayfish
Thu Sep 01, 2022 8:00 pm
Forum: Support and Development
Topic: How to load map correctly using STI (Simple Tiled Implementation)
Replies: 3
Views: 3222

How to load map correctly using STI (Simple Tiled Implementation)

I've been trying to load my map using STI however when I run Map:draw() the map is missing 2 columns on the right and 1 row on the bottom (see image). How would I go around fixing this? Info (If somehow its useful): Tile Size: 64x64px Width: 32 tiles Height: 18 tiles Code: sti = require("libs.s...