Hello!
Forgive me if this is a trivial question.
What is the nicest way to go about having a background which moves at a
constant speed in one direction (as in a side-scrolling shooter)? Right
now, I draw all the sprites onto the background image, which is moving,
and then draw that onto the
Samuel Mankins waterfli...@speakeasy.net wrote:
Forgive me if this is a trivial question.
What is the nicest way to go about having a background which moves at a
constant speed in one direction (as in a side-scrolling shooter)? Right now,
I draw all the sprites onto the background image,
All right, that's pretty much what I'm doing. Thank you!
On 7/30/11 12:56 PM, NBarnes wrote:
Samuel Mankinswaterfli...@speakeasy.net wrote:
Forgive me if this is a trivial question.
What is the nicest way to go about having a background which moves at a
constant speed in one direction (as
Hi all.
Here's a module that provides a scrolling background. This is pretty common
in 2D games and I think it should be considered for inclusion in pygame.
To see a simple, 100-line example, just run:
python scroll_example.py
-sjbrown
scrolling.tar.gz
Description: GNU Zip compressed data