Skip to content

Commit ef5c62d

Browse files
committed
nextUpdates
1 parent 87e7231 commit ef5c62d

File tree

3 files changed

+48
-11
lines changed

3 files changed

+48
-11
lines changed

README.md

Lines changed: 42 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
11
# web-minecraft
2-
<i>"Render minecrafta w przeglądarce"</i><br><br>
3-
Zalecamy instalację:<br>
2+
<i>Minecraft w przeglądarce!</i>
3+
4+
> **Pro tip:** Przy uruchamianiu na lokalnej maszynie potrzebna jest najnowsza wersja node.js i npm.<br>
5+
> Instalacja CoffeeScripta nie jest wymagana do włączenia gry.<br>
6+
> Zalecam grę włączać na przeglądarce Google Chrome</u>.<br>
7+
8+
<h4>Szykujące się updaty:</h4>
49
<li>
5-
<a href="#">Najnowszej wersji Node.js</a>
10+
Dynamiczne ładowanie i odładowywanie chunków
611
</li>
712
<li>
8-
<a href="#">CoffeeScript</a>
13+
Generowanie nieskończonego terenu
914
</li>
10-
<h1>Instalacja repozytorium</h1>
15+
<li>
16+
Połączenie z prawdziwym serwerem minecraftowym
17+
</li>
18+
19+
20+
21+
<i>
22+
</i>
23+
<h3>Instalacja repozytorium</h3>
1124

1225
```bash
1326

@@ -20,7 +33,7 @@ npm install
2033

2134
```
2235

23-
<h1>Uruchamianie gry</h1>
36+
<h3>Uruchamianie gry</h3>
2437

2538
```bash
2639

@@ -29,12 +42,31 @@ npm start
2942

3043
```
3144

32-
Po uruchomieniu serwera gra zostanie hostowana pod linkiem <a href="http://localhost:8080">http://localhost:8080</a>
33-
<h1>DEMO</h1>
45+
Po uruchomieniu serwera gra zostanie hostowana pod linkiem: <a href="http://localhost:8080">http://localhost:8080</a>
46+
47+
48+
49+
<h3>DEMO</h3>
50+
51+
DEMO gry znajduje się pod adresem: <a href="http://mc.grok.eu">http://mc.grok.eu</a>
52+
53+
<h3>Przydatne narzędzia:</h3>
54+
55+
```bash
56+
57+
#Komilator coffeeScript
58+
npm run coffee
59+
60+
#Ignorowanie folderu node_modules
61+
npm run gitignore
62+
63+
#Generowanie atlasu tekstur
64+
npm run atlas
65+
66+
```
3467

35-
DEMO gry znajduje się pod adresem: <a href="http://mc.grok.eu">http://mc.grok.eu</a><br><br><br><br>
3668
<img src="src/screenshot.png"
3769
alt="screenshot"
3870
style="float: left; margin-right: 10px;" />
39-
<br><br><br>
71+
4072

build/gitignore.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
const fs = require('fs');
2+
fs.writeFile(__dirname+"/../.gitignore", '.gitignore\nnode_modules', function (err) {
3+
if (err) return console.log(err);
4+
});

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"scripts": {
66
"start": "node start.js",
77
"coffee": "coffee -o client/ -cw build/coffee/",
8-
"atlas": "node build/atlas.js"
8+
"atlas": "node build/atlas.js",
9+
"gitignore":"node build/gitignore.js"
910
},
1011
"repository": {
1112
"type": "git",

0 commit comments

Comments
 (0)