Search found 15 matches
- Mon Aug 11, 2014 11:10 pm
- Forum: Support and Development
- Topic: Height boundaries don't seem to be working correctly.
- Replies: 3
- Views: 2558
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)...
- 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: 2734
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?
- 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: 2734
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 n...
- Thu Apr 26, 2012 6:09 pm
- Forum: Support and Development
- Topic: Side-scrolly-fast stuff?
- Replies: 4
- Views: 3033
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.
- 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: 11610
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...
- 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: 11610
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?
- 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: 11610
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...
- 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: 11610
Re: Nothing happens when I call function in other script/fil
Uh...I put in , but I still get the error
edit:
I even tried replacing that with an actual number, still get the error
Code: Select all
objects.ball.shape:getRadius()
edit:
I even tried replacing that with an actual number, still get the error
- 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: 11610
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!
- 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: 11610
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...
I must be REALLY bad at this...