Scrolling Background without Tiles

Hi all. I read an interesting post about creating big backgrounds that scroll with the player without using tiles.

http://forum.java.sun.com/thread.jsp?forum=406&thread=436820

Some interesting points were raised and I think I might give it a shot. I'm totally new to this whole graphics thing though so I have a question:

If i create a huge background, bigger than my screen like the guy in the post suggested, how would I go about displaying only part of it and scrolling through the rest?

[528 byte] By [GordonMcLachlan] at [2007-9-30 10:24:33]
# 1

simply draw the huge image with the appropriate -ive offset.

e.g. if you want the camera to appear at [x,y], then you would draw the huge background image at [-x.-y].

note.

There are technical issues to consider when using huge images - hardware acceleration imposes limitations on the size (and aspect ratio) of textures(images).

Abuse at 2007-7-3 18:40:00 > top of Java-index,Other Topics,Java Game Development...