Need help with tiled

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Haesan
Prole
Posts: 1
Joined: Sun Mar 10, 2024 12:25 am

Need help with tiled

Post by Haesan »

So I have been following this tutorial (https://www.youtube.com/watch?v=IHmF_bRpOAE) to make a basic map. But for some reason, when I did all the steps he did (but with a different tileset) it doesn't show the entire map (I'll have a picture attached). I made sure that when I clicked export as that it was a lua file. Any ideas on why this happens?

(Below is the .zip file of my game, how the map is supposed to look like, and how it actually looks like)
Attachments
how it actually looks like
how it actually looks like
Screenshot 2024-03-09 193647.png (21.83 KiB) Viewed 2721 times
how its supposed to look like
how its supposed to look like
Screenshot 2024-03-09 193614.png (45.13 KiB) Viewed 2721 times
LOVE.zip
my game .zip file
(25.67 KiB) Downloaded 135 times
Trystan
Prole
Posts: 15
Joined: Fri Nov 24, 2023 9:30 am

Re: Need help with tiled

Post by Trystan »

I've not used tiled but it looks like you're only seeing the very top left of your tilemap. It might be there's some function in tiled that lets you set the desired size of your tiles.

Another way you can see more is by calling "love.graphics.scale(scale_value)" at the start of your draw function, use a scale_value of less than one to see more.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 2 guests