Click here to Skip to main content
13,055,852 members (50,572 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi I am making a side scrolling game for like the ones in the old arcade games. I am having some trouble making the background scroll if anyone could give me some code to make my background move from left to right. I am using VB8 and I am a novice at coding so please make the code easy to understand.
Posted 2-Jul-10 23:00pm
daveauld 5-Jul-10 3:08am
If you are novice programmer, you are maybe 'byte-ing' of a 'bit' much to start with...........
zero98 5-Jul-10 5:01am
I know that but its a school project and i need to get the marks and I learn really quickly as long as everything has comments or show what part does what.

I have been coding for 3 years: does that mean I am a novice I don't know.
Dalek Dave 5-Jul-10 5:15am
After three years you should not consider yourself a novice.
zero98 7-Jul-10 1:17am
Ok so I am not a novice anymore yay. I just thought more like 5 years would be when you are no longer classed as a novice.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Perhaps you should consider what the word 'answer' means before pressing it to reply to yourself. To move your background, just draw it from a different starting point, so that it appears to move. You'd do better to use XNA, Winforms is NOT a framework suitable for writing games, your game will look bad at some point due to buffering issues, or something else where you're just using the wrong tool for the job.
zero98 7-Jul-10 1:19am
Yeah I know I realized that after I had clicked post. Sorry. It was my first time ever posting something on a forum website.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 5 Jul 2010
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100