Sonic the hedgehog 2
Make your rings placement looks right
By Sonic Hachelle-Bee on May 16 2005.
First, keep in mind that in a row or column of rings, rings are
separated by 24 pixels each other. Rings are usually 12 pixels up the
floor, or only 6 pixels up the floor if you are going fast at this
location (loops or springs). Rings are also placed 8 pixels besides a
wall. To make your rings placement even better, they mustn't enter in
collision with a badnick, and you must put 3 rings (or 4 sometimes) at
the beginning of the level that you can see before the title card
disappear: this only to have a good start.
In the rings placement, you don't need to write the object type. Only
write the coordinates (4 bytes) and write the number of rings you want
to be placed after this coordinate in game: Usually, the first nyble of
the Y coordinate is 0. Writing 1 instead of 0 will place 2 rings in a
row. Here is what each number do:
0: place one ring.
1: place 2 rings in a row.
2: place 3 rings in a row.
...
7: place 8 rings in a row.
8: place one ring.
9: place 2 rings in a column.
A: place 3 rings in a column.
...
F: place 8 rings in a column.
One last thing, you can only place no more than 256 rings in one single
act. This is for the perfect counter that takes only a one byte value
in RAM. One more and the game will crash.
Back to: Sonic the hedgehog 2
Table of contents