Page 1 of 1
How do I make a shape? Help please.
Posted: Sat Aug 25, 2012 4:00 pm
by Ziggy2764
I need to make a shape for a game I'm making, but I don't know how. All I want to do is make a simple rectangle/square. Is that possible to do (without making an image and inserting the image)? If so, can someone please tell me how? I searched everywhere, but I couldnt find how.
Re: How do I make a shape? Help please.
Posted: Sat Aug 25, 2012 4:06 pm
by bartbes
Did you even make an effort?
(In case you didn't figure it out, every single word in that is a link to a different function for primitive drawing.)
Re: How do I make a shape? Help please.
Posted: Sat Aug 25, 2012 4:08 pm
by Wojak
Re: How do I make a shape? Help please.
Posted: Sat Aug 25, 2012 4:24 pm
by Ziggy2764
Thanks guys, I got it now!
@bart Yes I did make an effort. I used love.graphics.rectangle(mode, x, y, width, height), but I forgot to add width and height. Fail. I just started learning Love2D yesterday, I dont know everything yet, but I did pick up on it very fast, because I know many other programming languages, including Lua.