176 lines
4.9 KiB
HTML
176 lines
4.9 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html><head><title>Lua Scripting</title>
|
||
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
||
|
<style type="text/css"><!--
|
||
|
body {
|
||
|
margin: 5px 5px 5px 5px;
|
||
|
background-color: #ffffff;
|
||
|
}
|
||
|
/* ========== Text Styles ========== */
|
||
|
hr { color: #000000}
|
||
|
body, table /* Normal text */
|
||
|
{
|
||
|
font-size: 10pt;
|
||
|
font-family: 'Arial', 'Helvetica', sans-serif;
|
||
|
font-style: normal;
|
||
|
font-weight: normal;
|
||
|
color: #000000;
|
||
|
text-decoration: none;
|
||
|
;
|
||
|
}
|
||
|
span.rvts1 /* Heading */
|
||
|
{
|
||
|
font-weight: bold;
|
||
|
color: #0000ff;
|
||
|
}
|
||
|
span.rvts2 /* Subheading */
|
||
|
{
|
||
|
font-weight: bold;
|
||
|
color: #000080;
|
||
|
}
|
||
|
span.rvts3 /* Keywords */
|
||
|
{
|
||
|
font-style: italic;
|
||
|
color: #800000;
|
||
|
}
|
||
|
a.rvts4, span.rvts4 /* Jump 1 */
|
||
|
{
|
||
|
color: #008000;
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
a.rvts5, span.rvts5 /* Jump 2 */
|
||
|
{
|
||
|
color: #008000;
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
span.rvts6 /* Font Hint */
|
||
|
{
|
||
|
color: #808080;
|
||
|
}
|
||
|
span.rvts7 /* Font Hint Title */
|
||
|
{
|
||
|
font-size: 15pt;
|
||
|
font-family: 'Tahoma', 'Geneva', sans-serif;
|
||
|
font-weight: bold;
|
||
|
color: #404040;
|
||
|
}
|
||
|
span.rvts8 /* Font Hint Bold */
|
||
|
{
|
||
|
font-weight: bold;
|
||
|
color: #808080;
|
||
|
}
|
||
|
span.rvts9 /* Font Hint Italic */
|
||
|
{
|
||
|
font-style: italic;
|
||
|
color: #808080;
|
||
|
}
|
||
|
span.rvts10
|
||
|
{
|
||
|
font-size: 24pt;
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
span.rvts11
|
||
|
{
|
||
|
font-size: 12pt;
|
||
|
}
|
||
|
a.rvts12, span.rvts12
|
||
|
{
|
||
|
font-size: 12pt;
|
||
|
color: #0000ff;
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
a.rvts12:hover { color: #0000ff; }
|
||
|
span.rvts13 /* Font Style */
|
||
|
{
|
||
|
font-size: 16pt;
|
||
|
font-family: 'Tahoma', 'Geneva', sans-serif;
|
||
|
color: #ffffff;
|
||
|
}
|
||
|
span.rvts14 /* Font Style */
|
||
|
{
|
||
|
font-family: 'MS Sans Serif', 'Geneva', sans-serif;
|
||
|
color: #808080;
|
||
|
}
|
||
|
span.rvts15 /* Font Style */
|
||
|
{
|
||
|
font-family: 'Verdana', 'Geneva', sans-serif;
|
||
|
font-style: italic;
|
||
|
color: #c0c0c0;
|
||
|
}
|
||
|
a.rvts16, span.rvts16 /* Font Style */
|
||
|
{
|
||
|
font-family: 'Verdana', 'Geneva', sans-serif;
|
||
|
font-style: italic;
|
||
|
color: #6666ff;
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
/* ========== Para Styles ========== */
|
||
|
p,ul,ol /* Paragraph Style */
|
||
|
{
|
||
|
text-align: left;
|
||
|
text-indent: 0px;
|
||
|
padding: 0px 0px 0px 0px;
|
||
|
margin: 0px 0px 0px 0px;
|
||
|
}
|
||
|
.rvps1 /* Centered */
|
||
|
{
|
||
|
text-align: center;
|
||
|
}
|
||
|
.rvps2 /* Paragraph Style */
|
||
|
{
|
||
|
background: #9fbed0;
|
||
|
margin: 0px 0px 20px 0px;
|
||
|
}
|
||
|
.rvps3 /* Paragraph Style */
|
||
|
{
|
||
|
text-align: center;
|
||
|
background: #e4e4e4;
|
||
|
margin: 20px 0px 0px 0px;
|
||
|
}
|
||
|
.rvps4 /* Paragraph Style */
|
||
|
{
|
||
|
border-color: #c0c0c0;
|
||
|
border-style: solid;
|
||
|
border-width: 1px;
|
||
|
border-right: none;
|
||
|
border-bottom: none;
|
||
|
border-left: none;
|
||
|
background: #ffffff;
|
||
|
padding: 3px 0px 0px 0px;
|
||
|
margin: 27px 0px 0px 0px;
|
||
|
}
|
||
|
--></style>
|
||
|
<script type="text/javascript">if(top.frames.length == 0) { top.location.href="../fceux-2.0.2.htm?{5EC29434-7F36-40B1-94B6-75EF73F84716}.htm"; }</script>
|
||
|
<meta name="generator" content="HelpNDoc Free"></head>
|
||
|
<body>
|
||
|
|
||
|
<p class=rvps2><span class=rvts13>Lua Scripting</span></p>
|
||
|
<p><span class=rvts10>Lua Scripting</span></p>
|
||
|
<p><br></p>
|
||
|
<p>Lua is a scripting language similar to Perl or Python. It allows for logical evaluation equivalent to languages like C but in a much more dynamic way that eliminates much of the need to compile programs and worry about low level resource management like deleting objects. In the context of FCEUX, Lua allows for direct control of the emulator through this logical construct.</p>
|
||
|
<p><br></p>
|
||
|
<p>What this means to the non-"programmer" is that it you can essentially automate certain tasks in FCEUX, such as holding controller inputs, displaying additional graphical information and saving/loading savestates.</p>
|
||
|
<p><br></p>
|
||
|
<p>A bit of previous programming knowledge will be useful in taking advantage of this feature, but it is certainly not a requirement. Lua is specifically written with the intention of being easier than most languages for anyone to understand and use.</p>
|
||
|
<p><br></p>
|
||
|
<p><br></p>
|
||
|
<p><a class=rvts12 href="{26F9812A-A0FB-4F3F-8514-5E6A7984F327}.htm">Getting Started</a></p>
|
||
|
<p><br></p>
|
||
|
<p>The basics of Lua scripting, its implementation into FCEUX, and how to get started using Lua.</p>
|
||
|
<p><br></p>
|
||
|
<p><a class=rvts12 href="{7375BEB7-A588-45AB-8BC4-F7840D87DADD}.htm">Using Lua</a></p>
|
||
|
<p><br></p>
|
||
|
<p>How to use Lua and basic syntax/commands that are useable under FCEUX.</p>
|
||
|
<p><br></p>
|
||
|
<p><a class=rvts12 href="{D3F1816D-0770-4257-98D2-A21456B07D28}.htm">Lua Functions List</a></p>
|
||
|
<p><br></p>
|
||
|
<p>A list of Lua functions available in FCEUX and a brief description of each.</p>
|
||
|
<p><br></p>
|
||
|
<p><a class=rvts12 href="{10AC9AD4-75EE-41A9-A67E-8136B6746C2E}.htm">Lua Bot</a></p>
|
||
|
<p><br></p>
|
||
|
<p>How to use Luau's version of Basic bot.</p>
|
||
|
<p class=rvps3><span class=rvts14>2008</span></p>
|
||
|
<p class=rvps4><span class=rvts15>This help file has been generated by the freeware version of </span><a class=rvts16 href="http://www.ibe-software.com/products/software/helpndoc/" target="_blank">HelpNDoc</a></p>
|
||
|
|
||
|
</body></html>
|