initial commit
This commit is contained in:
commit
0ef5a26f95
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,15 @@
|
|||
print("love start", test)
|
||||
|
||||
function love.load()
|
||||
counter = 0
|
||||
end
|
||||
|
||||
function love.update(dt)
|
||||
counter = counter+dt
|
||||
end
|
||||
|
||||
function love.draw()
|
||||
love.graphics.print("hello!!\n"..counter, 20, 20)
|
||||
end
|
||||
|
||||
print("love end")
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Infatuated</title>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<script src="fengari-web.js" type="text/javascript"></script>
|
||||
<script src="main.lua" type="application/lua" async></script>
|
||||
</head>
|
||||
<body>
|
||||
<canvas id="infatuated-canvas" width="800" height="600"></canvas>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue