Skip to content
Snippets Groups Projects
Commit 2bcecd47 authored by Tim Repke's avatar Tim Repke
Browse files

Merged newGame into master

parents 801fb628 e1a4da18
No related branches found
No related tags found
No related merge requests found
*.idea/*
*/.idea*
*/view/signups/game1/tiles
......@@ -40,6 +40,11 @@ Ins Schloss gehen. Dort landet man in Eingangshalle mit drei Fahrstuhltüren.
In der FS bekommt man Rüstung gegen Geld und man schreibt sich in die Anmeldeliste auf dem Tisch ein (oder geht zu Fr Lindner).
-> damit greifen wir den Namen ab.
#### Interactions:
- Beim Reingehen in die Fachschaft fragt jemand: "Kenne ich dich?" -> Antwort: ("Ne, bin neu hier" | "Klar, bin doch schon länger hier" | "Ja, bin Tutor dieses Jahr")
- George brüllt durch den Raum: "Ey, meld dich mal bei der FS Fahrt an! Schreib' einfach Name und E-Mail-Adresse an die Tafel." -> An die Tafel gehen, anschreiben.
## Part 3
Entlang des Weges steht eine Person. Dieser Wanderer sagt, man solle auf dem Weg bleiben, hohes Gras ist gefährlich.
......
/*
Small hints:
-------------
var FAPI = new FAPI();
later add data as they come in:
FAPI.data.setValue('mehl', 'bla@lala.de');
and send:
FAPI.submitSignup();
place global in a load_game() function (or so) and call it in game1/index.php as already implemented there.
to avoid broken paths, use as follows:
d3.xml(FAPI.resolvePath('graphics/map_castle.svg'), 'image/svg+xml', function (xml) {
*/
\ No newline at end of file
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -12,14 +12,14 @@ class Game1SignupMethod extends SignupMethod {
public static function getMetaInfo() {
return [
"version" => '1.1',
"date" => '20.09.2014',
"contributors" => ['Tim Repke <tim@repke.eu>']
"version" => '1.0',
"date" => '15.09.2015',
"contributors" => ['Manu Herrmann']
];
}
public function getJSDependencies() {
return [];
return ['jslibs/d3.min.js', 'game.js'];
}
public function getCSSDependencies() {
......@@ -31,7 +31,12 @@ class Game1SignupMethod extends SignupMethod {
}
public function showInlineHTML() {
echo '<div id="coords">(0, 0)</div>
<div id="gameCanvas" style="overflow:hidden;position:relative">
<div id="gameRoot" style="position:relative">
</div>
</div>
<script>load_game();</script>';
}
}
\ No newline at end of file
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment