templeos-info/public/Wb/Doc/Resource.DD.HTML

43 lines
2.5 KiB
Plaintext
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="generator" content="TempleOS V5.03">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="/style/templeos.css">
<script src="/script/templeos.js"></script>
<style type="text/css">
.cF0{color:#000000;background-color:#ffffff;}
.cF1{color:#0000aa;background-color:#ffffff;}
.cF2{color:#00aa00;background-color:#ffffff;}
.cF3{color:#00aaaa;background-color:#ffffff;}
.cF4{color:#aa0000;background-color:#ffffff;}
.cF5{color:#aa00aa;background-color:#ffffff;}
.cF6{color:#aa5500;background-color:#ffffff;}
.cF7{color:#aaaaaa;background-color:#ffffff;}
.cF8{color:#555555;background-color:#ffffff;}
.cF9{color:#5555ff;background-color:#ffffff;}
.cFA{color:#55ff55;background-color:#ffffff;}
.cFB{color:#55ffff;background-color:#ffffff;}
.cFC{color:#ff5555;background-color:#ffffff;}
.cFD{color:#ff55ff;background-color:#ffffff;}
.cFE{color:#ffff55;background-color:#ffffff;}
.cFF{color:#ffffff;background-color:#ffffff;}
</style>
</head>
<body>
2024-03-23 13:40:50 +00:00
<pre style="font-family: courier, monospace; font-size: 10pt;">
<a name="l1"></a><span class=cF5> Graphic Sprite Resource Help</span><span class=cF0>
<a name="l2"></a>
<a name="l3"></a>A sprite is an ordered list of elements such as lines, rectangles, bitmaps and
<a name="l4"></a>color changes. In a program's source code, you first </span><span class=cF2>make a sprite</span><span class=cF0> somewhere
<a name="l5"></a>outside a function. Then, you </span><span class=cF2>insert a pointer</span><span class=cF0> to the sprite as an &quot;*elems&quot; arg
2024-03-23 13:40:50 +00:00
<a name="l6"></a>when calling </span><a href="/Wb/Adam/Gr/GrSpritePlot.HC#l468"><span class=cF4>Sprite</span></a><span class=cF0>() or </span><a href="/Wb/Adam/Gr/GrSpritePlot.HC#l18"><span class=cF4>Sprite3</span></a><span class=cF0>(). See </span><span class=cF4><u>Sprites</u></span><span class=cF0>.
<a name="l7"></a>
2024-03-23 13:40:50 +00:00
<a name="l8"></a>You can create a </span><span class=cF2>sprite macro</span><span class=cF0> on your </span><a href="/Wb/Home/PersonalMenu.#l1"><span class=cF4>PersonalMenu</span></a><span class=cF0> with a payload of </span><a href="/Wb/Doc/HolyC.DD.HTML#l1"><span class=cF4>HolyC</span></a><span class=cF0>
<a name="l9"></a>source code to execute when it ESC's back to the cmd line. If you check
<a name="l10"></a>&quot;Pop-Up&quot;, it will spawn a new task and run the payload. A pop-up macro can be
<a name="l11"></a>placed in any document.
</span></pre></body>
</html>