Advertisement Jump to content


This topic is now archived and is closed to further replies.


Fastest method to scroll the screen?

This topic is 5637 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

you mean scrolling a sub section of the screen? you could render your scene to an off sceen buffer (texture) and then create a subImage with the section you want to offset and then blend i back on to the original image at an offset position.

Share this post

Link to post
Share on other sites
That''s one approach. The reason I need it is becasue I''m making a 2D game with scrolling and would like to be able to shift the screen contents in a given direction and then simply render the new area, saving the need to re-render the entire screen.

I want to optimise it to high heaven so it runs on older systems, and they don''t like rendering the entire game scene every frame :/ They probably also won''t like rendering to an buffer then copying them into the screen at an offset.

So is there no way at all to offset the screen contents quickly?

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!