Myospal - EDukeWiki

# Myospal

From EDukeWiki

myospal <x> <y> <tilenum> <shade> <orientation> <pal>

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...

<pal> is the palette.

    setvar x 30
    setvar y 30
    setvar tilenum 3350
    setvar shade 0
    setvar pal 2
    setvar orientation 1 // transparency
    myospal x y tilenum shade orientation pal

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

- EDuke commands
- Screen drawing commands