added comment

This commit is contained in:
Yannik
2023-06-23 22:00:11 +02:00
parent 3316bb9506
commit 6e7217fb59
2 changed files with 10 additions and 3 deletions

View File

@@ -1,5 +1,11 @@
# texthorror
A text adventure with a whole dialogue bubble system we make for school<br>
(name is maybe changing lol)<br>
# Destruction of Legacy
A text adventure with a whole dialogue bubble system we make for school<br>
<br>
[![Netlify Status](https://api.netlify.com/api/v1/badges/0408c36a-56ca-4a2e-86ce-5b0621e4a45c/deploy-status)](https://app.netlify.com/sites/texthorror/deploys)
For school:
Das Spiel kann nur auf einem extra Server (VS code Live Server Extension geht auch) laufen, da es die `fetch` methode in Javascript benutz, welche aus Sicherheitsgründen vom browser nicht local funktionieren darf, weil es sonnst auf lokale dateien zugreifen dürfte.
Alle images sind selbst gepixelt.
Das dialogsystem ist sehr modular gescripted, sodass es in anderen und auch viel größeren Spielen wiederverwendet werden könnte.
Das Spiel ist so aufgebaut, dass es ohne style oder images in der Konsole laufen könnte, also ist es ein vollständiges Textadventure.

View File

@@ -1,3 +1,4 @@
// BITTE VORHER README LESEN
var speed = 50;
var typeindex = 0;
var dlgPointer = parseInt(localStorage.getItem("dlgPointer"));