| 23 Dec 2004 11:05:12 am by leofox |
|
|
Yes! I finally made smooth scrolling. Well, only vertical, but horizontal should be coming soon. What i did was making a big 960B buffer, the tempbuf, that replaces the gbuf. the tempbuf contains the screen and the tiles just above and just under the screen. When i scroll i just move the tiles on the outside screen areas to the screen area, and then copy the tempbuf to the screen. To make sure the character doesn't get scrolled, i made the routine that i use for the sprite copy to the gbuf.
here's a little screenie:
if it's looks ugly, then that's calc capture again. it looks great oncalc and onvti.
As you can see there is no horizontal scrolling yet, and i don't really know how to do that. Does someone have help, example code and stuff? |
| 10 Jan 2005 12:15:52 pm by leofox |
|
|
| The smooth-scrolling is complete! It's not really smooth scrolling, you walk with 8 pixels a time, but the screen scrolls smoothly every time you walk. Like in pokemon blue. |
| 10 Jan 2005 06:01:15 pm by Toksyuryel |
|
|
Looks awesome keep up the good work  |
| 11 Jan 2005 09:24:49 am by leofox |
|
|
| The new version looks way better, with the horizontal scrolling too. I'll make a screenshot in a while. |