lua: document zapper.set
This commit is contained in:
parent
c4ee998148
commit
ce16e47410
web/help
|
@ -418,8 +418,17 @@
|
|||
<p><span class="rvts37"><br/></span></p>
|
||||
<p><span class="rvts37">The return table consists of 3 values: x, y, and fire. x and y are the x,y coordinates of the zapper target in terms of pixels. fire represents the zapper firing. 0 = not firing, 1 = firing</span></p>
|
||||
<p><span class="rvts37"><br/></span></p>
|
||||
<p><span class="rvts64">zapper.set(table input)</span></p>
|
||||
<p><span class="rvts37"><br/></span></p>
|
||||
<p><span class="rvts37">Note: The zapper is always controller 2 on the NES so there is no player argument to this function.</span></p>
|
||||
<p><span class="rvts37">Sets the zapper input state.</span></p>
|
||||
<p><span class="rvts37"><br/></span></p>
|
||||
<p><span class="rvts37">Taple entries (nil or -1 to leave unaffected):</span></p>
|
||||
<p><span class="rvts37">x - Forces the X position </span></p>
|
||||
<p><span class="rvts37">y - Forces the Y position</span></p>
|
||||
<p><span class="rvts37">fire - Forces trigger (true/1 on, false/0 off)</span></p>
|
||||
<p><span class="rvts37"><br/></span></p>
|
||||
<p><span class="rvts37"><br/></span></p>
|
||||
<p><span class="rvts37">Note: The zapper is always controller 2 on the NES so there is no player argument to these functiosn.</span></p>
|
||||
<p><span class="rvts37"><br/></span></p>
|
||||
<p><span class="rvts37"><br/></span></p>
|
||||
<p><span class="rvts71">Input Library</span></p>
|
||||
|
|
Loading…
Reference in New Issue