Rotatesprite16

From EDukeWiki
Revision as of 02:27, 12 June 2008 by Hunter byte (talk | contribs) (New page: '''rotatesprite16''' <x> <y> <z> <a> <tilenum> <shade> <pal> <orientation> <x1> <x2> <y1> <y2> Displays tiles onscreen. It works likewise the rotatesprite command but it the rotat...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Displays tiles onscreen. It works likewise the rotatesprite command but it the rotatesprite16 is more accurate.

<x> x-coordinate. Range 0..13107200. (200*65536=13107200)
<y> y-coordinate. Range 0..20971520. (320*65536=20971520)

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