Myos: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
Fox (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
myos <x> <y> <tilenum> <shade> <[[orientation]]>
{{Deprecated}}
 
'''myos''' <x> <y> <tilenum> <shade> <[[orientation]]>


Displays tiles onscreen.  This is an older, more limited version of [[rotatesprite]].  The images are displayed at 320x200 resolution (the same as the default weapons).
Displays tiles onscreen.  This is an older, more limited version of [[rotatesprite]].  The images are displayed at 320x200 resolution (the same as the default weapons).
Line 13: Line 15:
<[[orientation]]> translucency, masking, etc...
<[[orientation]]> translucency, masking, etc...


Example code:
setvar x 30
setvar y 30
setvar tilenum 3350
setvar shade 0
setvar orientation 1 // transparency
'''myos''' x y tilenum shade orientation


<pre>
setvar x 30
setvar y 30
setvar tilenum 3350
setvar shade 0
setvar orientation 1 // transparency
myos x y tilenum shade orientation
</pre>


[[Category:EDuke commands]]
[[Category:EDuke commands]]
[[Category:Screen drawing commands]]
[[Category:Screen drawing commands]]

Latest revision as of 04:10, 29 August 2020

This feature is deprecated.
It's recommend not to use this feature.

myos <x> <y> <tilenum> <shade> <orientation>

Displays tiles onscreen. This is an older, more limited version of rotatesprite. The images are displayed at 320x200 resolution (the same as the default weapons).

<x> X coordinate, ranged 0-320

<y> Y coordinate, ranged 0-200

<tilenum> is the tile number.

<shade> is 0 normally but can be any standard shade up to 31 or 63.

<orientation> translucency, masking, etc...

setvar x 30
setvar y 30
setvar tilenum 3350
setvar shade 0
setvar orientation 1 // transparency
myos x y tilenum shade orientation