Skip to content

Commit

Permalink
Working on ruby implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben D'Angelo committed Dec 27, 2011
1 parent f5e1c57 commit 258ea94
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ent.rb
@@ -0,0 +1,18 @@
=begin
Simple game helper for developing Entity games.
ent new mygame - will create a new game in /games
ent comp mycomp - will create a new component in the current folder
ent min mygame - will minify all code into one file
=end

case ARGV[0]
when 'new'

when 'comp'

when 'min'

end
50 changes: 50 additions & 0 deletions examples/template/template.html
@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html>

<head>
<meta http-equiv="X-UA-Compatible" content="chrome=1">

<title>Game Template</title>
<script language="javascript">
//modify path of entity.debug.js
path = '../../';
</script>
<script src="../../lib/entity.debug.js" language="javascript"></script>
<script src="keys.js" language="javascript"></script>

<link rel="stylesheet" type="text/css" href="../style/sheet.css" />

</head>

<body>


<div class="container_24">
<div id="content">
<h1>Sample Game Template</h1>

<div class="canvas-container">
<canvas id="canvas" width="500" height="400"> </canvas>
</div>

<div class="grid_12">
<h2 class="hd-left bg-yellow">Help</h2>

</div>

<div class="grid_12">
<h2 class="hd-right bg-yellow">Compiling</h2>

</div>

<div class="clear"></div>
</div>



</div>

</body>


</html>

0 comments on commit 258ea94

Please sign in to comment.