-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New example tailored for JS backend (#152)
* New *fancy* example * backward compatibility
- Loading branch information
1 parent
49987e1
commit 23de080
Showing
5 changed files
with
583 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
<title>Sun Empire</title> | ||
<style> | ||
canvas {image-rendering:auto;} | ||
</style> | ||
</head> | ||
<body> | ||
<noscript>Sorry, you need to enable JavaScript to see this page.</noscript> | ||
<script type="text/javascript" defer="defer" src="suncities.bc.js"></script> | ||
<div style="float:left"> | ||
<h1>Cities under the Sun</h1> | ||
</div> | ||
<div style="float:left"> | ||
<ul> | ||
<li><b>Space</b> to change city</li> | ||
<li><b>Left-click</b> drag to move viewpoint</li> | ||
<li><b>Right-click</b> drag to change daytime</li> | ||
</ul> | ||
</div> | ||
<div id="can"></div> | ||
</body> | ||
</html> |
Oops, something went wrong.