Ok, I'm working with papersnowman on a new project now, donkey kong. It will be a tilemapped side-scroller. I have written the scrolling engine so far. It masks the tilemapped foreground on top of a rotating background. I will later release the engine so it can be used by anyone.
PS: Pardon the choppyness of the SS, calccapture is just hateful like that :/
EDIT: I've timed the engine to about 500,000 CC's per frame, giving it a framerate of about 12. This isn't too bad, but I'll definitely come back to it, making optimizations wherever I can.
Last edited by snowman_hater on Mon 26 Mar, 2007 3:41 am, edited 1 time in total.
Looking pretty sweet so far! So this will play like the Donkey Kong Country games i take it? Great idea since i dont think anyone has attempted to make such a game for the 83+ or what not.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Erm, it will have the DK country level-sets, but will look more like DK Land for the GB, since it's in monochrome, and [to my knowledge] the SNES doesn't have a z80
you that looks pretty sweet. I am not an expert on Donkey Kong but doesn't it have physics, and if it does will this be a physics engine??
I won't have anything as far as acceleration goes, but I will definitely play with the falling rate to make it somewhat realistic. Any sort of heavy calculations would take too much processing power. One of the things that will present a challenge will be making the falling rate for scrolling frames match the falling rate for non-scrolling frames, since non-scrolling frames take 500,000 CC's less than scrolling frames 0.o
Update: I've made some optimizations, and cut the routine down to 450,000 CC's giving it a framerate of about 13 fps. The speed increase is a bit noticable in this pic.
Special thanks to dwedit, since i'm using the splash from bubble bobble
It's definitely variable. It technically doesn't scroll, it just plots based on a tilemap offset in bc, so the incrementation could easily be changed. No idea whether or not I'll have animated tiles.
In fact, scrolling by 2 pixels on the tilemap, but only rotating the background once gives an interesting effect. Thanks for the tip