mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-05-23 15:02:12 -04:00
186 lines
7.5 KiB
HTML
186 lines
7.5 KiB
HTML
<!-- HTML header for doxygen 1.10.0-->
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.13.2"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>SpaghettiKart: Quick Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<script type="text/javascript" src="clipboard.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="cookie.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen-awesome-sidebar-only.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen-awesome-sidebar-only-darkmode-toggle.css" rel="stylesheet" type="text/css"/>
|
|
<link href="docs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="doxygen-awesome-darkmode-toggle.js"></script>
|
|
<script type="text/javascript">
|
|
DoxygenAwesomeDarkModeToggle.init()
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">SpaghettiKart
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.13.2 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() { codefold.init(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search',true);
|
|
$(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function(){initNavTree('quick.html',''); initResizable(true); });
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div><div class="header">
|
|
<div class="headertitle"><div class="title">Quick Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><h1><a class="anchor" id="quick-reference"></a>
|
|
Quick Reference</h1>
|
|
<p>Important details without the steps</p>
|
|
<h2><a class="anchor" id="template-project"></a>
|
|
Template Project</h2>
|
|
<ul>
|
|
<li>See the template below containing<ul>
|
|
<li>A finishline model for use as as reference</li>
|
|
<li>A starting road (probably delete and make your own)</li>
|
|
<li>Road has enough length behind the finishline for the racers</li>
|
|
<li>A starting path</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<p><a href="template 1.0.blend">template 1.0.blend</a></p>
|
|
<h2><a class="anchor" id="track-details"></a>
|
|
Track Details</h2>
|
|
<p>Path Points: ~800 (any number is fine)</p><ul>
|
|
<li>For best results, place path points evenly apart spacing each one by around 0.20 blender units <a class="el" href="structTriangle.html">Triangle</a> Count: Original tracks average ~6000 triangles<ul>
|
|
<li>SpaghettiKart will start losing fps after ~100k triangles</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<p>Starting Line Width: 1.75 units <br />
|
|
<a class="el" href="classTrack.html">Track</a> Boundaries: +-32767.0 in Blender units this is +-1310.68 (32767 / 25)</p><ul>
|
|
<li><a class="el" href="structNote.html">Note</a> that this allows a very big track</li>
|
|
</ul>
|
|
<p><a class="el" href="classTrack.html">Track</a> Widths:</p><ul>
|
|
<li>Luigi Raceway track width: 1.13 points</li>
|
|
<li>Mario Raceway track width: 1.0 points</li>
|
|
<li>Wide: 1.1 points to 2.0 points</li>
|
|
<li>Medium: 0.8 points to 1.1 points</li>
|
|
<li>Narrow: 0.5 point to 0.8 points</li>
|
|
</ul>
|
|
<h2><a class="anchor" id="the-laws-of-spaghettikart"></a>
|
|
The Laws of SpaghettiKart</h2>
|
|
<ul>
|
|
<li><a class="el" href="classTrack.html">Track</a> geography must be a plane, not a box<ul>
|
|
<li>A flat track with a basic plane (square), needs to be turned into triangules and/or subdivided a few times, otherwise the collision generation will 'wig out', placing the racers incorrectly</li>
|
|
</ul>
|
|
</li>
|
|
<li>The starting line must face north<ul>
|
|
<li>In Blender: Positive Green Y Axis</li>
|
|
<li>In game: Negative Z axis</li>
|
|
</ul>
|
|
</li>
|
|
<li>The meshes anchor needs to be center of mass or at 0,0,0<ul>
|
|
<li>Otherwise the mesh will have a weird offset.</li>
|
|
</ul>
|
|
</li>
|
|
<li>Do not draw your path backwards (In blender turn on normals on the bezier curve to see the direction)</li>
|
|
<li>The first path point is set at 0,0,0</li>
|
|
<li>Recommend a scaling of 25 in the F3D Exporter window</li>
|
|
<li>Must be 10 path points behind the starting line</li>
|
|
</ul>
|
|
<h1><a class="anchor" id="collision-surface-extra-types"></a>
|
|
Collision Surface Extra Types</h1>
|
|
<p>Colouring vertices the following colours will set these actions for that area.</p><ul>
|
|
<li><a class="el" href="structPlayer.html">Player</a> Tumbles: RGB(153, 0, 153)</li>
|
|
<li>No <a class="el" href="structCollision.html">Collision</a>: RGB(0, 153, 153)</li>
|
|
<li>Darkens the player: RGB(255, 0, 0)</li>
|
|
<li>Out of Bounds: RGB(230, 204, 0) </li>
|
|
</ul>
|
|
</div></div><!-- contents -->
|
|
</div><!-- PageDoc -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="trackmenu.html">Track Making</a></li>
|
|
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|