Rotatesprite16 - EDukeWiki

# Rotatesprite16

From EDukeWiki

rotatesprite16 <x> <y> <z> <a> <tilenum> <shade> <pal> <orientation> <x1> <y1> <x2> <y2>

Displays tiles onscreen. It works like the rotatesprite command, but it is 65536 times more accurate.

<x> X coordinate, ranged 0-20971520 (320*65536 = 20971520)
<y> Y coordinate, ranged 0-13107200 (200*65536 = 13107200)

The command is named "rotatesprite16" because "multiplying by 65536" is equivalent to "shifting left by 16".

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Rotatesprite16&oldid=11629"
Categories:

- EDuke32 specific commands
- Screen drawing commands