Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
2 answers
300 views

Infinite scrolling with mouse

I know we're able to scroll a background image hardcoded or using awsd keys(or arrows) if they're pressed. But what about scrolling it with mouse movement? So I have a piece of panoramic image as a ...
Intice's user avatar
  • 31
1 vote
1 answer
89 views

Selecting Tiles Correctly With Scroll

I would like to understand the process of selecting the correct tile from a scaled Surface when I have information about the number of tiles on the x and y axes, the length of the Surface, and also ...
anathrax's user avatar
0 votes
1 answer
840 views

pygame scrolling: target moves faster than the camera

I know many questions have already been asked on this same topic, but I can't figure out from those how to solve my problem (possibly due to a different approach to achieve the same goal: scrolling my ...
umbe1987's user avatar
  • 101
-1 votes
1 answer
3k views

How to make a Infinite Verticle Scrolling Background in Pygame

Is there anyone who knows how to create an infinite verticle scrolling background in pygame? Your help would be much appreciated, thanks in advance!
Tahmid RAhman's user avatar
2 votes
2 answers
17k views

Pygame - implementing a scrolling camera

I am currently making a 2d game in Pygame and have run into a roadblock trying to make a scrolling camera (follows the character). I have seen some other answers to similar questions, but they have ...
thevengefulco's user avatar