One way scrolling game == shame?

You can talk about almost anything that you want to on this board.

Moderator: Moderators

User avatar
Dwedit
Posts: 4470
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Post by Dwedit »

Handling full 16-bit coordinates of objects is much easier than doing 9-bit math.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
User avatar
Bregalad
Posts: 8036
Joined: Fri Nov 12, 2004 2:49 pm
Location: Caen, France

Post by Bregalad »

Who ever talked about 9-bit ?
I've always sad 8-bit was not enough for a screen, and that 16-bits were necessarly anyways to handle overflow and fine scrolling correctly.

As you said yourself if you use more than 8 you have to use 16 if you want to avoid extremely complicated operations, now it's up to anyone to use them as they want. I like have the middle 8-bits the pixels, so that the top 8-bits represent metatiles (up to 15 screens) and the low 4-bits the sub-pixel precision. If you use only 2 screens then it won't matter, any object outside $0000-$1FFF will be considered out of range.
Useless, lumbering half-wits don't scare us.
Celius
Posts: 2159
Joined: Sun Jun 05, 2005 2:04 pm
Location: Minneapolis, Minnesota, United States
Contact:

Post by Celius »

Bregalad wrote: So if you'd chose center as I, the "poping" problem would happen, but be half of what you mention and happen in both directions. Now if you handle say 2 screens at a time, with 1/2 invisible screens on the left and right and a completely visible screen, this problem will be completely solved.
It's funny you mention this, because I do exactly what you're saying with the 2 screens. I have 1 visible screen, and then the two invisible halves on opposite sides. So I guess it still is possible. But then again, in my situation I won't go back and change anything because my metatile system happens to work quite nicely (and without a lot of complexity).

EDIT: Yay, happy 2000th post party for me.
zzo38
Posts: 1080
Joined: Mon Feb 07, 2011 12:46 pm

Post by zzo38 »

I happen to like one-way, but game that can go both ways is also OK.
Post Reply