1
0
Fork 0
mirror of https://github.com/Oreolek/undum.git synced 2024-05-14 06:58:17 +03:00

Another rename, this time to rationalize media.

This commit is contained in:
Ian Millington 2010-06-19 04:48:07 +01:00
parent 672adf99cd
commit 7b9f1bc462
6 changed files with 20 additions and 9 deletions

View file

@ -62,9 +62,9 @@ development. It also has excellent Javascript debugging tools.
2. Unzip Undum somewhere on your hard-drive.
3. Open tutorial.html in your browser, and play through the tutorial.
3. Open games/tutorial.html in your browser, and play through the tutorial.
4. Copy tutorial.html to a file that reflects your game name.
4. Copy games/tutorial.html to a file that reflects your game name.
5. Edit your HTML file and add the title, author and description of
the game you want to write. At the bottom of the file change the
@ -104,10 +104,20 @@ For example, if you had 3 games: `episode1`, `episode2`, and
js/
jquery-1.4.2.min.js
undum.js
episode1.game.js
episode2.game.js
christmas-special.game.js
games/
episode1/
episode1.game.js
... media for episode 1 ...
episode2/
episode2.game.js
... media for episode 1 ...
christmas-special/
christmas-special.game.js
... media for christmas special ...
This assumes you use the same directory lay out that I do. You are
welcome to change things around, of course, as long as you work and
change the references.
## Progress

View file

@ -13,7 +13,7 @@ undum.game.id = "349baf43-9ade-49a8-86d0-24e3de3ce072";
undum.game.situations = {
start: new undum.SimpleSituation(
"<h1>Starting Out with Undum</h1>\
<img src='media/tutorial/woodcut1.png' class='float_right'>\
<img src='media/games/tutorial/woodcut1.png' class='float_right'>\
<p>Welcome to the Undum tutorial. Undum is a tool for writing\
hypertext interactive fiction. It has some unique features\
and a visual design that encourages narrative games.</p>\
@ -123,7 +123,7 @@ undum.game.situations = {
character is already in that situation, then the situation's\
<em>enter</em> method won't be called again.</p>\
\
<img src='media/tutorial/woodcut2.png' class='float_left'>\
<img src='media/games/tutorial/woodcut2.png' class='float_left'>\
<p>The third type of link, then, is a general hyperlink. If your\
link doesn't consist of a single element or pair of elements, as\
above, then Undum will guess that you have a normal hyperlink. As\
@ -288,7 +288,7 @@ undum.game.situations = {
the character's level, for example, you might want to show a progress\
bar to indicate how near the character is to levelling up.</p>\
\
<img src='media/tutorial/woodcut3.png' class='float_right'>\
<img src='media/games/tutorial/woodcut3.png' class='float_right'>\
<p>After a few seconds, the progress bar disappears, to keep the\
focus on the text. Undum isn't designed for games where a lot of\
statistic management is needed. If you want a change to be part\

View file

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 104 KiB

View file

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View file

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View file

@ -163,6 +163,7 @@
<script type="text/javascript" src="media/js/undum.js"></script>
<!-- Change the name of this file. It is your main game file. -->
<script type="text/javascript" src="media/js/tutorial.game.js"></script>
<script type="text/javascript"
src="media/games/tutorial/tutorial.game.js"></script>
</body>
</html>