Hi Jed On Sun, Nov 23, 2014 at 12:08 AM, Jed Carty <[email protected]> wrote:
> Here is an updated version of the zork-like game with the mostly complete > authoring tool added. Click the button in the upper left to open the > editing tiddler, everything I have designed so far can be done my filling > in forms. > Terrific. I like the combination lock, not sure if that's new. > This has actually been much more useful than I expected as far as learning > what the wiki can do is concerned. I think that it would be possible to > make a limited version of the wiki (like the reference one I posted here > http://inmysocks.tiddlyspot.com/) that can be made and edited using only > fillable forms. This would probably not be significantly easier to use than > the normal wiki, but there seems to be less of a psychological barrier to > filling out premade forms than using something like the editing options of > the wiki. Maybe not, but it was one thing I thought of while making this. > Great. Sounds like an edition of TiddlyWiki for people making interactive fiction games. That's the sort of thing I'd love to add to the stable on tiddlywiki.com. > First, I can't find a way to set one field based on another just based on > the first field changing. The example for the game here is location based > event triggers, so when the 'location' field of an item is set to a > specific value it sets the text of a different tiddler to 'active'. > A similar problem is that I can't find a way to set two separate fields > (same name, different tiddlers) to the same value using a single select > widget. To do either of these things may require javascript, but I thought > I would ask if anyone here. > Yes, both of those would be tricky at the moment. One thing that might help is adding action widget support to the select widget. For example: <$select tiddler="item" field="location"> <$action-setfield $tiddler="anothertiddler" $field="text" $value={{item!!location}}/> etc. > Second, I don't think it is possible, but I would like to have a > dynamically generated macro. The reset button in the game sets a bunch of > fields back to their initial value, I would like to be able to generate > this macro so that it is possible to define the initial location for an > item and then when the reset button is pressed it sets the 'location' field > of the item to that value. If this could be done so that it iterates > through all the tiddlers tagged 'item' and then sets the 'location' field > equal to the 'inital_location' field without having to explicitly write out > each one that would be awesome. I haven't found a way to do this yet. > I think what's needed here is the ability to wrap action widgets inside the list widget. Then you could generate one action widget for each of your tiddlers tagged "item". > Third I have no idea how I would go about dynamically generating the map > based on arbitrary topology. I don't think it is possible without something > like the taskgraph plugin (here http://wkpr.de/hosting/tmp/tw5/taskgraph/ > it looks awesome). I may look into that later. > That would definitely be cool. Great stuff, Jed, thanks for sharing, Best wishes Jeremy Because of these problems, and because I didn't have this in mind when I > made it, the original version I posted doesn't have the same structure as > the authoring tool uses. If I can find ways around the above problems I > will update it at some point. > > There is very minimal documentation in the tiddler called Documentation, > and the tiddler called Plan has what I hope to do in the future. There are > also options for location based triggers that don't actually do anything > because of the above problems. Hopefully I will get around to documenting > what I did for this because I think that it could have application for > things that are more useful than text-based games. > > Enjoy. > http://zorklike.tiddlyspot.com/ > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/tiddlywiki. > For more options, visit https://groups.google.com/d/optout. > -- Jeremy Ruston mailto:[email protected] -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

