Click here to Skip to main content
Rate this: bad
good
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
zero98108
Comments
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
good
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.
  Permalink  
Comments
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 215
1 George Jonsson 175
2 Kornfeld Eliyahu Peter 159
3 PIEBALDconsult 110
4 Richard MacCutchan 85
0 OriginalGriff 6,080
1 DamithSL 4,648
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,624
4 Sergey Alexandrovich Kryukov 3,294


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 5 Jul 2010
Copyright © CodeProject, 1999-2014
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