fceux/help/LuaScripting.html

92 lines
3.6 KiB
HTML

<html>
<head>
<title>Lua Scripting</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="generator" content="HelpNDoc Personal Edition 3.8.0.560">
<link type="text/css" rel="stylesheet" media="all" href="css/reset.css" />
<link type="text/css" rel="stylesheet" media="all" href="css/base.css" />
<link type="text/css" rel="stylesheet" media="all" href="css/hnd.css" />
<!--[if lte IE 8]>
<link type="text/css" rel="stylesheet" media="all" href="css/ielte8.css" />
<![endif]-->
<style type="text/css">
#topic_header
{
background-color: #EFEFEF;
}
</style>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/hnd.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
if (top.frames.length == 0)
{
var sTopicUrl = top.location.href.substring(top.location.href.lastIndexOf("/") + 1, top.location.href.length);
top.location.href = "fceux.html?" + sTopicUrl;
}
else if (top && top.FrameTOC && top.FrameTOC.SelectTocItem)
{
top.FrameTOC.SelectTocItem("LuaScripting");
}
});
</script>
</head>
<body>
<div id="topic_header">
<div id="topic_header_content">
<h1>Lua Scripting</h1>
</div>
<div id="topic_header_nav">
<a href="GameGenieEncoderDecoder.html"><img src="img/arrow_left.png" alt="Previous"/></a>
<a href="LuaGettingStarted.html"><img src="img/arrow_right.png" alt="Next"/></a>
</div>
<div class="clear"></div>
</div>
<div id="topic_content">
<p></p>
<p><span class="rvts17">Lua Scripting</span></p>
<p><br/></p>
<p>Lua is a scripting language similar to Perl or Python. &nbsp;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. &nbsp;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. &nbsp;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="rvts54" href="LuaGettingStarted.html">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="rvts54" href="Commands.html">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="rvts54" href="LuaFunctionsList.html">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="rvts54" href="LuaBot.html">Lua Bot</a></p>
<p><br/></p>
<p>How to use Luau's version of Basic bot.</p>
<p></p>
<p class="rvps2"><span class="rvts13">Created with the Personal Edition of HelpNDoc: </span><a class="rvts14" href="http://www.helpndoc.com/feature-tour/iphone-website-generation">Free iPhone documentation generator</a></p>
</div>
<div id="topic_footer">
<div id="topic_footer_content">
2012</div>
</div>
</body>
</html>