Computer Science Canada ~~!Moving Background!~~ |
Author: | biggmak [ Fri Mar 21, 2003 7:05 pm ] | ||
Post subject: | ~~!Moving Background!~~ | ||
im trying to make this game where this character walks around but i cant get the background to move over to the right by, let say five, so i set up an if statement for it and this is what i got...
This is not working correctly because the background constantly keeps on moving to the left by 10 as long as the guy is past 500. I need to make it move only when the character moves further to the right (past 500), and need it to stop when the character stops(past 500). |
Author: | Tony [ Fri Mar 21, 2003 7:11 pm ] |
Post subject: | |
Why cant you people just read the tutorials first and see if there's anything there? its called "MOVING BACKGROUND" - http://www.compsci.ca/bbs/viewtopic.php?t=193 |
Author: | Delta [ Fri Mar 21, 2003 7:24 pm ] |
Post subject: | |
hahahahahahaha I WIN! wait no I don't this post was useless |
Author: | biggmak [ Sat Mar 22, 2003 3:14 pm ] |
Post subject: | |
i read that tutorial but that only works if i have one character pic, but i have a total of 12. so do i have to set x and y variables for each picture? |
Author: | Asok [ Sat Mar 22, 2003 3:59 pm ] |
Post subject: | |
anything that is not the background should be on a sperate layer. |