Compare commits
No commits in common. "57d2088a3a30c259cbf9ae835c873b7ec07a66cb" and "7b9c1b4bc8e7a5b7db026d010b3a25faa1a04012" have entirely different histories.
57d2088a3a
...
7b9c1b4bc8
1
.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
dist/
|
|
11
README.md
@ -1,5 +1,3 @@
|
|||||||
# ⚠️ STATUS: DEVELOPMENT
|
|
||||||
|
|
||||||
![engine_icon](/src/icons/apple-touch-icon.png)
|
![engine_icon](/src/icons/apple-touch-icon.png)
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
@ -17,17 +15,8 @@ cd src/js/
|
|||||||
rollup main.js --file engine.js --format es
|
rollup main.js --file engine.js --format es
|
||||||
```
|
```
|
||||||
|
|
||||||
# Use it
|
|
||||||
|
|
||||||
...
|
|
||||||
|
|
||||||
# Contribute
|
# Contribute
|
||||||
|
|
||||||
## Branch info
|
|
||||||
|
|
||||||
- `master` — current `dev` branch.
|
|
||||||
- `release` — latest **stable** version branch.
|
|
||||||
|
|
||||||
## Git hooks
|
## Git hooks
|
||||||
|
|
||||||
### pre-commit
|
### pre-commit
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
|
||||||
"version": "beeeeeeta",
|
|
||||||
"scripts": {
|
|
||||||
"build": "rm -rf ./dist/ && rollup src/js/main.js --file dist/engine-$(npm pkg get version | tr -d '\"').js --format es",
|
|
||||||
"prettier-check": "prettier --check .",
|
|
||||||
"prettier-write": "prettier --write .",
|
|
||||||
"editorconfig-check": "ec ."
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"prettier": "2.8.7"
|
"prettier": "2.8.7"
|
||||||
}
|
}
|
||||||
|
2
src/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
/fonts/monogram*
|
||||||
|
/assets/
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 766 B After Width: | Height: | Size: 766 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
2
src/js/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
game.js*
|
||||||
|
engine.js
|
@ -33,16 +33,10 @@ export class App {
|
|||||||
this.scene = new Scene(this.canvas, this.context, w, h);
|
this.scene = new Scene(this.canvas, this.context, w, h);
|
||||||
this.prevTime = Date.now();
|
this.prevTime = Date.now();
|
||||||
|
|
||||||
const logStrings = [
|
|
||||||
'ujs engine',
|
|
||||||
`version: ${this.#version}`,
|
|
||||||
'feedback: iiiypuk {dog} fastmail.fm',
|
|
||||||
];
|
|
||||||
|
|
||||||
if (this.options.welcome) {
|
if (this.options.welcome) {
|
||||||
logStrings.forEach((str) => {
|
console.log('ujs engine');
|
||||||
console.log(str);
|
console.log('version:', this.#version);
|
||||||
});
|
console.log('feedback:', 'iiiypuk {dog} fastmail.fm');
|
||||||
}
|
}
|
||||||
|
|
||||||
Pointer.init();
|
Pointer.init();
|
||||||
|
3
test/.gitignore
vendored
@ -1,3 +0,0 @@
|
|||||||
fonts/monogram*
|
|
||||||
assets/
|
|
||||||
js/game.js
|
|
@ -1 +0,0 @@
|
|||||||
../../dist/engine-beeeeeeta.js
|
|