Background Class
Well, I didn't finish my background class like I thought I would this weekend. A recent purchase kind of got in the way (Guild Wars is awesome!)
But I have thought about somethings that it needs to be able to do so I thought I would jot some of those thoughts down here.
1. Autoscroll flag - basically sometimes you want the background to autoscroll and sometimes you don't.
2. Wrap textures flag - sometimes you want to keep cycling through your background textures and sometimes you don't.
3. Multiple background textures - break the level up into smaller graphics
4. Horizontal Scroll/Vertical scroll - able to scroll backgrounds horizontally or vertically depending on game and level.
So currnetly I have the ability to autoscroll a single background image horizontally continuously. Still a ways to go to provide all the other functionality.
Still pretty cool that it's working though. I had some fun with it thise weekend by having my son draw a background on paper and then draw some characters on another paper. We scanned those in, I added them to the game and viola his litte guy he drew was now walking all around the background he drew. He thought that was pretty cool!
Maybe I'll post up some pictures of that later.
But I have thought about somethings that it needs to be able to do so I thought I would jot some of those thoughts down here.
1. Autoscroll flag - basically sometimes you want the background to autoscroll and sometimes you don't.
2. Wrap textures flag - sometimes you want to keep cycling through your background textures and sometimes you don't.
3. Multiple background textures - break the level up into smaller graphics
4. Horizontal Scroll/Vertical scroll - able to scroll backgrounds horizontally or vertically depending on game and level.
So currnetly I have the ability to autoscroll a single background image horizontally continuously. Still a ways to go to provide all the other functionality.
Still pretty cool that it's working though. I had some fun with it thise weekend by having my son draw a background on paper and then draw some characters on another paper. We scanned those in, I added them to the game and viola his litte guy he drew was now walking all around the background he drew. He thought that was pretty cool!
Maybe I'll post up some pictures of that later.
0 Comments:
Post a Comment
<< Home