37 lines
712 B
HTML
37 lines
712 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="style.css">
|
|
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
|
<title>DrawTileMap [RCBasic Doc] </title>
|
|
</head>
|
|
|
|
<body>
|
|
<p><h2>Sub DrawTileMap(tilemap, x, y, w, h, offset_x, offset_y) </h2></p>
|
|
<p>
|
|
Draws a tile map
|
|
</p>
|
|
<p>
|
|
Note: Can only be drawn on a regular 2D canvas
|
|
</p>
|
|
<p>
|
|
Parameters:
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
tilemap - the tilemap to draw
|
|
</li>
|
|
<li>
|
|
x, y - Where to draw the map on the active canvas
|
|
</li>
|
|
<li>
|
|
w, h - The size of the tilemap viewport
|
|
</li>
|
|
<li>
|
|
offset_x, offset_y - The location in the tilemap to start drawing from
|
|
</li>
|
|
</ul>
|
|
<p>
|
|
|
|
</body>
|
|
</html> |