Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Flappy/Notes: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
and so on.
and so on.


The result at top is a 32x14 pixel grid.
The result at top is a 32x14 pixel grid. 38DA seems to set vertical position onscreen, and binary follows until 3910.
 
Similarly, at 3914 there is binary for a 32x7 pixel grid.


At 27BA and 27CB there are two numbers 96 and 95, which set what tiles are used for the entire title screen, apart from blank tile 40, and the pointered-in text.
At 27BA and 27CB there are two numbers 96 and 95, which set what tiles are used for the entire title screen, apart from blank tile 40, and the pointered-in text.


Oddly the game only uses two brick background tiles (95/96), filling the other space with three extended fonts. The topmost font is the one commonly used. Text strings are stored together and grabbed via pointers.
Oddly the game only uses two brick background tiles (95/96), filling the other space with three extended fonts. The topmost font is the one commonly used. Text strings are stored together and grabbed via pointers.

Revision as of 07:03, 7 September 2022

Flappy uses an unusual binary format for its title screen (and afterward).

The table that generates the title screen is at $38D1 in the ROM. Each hexadecimal value is a binary interpretation of eight horizontal tiles.

$7B=01111011 $0E=00001110 and so on.

The result at top is a 32x14 pixel grid. 38DA seems to set vertical position onscreen, and binary follows until 3910.

Similarly, at 3914 there is binary for a 32x7 pixel grid.

At 27BA and 27CB there are two numbers 96 and 95, which set what tiles are used for the entire title screen, apart from blank tile 40, and the pointered-in text.

Oddly the game only uses two brick background tiles (95/96), filling the other space with three extended fonts. The topmost font is the one commonly used. Text strings are stored together and grabbed via pointers.