Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: VB8.0
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 3-Jul-10 0:00am
daveauld at 5-Jul-10 3:08am
If you are novice programmer, you are maybe 'byte-ing' of a 'bit' much to start with...........
zero98 at 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 at 5-Jul-10 5:15am
After three years you should not consider yourself a novice.
zero98 at 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 at 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
0 OriginalGriff 605
1 Maciej Los 205
2 Abhinav S 171
3 Suvendu Shekhar Giri 159
4 Richard Deeming 150
0 Sergey Alexandrovich Kryukov 9,623
1 OriginalGriff 9,095
2 Peter Leow 5,044
3 Kornfeld Eliyahu Peter 3,373
4 Maciej Los 2,581

Advertise | Privacy | Mobile
Web03 | 2.8.150327.1 | Last Updated 5 Jul 2010
Copyright © CodeProject, 1999-2015
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