Search found 15 matches

by ziodice
Mon Aug 11, 2014 11:10 pm
Forum: Support and Development
Topic: Height boundaries don't seem to be working correctly.
Replies: 3
Views: 942

Height boundaries don't seem to be working correctly.

The problem with this program is that the rectangles often clip the top and bottom borders. The goal of the program is to spawn rectangles that spawn in another random position when you press the 'r' key. --Loads initial variables. function love.load() love.graphics.setBackgroundColor(255, 255, 255)...
by ziodice
Mon Aug 11, 2014 8:36 pm
Forum: Support and Development
Topic: Various button pressing functions don't seem to do anything?
Replies: 4
Views: 970

Re: Various button pressing functions don't seem to do anyth

Wow, I feel stupid now. See, I assumed it was an issue with the code because "esc" didn't work either, is "esc" also not the right code for the escape key?
by ziodice
Mon Aug 11, 2014 8:32 pm
Forum: Support and Development
Topic: Various button pressing functions don't seem to do anything?
Replies: 4
Views: 970

Various button pressing functions don't seem to do anything?

So, I've just been messing around with it, not necessarily trying to make a game or anything, but I've been trying to have the program show a picture when I press spacebar. function love.load() love.graphics.setBackgroundColor(255,0,0) <what I named the picture> = love.graphics.newImage("<the name o...
by ziodice
Thu Apr 26, 2012 6:09 pm
Forum: Support and Development
Topic: Side-scrolly-fast stuff?
Replies: 4
Views: 835

Side-scrolly-fast stuff?

Okay, so I basically wanted to know if Love2D could handle tons of very fast moving things on the screen. Wanted to make a fast, side scrolling shooter. Bullet-hell style.
by ziodice
Fri Feb 24, 2012 6:33 pm
Forum: Support and Development
Topic: Nothing happens when I call function in other script/file?
Replies: 19
Views: 4335

Re: Nothing happens when I call function in other script/fil

Um...I'm kind of new, so I'm not sure what to type to ACTIVATE those variables, if that's even what I'm supposed to do...
by ziodice
Fri Feb 24, 2012 4:33 pm
Forum: Support and Development
Topic: Nothing happens when I call function in other script/file?
Replies: 19
Views: 4335

Re: Nothing happens when I call function in other script/fil

Hmm, I can see how that might be a problem...any way for me to make it stay on the "lev1" file?
by ziodice
Fri Feb 24, 2012 2:48 am
Forum: Support and Development
Topic: Nothing happens when I call function in other script/file?
Replies: 19
Views: 4335

Re: Nothing happens when I call function in other script/fil

OKAY, so, I managed to stop all errors, but, upon pressing enter it just flashes. If it's clearing, then redrawing everything, that's bad. Because I want it to just draw back the ball and the ground. As far as I know, that's all I told it to do. When I call a function from another file, does it go b...
by ziodice
Thu Feb 23, 2012 10:28 pm
Forum: Support and Development
Topic: Nothing happens when I call function in other script/file?
Replies: 19
Views: 4335

Re: Nothing happens when I call function in other script/fil

Uh...I put in

Code: Select all

objects.ball.shape:getRadius()
, but I still get the error

edit:
I even tried replacing that with an actual number, still get the error
by ziodice
Thu Feb 23, 2012 10:23 pm
Forum: Support and Development
Topic: Nothing happens when I call function in other script/file?
Replies: 19
Views: 4335

Re: Nothing happens when I call function in other script/fil

Oh...I really should pay attention to how many arguments I have to put in. I made this mostly by combining tutorials, and I KIND of understand the code. Thank you!
by ziodice
Thu Feb 23, 2012 10:19 pm
Forum: Support and Development
Topic: Nothing happens when I call function in other script/file?
Replies: 19
Views: 4335

Re: Nothing happens when I call function in other script/fil

New error: [string "lev1.lua"]:10: bad argument #4 to 'circle' (number expected, got no value).
I must be REALLY bad at this...