Skip to content
Snippets Groups Projects
test.html 1.18 KiB
Newer Older
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="jslib/d3.min.js" type="text/javascript"></script>
<script src="jslib/priority-queue.min.js" type="text/javascript"></script>
<script src="jslib/checkLineIntersection.js" type="text/javascript"></script>
<script src="../../js/api.js" type="text/javascript"></script>
<script src="js/svgUtils.js" type="text/javascript"></script>
<script src="js/pathFinder.js" type="text/javascript"></script>
<script src="js/vector.js" type="text/javascript"></script>
<script src="js/character.js" type="text/javascript"></script>
<script src="js/camera.js" type="text/javascript"></script>
<script src="js/game.js" type="text/javascript"></script>
</head>
<body>
<div id="coords">(0, 0)</div>
<div id="gameCanvas" style="overflow:hidden;position:relative">
	<div id="gameRoot" style="position:relative">
	</div>
</div>
<script>
g_smallValue = 0.000001; // fun with floats

var FAPI = new FAPI();
FAPI.methodBasepath = '';

	startMap: 'map_landing.svg',
	showEventLayers: false,
	pathFindingGridSize: 5,
	usePathFinding: true,
	size: [800, 600]
});
game.run();