Skip to content

Commit

Permalink
updated some files and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
lajbel committed Feb 19, 2024
1 parent 64b0f12 commit e9cfcca
Show file tree
Hide file tree
Showing 9 changed files with 1,497 additions and 4,245 deletions.
1 change: 0 additions & 1 deletion doc.json

This file was deleted.

50 changes: 26 additions & 24 deletions example/index.html
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
<!DOCTYPE html>

<html style="cursor: url('./sprites/default.png')">
<head>
<title>Example Novel</title>
<meta charset="utf-8" />
<style>
* {
margin: 0px;
padding: 0px;
}

html,
body {
overflow: hidden;
width: 100vw;
height: 100vh;
background-color: black;
display: flex;
align-items: center;
justify-content: center;
}
</style>
</head>
<head>
<title>Example Novel</title>
<meta charset="utf-8" />
<style>
* {
margin: 0px;
padding: 0px;
}

<body>
<script src="game.js"></script>
</body>
</html>
html,
body {
overflow: hidden;
width: 100vw;
height: 100vh;
background-color: black;
display: flex;
align-items: center;
justify-content: center;
}
</style>
</head>

<body>
<script src="game.js"></script>
</body>

</html>
3 changes: 1 addition & 2 deletions example/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import mandarina from "../";
import mandarina from "../dist/types";

// We create the Mandarina game context,
// There's the init game options
Expand All @@ -17,7 +17,6 @@ const m = mandarina({
choice: {
sprite: "choice",
},
logMax: 20,
});

// Load images (assets)
Expand Down
Loading

0 comments on commit e9cfcca

Please sign in to comment.