Search found 55 matches

by Ertain
Sat Nov 20, 2010 5:21 pm
Forum: Support and Development
Topic: Scrolling background
Replies: 10
Views: 4793

Re: Scrolling background

Yeah, I've been trying to do that, but the images don't seem to "sync" up. For example, I'll have a number of big tiles which move down the screen. When one of the big tiles leaves the screen (on an 800 by 600 screen I'd check if the variable actually doing the "moving" is greate...
by Ertain
Sat Nov 20, 2010 4:59 am
Forum: Support and Development
Topic: Scrolling background
Replies: 10
Views: 4793

Re: Scrolling background

Hooray for progression. But now I need to show it scrolls continuously. I'm flabergasted as to how to exactly do this. :o: I need to check when the background tiles leave the screen. Then I need to either move them back to the top, or just take out those and load some new tiles (using quads or somet...
by Ertain
Sat Nov 20, 2010 4:41 am
Forum: Support and Development
Topic: Scrolling background
Replies: 10
Views: 4793

Re: Scrolling background

Ok, just pop it onto the moving stack, then use translate(), rotate(), whatever, and finally pop it off? I shall try using that.
*Tries using that.*
by Ertain
Fri Nov 19, 2010 11:26 pm
Forum: Support and Development
Topic: Scrolling background
Replies: 10
Views: 4793

Re: Scrolling background

Thank you for the reply, kikito. I have looked into love.graphics.translate(), but I don't know how to exactly use it. Should I use it in love.draw()? If so, where exactly in the order of statements? For example, if I wrote this: function love.draw() love.graphics.translate(2, 2) love.graphics.draw(...
by Ertain
Fri Nov 19, 2010 10:08 pm
Forum: Support and Development
Topic: Scrolling background
Replies: 10
Views: 4793

Scrolling background

Hello everyone. This is my first time posting on the board (though I have been using LÖVE for a while). I'm trying to write my own shmup game. What I'm trying to do is make the background scroll smoothly, not only smoothly, but at a fast rate. I have looked into just loading a big image and changing...