mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-08-28 01:16:47 -04:00
175 lines
6.9 KiB
HTML
175 lines
6.9 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: Minimap</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('minimap.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">Minimap</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><h1><a class="anchor" id="minimap"></a>
|
|
Minimap</h1>
|
|
<p>Create a new <code>minimap.png</code> file using your favourite graphics editor.</p>
|
|
<p>There are two options for making a minimap. The outcome is identical.</p>
|
|
<h2><a class="anchor" id="format"></a>
|
|
Format</h2>
|
|
<ul>
|
|
<li>Image size of 32x32 to 128x128<ul>
|
|
<li>Odd sizes like 64x32 or 128x64 is fine.</li>
|
|
<li>Recommend no bigger than 128x128 but it will work.</li>
|
|
<li>Save as 32-bit</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<h2><a class="anchor" id="tips-2"></a>
|
|
Tips</h2>
|
|
<ul>
|
|
<li>Turn off anti-aliasing</li>
|
|
<li>White pixels must be RGB(255, 255, 255)</li>
|
|
<li>Black pixels must be RGB(0, 0, 0)</li>
|
|
<li>Any other pixel colour will turn into white</li>
|
|
</ul>
|
|
<h2><a class="anchor" id="option-1-black-background-white-track"></a>
|
|
Option 1: Black Background, White Track</h2>
|
|
<ul>
|
|
<li>Use black pixels for the background and white pixels for the track.</li>
|
|
<li>The black pixels will be transparent in-game</li>
|
|
</ul>
|
|
<p><img src="image-3.png" alt="alt text" class="inline"/></p><ul>
|
|
<li>Easiest option to make because it is easy to see the track</li>
|
|
</ul>
|
|
<h2><a class="anchor" id="option-2-transparent-background-white-track"></a>
|
|
Option 2: Transparent Background, White Track</h2>
|
|
<ul>
|
|
<li>Transparent pixels must be <em>FULL</em> transparent or they will turn into white pixels</li>
|
|
</ul>
|
|
<p><img src="image-5.png" alt="" width="64" class="inline"/></p>
|
|
<ul>
|
|
<li>Transparent version much harder to see the track in the graphics editor.</li>
|
|
</ul>
|
|
<h2><a class="anchor" id="export-1"></a>
|
|
Export</h2>
|
|
<p>Place <code>minimap.png</code> in the track folder. </p><div class="fragment"><div class="line">desktop/mycoolmods/tracks/mytrackname/minimap.png</div>
|
|
</div><!-- fragment --><p> The same folder as the track data that looks like this:</p>
|
|
<p><img src="https://github.com/user-attachments/assets/ccef558b-ac9a-42ed-bc85-e27da4f16598" alt="image" width="289" height="466" class="inline"/></p>
|
|
<h2><a class="anchor" id="in-game-configuration"></a>
|
|
In-game configuration</h2>
|
|
<ul>
|
|
<li>In the minimap tab the position of the minimap, finishline, and players markers can be configured.</li>
|
|
<li>The minimap can also be coloured</li>
|
|
</ul>
|
|
<p><img src="image-18.png" alt="alt text" class="inline"/> </p>
|
|
</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>
|