[solved]Image overlaying

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
MysticPing2
Prole
Posts: 33
Joined: Tue Dec 10, 2013 7:08 pm

[solved]Image overlaying

Post by MysticPing2 »

So i have a quick small problem, basicly im drawing tiles on the ground and my character rectangle cannot be seen, i guess he is under the grass. I basicly used the gridlocked player tutorial and changed it from drawing unfilled rectangles to images.

http://www.mediafire.com/download/hzdmc ... edemo.love
Last edited by MysticPing2 on Sat Jan 04, 2014 5:51 pm, edited 1 time in total.
User avatar
veethree
Inner party member
Posts: 877
Joined: Sat Dec 10, 2011 7:18 pm

Re: Image overlaying

Post by veethree »

First, Your .love is packaged incorrectly. main.lua should be in the root of the zip.

Second, You're drawing the player before the map, Just move the code that draws the player below the code that draws the map and it should work.
MysticPing2
Prole
Posts: 33
Joined: Tue Dec 10, 2013 7:08 pm

Re: Image overlaying

Post by MysticPing2 »

thank you :)
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 4 guests