This commit is contained in:
PenguinRobert1 committed 2023-12-15 19:48:05 +00:00
1 parent d0d7e19484
commit 8f94f56e2f
8 files changed
+158

No files matched your search

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 341 KiB

Binary file not shown.
Binary file not shown.
+68
View File
@@ -0,0 +1,68 @@
# Awesome game
Awesome game by
[gituser](https://github.com/gituser).
Initial scaffolding generated with [generator-gamejam](https://github.com/belen-albeza/generator-gamejam/).
## Installation
### Requirements
This games uses [gulp](http://gulpjs.com/) for building and tasks automation.
You can install gulp with npm:
```
npm install -g gulp
```
### Build
Clone this repository and install dependencies:
```
git clone gituser/awesome-game
cd awesome-game
npm install
```
To **build** the game, run the `dist` task from the project root:
```
gulp dist
```
The `dist` folder will contain a build of the game. You can then start a local server that serves this directory statically to play the game in local:
```
npm install -g http-server
http-server dist
```
You can **clean up** the temporary files and the `dist` folder by running:
```
gulp clean
```
## Development
This project uses [Browserify](http://browserify.org) to handle JavaScript modules.
There is a task that will automatically run Browserify when a JavaScript file changes, and it will also reload the browser.
```
gulp run
```
You can deploy to **Github Pages** with the `deploy:ghpages` task, which will build the project and then push the `dist` folder in the `gh-pages` branch.
```
gulp deploy:ghpages
```
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

+38
View File
@@ -0,0 +1,38 @@
<!doctype html>
<html>
<head>
<title>Five Nigths At Freddy's 8-bits</title>
<meta charset="utf-8">
<link href="styles.css" rel="stylesheet" type="text/css">
<style>
#game
{
width: 792px;
height: 594px;
}
</style>
</head>
<body>
<header>
<a href="https://store.steampowered.com/app/319510/Five_Nights_at_Freddys/">
<img style="position: absolute; top: 0; right: 0; border: 0;"
src="https://i.ibb.co/S5mcbSn/forkme-right-darkblue-121621.png"
alt="Original Game">
</a>
</header>
<main>
<iframe id="game" src="raw.html"></iframe>
</main>
<footer>
<p><strong>Five Nigths At Freddy's 8-bits</strong><br>
Five Nights At Freddy's (2014, Scott Cawthon) <br>
Remake by Musaraña Anónima <br>
(<a href="https://github.com/MiriamLeis">Miriam Leis Baltanás</a> and <a href="https://github.com/pablojor">Pablo J. Rodríguez Hidalgo</a>)</p>
<p class="license">Published under the <a href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike</a>
license.</p>
</footer>
</body>
</html>
+22
View File
@@ -0,0 +1,22 @@
<!doctype html>
<html>
<head>
<title>Five Nights At Freddy's 8-bit</title>
<meta charset="utf-8">
<script src="js/lib/phaser.min.js"></script>
<script src="js/bundle.js"></script>
<style>
body
{
padding: 0;
margin: 0;
background: #000;
}
</style>
</head>
<body>
<div id="game"></div>
</body>
</html>
+30
View File
@@ -0,0 +1,30 @@
html {
font-size: 10px;
-webkit-font-smoothing: antialiased;
}
body {
padding: 0;
margin: 0;
font-family: Courier, 'Courier New', monospace;
font-size: 1.6rem;
background: rgb(0, 0, 0);
color: rgb(255, 255, 255);
}
a {
color: #c39;
}
main {
margin: 2rem 0;
text-align: center;
}
#game {
border: 1px solid #333;
}
footer {
text-align: center;
}