map problem

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
xoxtrew
Prole
Posts: 1
Joined: Fri Jun 07, 2024 12:15 pm

map problem

Post by xoxtrew »

you know how you get a default black map when running your game? well i added a new map and my character ISNT on it, its instead on the black map. ill attach a download to my game
Attachments
main.lua
(1.96 KiB) Downloaded 147 times
User avatar
veethree
Inner party member
Posts: 877
Joined: Sat Dec 10, 2011 7:18 pm

Re: map problem

Post by veethree »

Attach all your code next time otherwise we cant really test whats happening in your game.

Seems to me that you need to move player.anim:draw call after the gameMaps:drawLayer calls. Otherwise the map layers will be drawn over the player.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Bing [Bot], Google [Bot] and 14 guests