Revsiting an old Idea. - Tiddly spreadsheet + SVG rendeding for generic character sheet.

176 views
Skip to first unread message

Timo

unread,
Mar 21, 2016, 8:14:09 AM3/21/16
to TiddlyWikiDev
Hi,

I re-discovered tiddlywili recently (after listening to the changelog podcast) and decided to revisit an old idea i had back in 2010 and see how well it fits into TW5.
Traditionally this has been done with spreadsheets, e.g. https://github.com/Heliomance/HeroForge-Anew, i would like to do this in a tiddlywiki.

----
I've been thinking about using the Tiddlywiki as the basis for a generic RPG character generator. The idea being that tiddlies are used to fill in the blanks of an SVG character sheet "template", which can
then be printed.

So before i get too involved I'd like to know if anyone has done anything similar, or if it's a reasonable goal?
----

My thinking on this has evolved somewhat since then, but the basic principle still holds. As i see it i need:

- to maintain a narrative timeline - account for level and story adjustments to the character stats. I see this as being able embed a code or link or something into the tiddler story "I earned a +1 bonus for outstanding use of a particular skill"
- to be able to use tiddlywiki a bit like a spreadsheet. e.g. I want to create single tiddlers that correspond to one aspect of the character, that when manipulated, will update other related calculated tables etc.
- import an external JSON or similar data source (posisbly from a server), to be managed an object/tiddler that can be 'instantiated' in the document. Imagine an inventory tiddler, with a selection of default items defined already.
- Render HTML/SVG like page/report.

I'm completely new to TW5, not so much to JS.

What plugins do i need? Is there something like that out there already i can use? if not out of the box, but as a reference?

cheers,

Tim.

Jed Carty

unread,
Mar 22, 2016, 4:49:31 PM3/22/16
to TiddlyWikiDev
It is very doable. It is one of the 126573 projects that I keep wanting to do. My MathyThing plug-in (http://inmysocks.tiddlyspot.com/#MathyThing%20Plugin) was made with this sort of thing in mind. I think I have the start of one sitting around somewhere, I will put up a link if I find it.

Timo

unread,
Mar 24, 2016, 7:13:55 PM3/24/16
to TiddlyWikiDev
Ok, but where do i start. Let me be a bit more specific. If i want to put this somewhere near the top of my project list what should i do?

If i can re-frame the question to reach a wider td5 audience, i want a to:
- Store document state somewhere where i can manipulate it with javascript, so i can have a tiddly document that renders this state.
- create reports based on this state.
- update the report based on javascript functions embeded in the state.

I assume that the whole active tiddly etc thing is the fundamental of anyone making a td5 plugin. where can i RTFM to get up to speed?

Lets assume i have a blank tiddlywiki, what plugins should i work with so i don't have to make them? Is there a library list or similar?

What plugins etc can i read for inspiration (i have seen the volleyball one, its amazing! but how can i decompose that? from zero knowledge?)

If i want to share the effort with others, what is the best hosting service? (other than github)

Cheers,

Tim.

kixam

unread,
Mar 25, 2016, 5:54:36 AM3/25/16
to tiddly...@googlegroups.com
Hello,


On Friday, March 25, 2016 at 12:13:55 AM UTC+1, Timo wrote:

I assume that the whole active tiddly etc thing is the fundamental of anyone making a td5 plugin. where can i RTFM to get up to speed?

official docs:
other nice docs from community:
 

Lets assume i have a blank tiddlywiki, what plugins should i work with so i don't have to make them? Is there a library list or similar?

What plugins etc can i read for inspiration (i have seen the volleyball one, its amazing! but how can i decompose that? from zero knowledge?)

you must have JS knowledge. node.js knowledge is also advised. To better understand the basics of a plugin, you should start by looking into a simple, light one before you get on to bigger ones that will help you understand the core of TW and the system functions (names, usage, ...), as well as other tricks that are not always well documented, if at all, but have been discussed here or at github.
 

If i want to share the effort with others, what is the best hosting service? (other than github)

github is the hosting service that is most used by the TW community of plugin developers to my knowledge. The TW community at large uses many other hosting services, but usually to offer their wikis read-only.

Tim O'Callaghan

unread,
Mar 30, 2016, 6:32:33 AM3/30/16
to tiddly...@googlegroups.com
Thanks for the RTFM links!

I have enough JS knowledge to feel comfortable hacking on TW, but i
have to set up my development environment first. I'm still trying to
figure out if i need a plugin at all :)
> hosting services, but only to offer their wikis read-only.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWikiDev" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywikidev/xP_66tRXUj8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywikide...@googlegroups.com.
> To post to this group, send email to tiddly...@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywikidev.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywikidev/f78ae70d-417d-4876-a808-e464a26dc9c8%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages