Attempt to build a Roguelike Dungeongame in TW5

226 views
Skip to first unread message

Jan

unread,
Jun 16, 2017, 6:23:14 PM6/16/17
to TiddlyWiki
Hello

Inspired by Jed Carthy'shttp://zorklike.tiddlyspot.com/#; I also wanted
to explore the possibilties of using TW as a plattform for editing games.

I wanted to change the interface to a darker version, where the dungeon
is all black at start an will only be shown after exploring it.

And I wanted to change mechanism to make it easier for average-users to
create an own Level, so here the rooms are generated by a matrix of
squares representing row, column and level (A-1-1 A-2-1 A-3-1... B-1-1
B-2-1 and so forth) and I implemented an editor which can be accessed by
a map.

The mechanism is explained in the Wiki; the display of rooms already
functions, but i have some trouble inserting the correct values for
moving the player.

So I would be pleased to have your opinions and perhaps some help on the
move south-button which is there as a test. http://roguelike.tiddlyspot.com/

Thanks
Jan

Jed Carty

unread,
Jun 17, 2017, 3:36:09 AM6/17/17
to TiddlyWiki
That looks really neat! I had wondered about pushing farther with using tiddlywiki to make games but I have been distracted by many other things.

I am looking forward to seeing how it goes!

@TiddlyTweeter

unread,
Jun 17, 2017, 7:28:22 AM6/17/17
to TiddlyWiki
Lovely stuff. You even thought of changing the game lines like this? ...

--- You are in a dark room looking for TiddlyWiki, its tail passes you by.

--- You pick up a cat.

:-), Josiah

Jan

unread,
Jun 17, 2017, 5:46:33 PM6/17/17
to tiddl...@googlegroups.com
Thanks for your Feedback Jed and Josiah,
@Josiah: The intention is to make a framework were it is easy create levels...and hopefully someone will create a furry cat-level.

I am still struggling inserting values derived from filters into fields:
\define movesouth()
Southbutton Test
<$tiddler tiddler="$:/MapState">
<$action-listops $field="visible" $subfilter=<<showsouth>> />
<$action-listops $field="text" $filter=<<southsquare>>/>
</$tiddler>
\end

...the problem is demonstrated in http://roguelike.tiddlyspot.com/ in the Tiddler to test the DirectionMacro.
Thanks a lot for help.

Jan
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/da122df6-feed-416b-8808-2a2b459d4cf6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

@TiddlyTweeter

unread,
Jun 17, 2017, 6:07:17 PM6/17/17
to TiddlyWiki
TBH, I don't have the tech to help on what you need right now. Jed has the better skill to help you make a step. But I can do the scripts. That is easy for me. So, if you ever need that let me know. I played "A Dark Room" for a while. Its neat : http://adarkroom.doublespeakgames.com/

Jan wrote:
I am still struggling inserting values derived from filters into fields...

Lost Admin

unread,
Jun 19, 2017, 1:48:56 PM6/19/17
to tiddl...@googlegroups.com
That is interesting. I had toyed with integrating games into tiddlywiki as a sort of funny add-in. Although my totally crazy idea was to figure out how to integrate a 6502 cpu emulator into it by merging http://www.6502asm.com/ with tiddlywiki (and introduce a new text/6502 type for storing the assembly files). Yours is way more serious than mine.

Dragon Cotterill

unread,
Jun 20, 2017, 3:48:21 AM6/20/17
to TiddlyWiki
As an interesting aside, I'm using TW to write the documentation for the resurrection of my old University gaming project http://www.kizar.co.uk/TW/TinyFantasy.html

I do however question the viability of making a roguelike for TW. Have you ever seen the code to Rogue/Nethack etc. ? It's horrendously complex and certainly a massive undertaking.

I wonder if it's worth having an actual automatic level generator, something along the lines of http://orteil.dashnet.org/cookieclicker/dungeons.js
Having the level work done "in house" would mean that the game would be able to progress better as you could concentrate more of the actual gameplay rather than worrying about structural stuff.


Jan

unread,
Jun 20, 2017, 4:46:08 AM6/20/17
to tiddl...@googlegroups.com
Thanks for your feedback Josiah, Dragon and lostAdmin.
The Idea of the project was to provide a framework where my pupils can edit rooms and levels. Since the beginning of the year I had been testing TW as a tool to learn storytelling (and first steps in coding). So far the interaction was mainly choosing links, decrypting Tiddlers, using Imagemaps to point and click,  ...
I wanted to make possible some more complex navigation and interaction with this tool.
Thus I wanted to do something which makes it easy to create and configure rooms...So I will not do the entire game myself, but perhaps we could create a space where we could share Levels.

Alas I am still struggling to insert the result of filters as new state of the game. I alrerady described the problem and spent two days checking out the setvars-plugin and the wikify-widget.
I can generate the values I want to insert but the listops-widget somehow still injects the filter and not the value...
See "Testing Buttons of DirectionMacro" roguelike.tiddlyspot.com

Greeting Jan
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

Lost Admin

unread,
Jun 20, 2017, 8:59:23 AM6/20/17
to TiddlyWiki


On Tuesday, June 20, 2017 at 4:46:08 AM UTC-4, Jan wrote:
Thanks for your feedback Josiah, Dragon and lostAdmin.

You're welcome. Although I was more remembering a silly idea.
 
The Idea of the project was to provide a framework where my pupils can edit rooms and levels. Since the beginning of the year I had been testing TW as a tool to learn storytelling (and first steps in coding).

You've got me actually curious now.

Why are you using Tiddlywiki as the basis for teaching people to write video games?

I imagine the students must be new to programming or you would presumably be using a more main stream tool.

I could see using HTML5 and Javascript as a basis for building more web focused games but I would think there were better frameworks out there to use as a starting point.

Jan

unread,
Jun 20, 2017, 10:31:20 AM6/20/17
to tiddl...@googlegroups.com
Hi Lost Admin
If you got a hammer everything looks like a nail....
But it is not only that. The focus of my course is not Videogames but also Animation, Photography, and writing stories.
TW is a means of getting all this together...and teaching those who want some first steps in html ans coding. The others just use links to navigate through their wiki.

Greetings Jan
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

Mark S.

unread,
Jun 20, 2017, 12:01:45 PM6/20/17
to TiddlyWiki
Have you figured out the buttons now? It seems to work when I click on the south link, but I'm not exactly sure what to expect to see.

Good luck,
Mark

Jan Johannpeter

unread,
Jun 20, 2017, 1:32:28 PM6/20/17
to TiddlyWiki
Hi Mark,
The Basic function of the Nav-buttons is achieved now I got to Limit their Appearance to the cases where the movement is possible

Cheers Jan

Jan Johannpeter

unread,
Jun 21, 2017, 6:54:40 PM6/21/17
to TiddlyWiki
Hi,
the navigation in roguelike.tiddlyspot.com is now working. Now Interaktion will be the topic to deal with.

Cheers Jan
Reply all
Reply to author
Forward
0 new messages