How to Use
Decimal to Hex: Enter decimal values (positive or negative) separated by spaces or commas. Negative values will be converted using two's complement.
Hex to Decimal: Enter hex values with or without $ prefix (e.g., F8 E8 or $F8 $E8). Values ≥ 80 will be interpreted as negative using two's complement.
Meta Sprite Data: Each pair of values represents one sprite's position (X, Y offset from base position).
Visualizer: Click "Visualize Current Data" to see how your coordinates look as positioned tiles. Each tile is numbered in order.
Example Conversion:
Decimal: -8, -24, 0, -24
Hex: F8, E8, 00, E8
Two's Complement:
-8 → F8 (256 - 8 = 248)
-24 → E8 (256 - 24 = 232)
0 → 00
-24 → E8