Drawing Multiple Shapes

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
Honolulua
Prole
Posts: 3
Joined: Wed Mar 28, 2018 4:15 am

Drawing Multiple Shapes

Post by Honolulua »

I have a problem when trying to draw multiple shapes. I read these wiki posts https://love2d.org/wiki/Tutorial:Drawing_Order and https://love2d.org/wiki/Skip_list:Drawing_Order.

Objects appear bunched up ontop of one another. I did not exactly get any of the posts at the wiki, I could not find much of a pre-existing forum post either. I am new to Lua/Love2D and am just playing around with some things, hoping to make a platformer.
ground.lua
(362 Bytes) Downloaded 174 times
main.lua
(494 Bytes) Downloaded 166 times
player.lua
(1010 Bytes) Downloaded 138 times
User avatar
hanna
Prole
Posts: 3
Joined: Fri Mar 13, 2015 4:20 pm
Contact:

Re: Drawing Multiple Shapes

Post by hanna »

yr variables are global.
Honolulua
Prole
Posts: 3
Joined: Wed Mar 28, 2018 4:15 am

Re: Drawing Multiple Shapes

Post by Honolulua »

Thank you, hanna!
Post Reply

Who is online

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