Archive

Archive for the ‘HTML5’ Category

HTML5 Experiment J

January 28, 2012 Leave a comment

About ready to give Experiment J a test run and see where the pitfalls are to run this in an actual tabletop setting.

Categories: HTML5

HTML5 Game Grid : Experiment I

January 28, 2012 Leave a comment

Experiment I just wrapped up at the same time my coffee finished brewing and the children falling asleep. This is starting to feel like more robust and, what kills me, is that I’m only using nano to do this. Now to start dreaming up what Experiment J might look like, especially since I’ve got a game here yet this weekend to run.

As I indicates, I’m thinking of Encounter, Treasure and a Reference section. Time to pull some books off the shelf 🙂

Categories: HTML5

HTML5 Game Grid – Experiment H

January 28, 2012 Leave a comment

So, Experiment H, after making some runs around town (grub, oil, drive), how I think to remake you. I’ll be peeking through some various DM books now, I think. In looking at the grid, it looks like I need to make a few small tweaks.

  • Shorten the play grid so the tablet should be used horizontally.
  • Add buttons/tabs to expand the functionality so an encounter generator can be added

There we go. Enough for Experiment I. 🙂

Categories: HTML5

HTML5 Game Grid – Experiment G

January 28, 2012 Leave a comment

This is experiment G to test out the generation of the grid. What this does is generate a random game grid with obstacles. The obstacles could be anything, which is nice, so I’ll be able to apply this to the table pretty easily.

At the moment it’s using the PRNG, but seeding using the Math.random() function so I can gauge how the placement might work out. If you look at the code, you’ll note that I’ve commented out some stuff. I’m still fiddling with it a bit, but I think as it is will work enough to call this complete and move on to experiment H.

Categories: HTML5

Seedable random number generator for javascript

January 28, 2012 Leave a comment

So, the math function of javascript has a random number generator. It’s just that, if you’re used to a richer framework that has features like, oh nextInt() or nextFloat(), well, you’re out of luck. Or, you could harvest code from stackoverflow and use that.

🙂

I’ve borrowed that code, with a link to the original post out here. I plan on using this for a content generator system I have in mind to augment the tabletop game. Maybe you’ll find it useful too.

usage:

var rng = new RNG(20);
var randomResult = rng.nextRange(10,50);
Categories: HTML5

HTML5 Game Grid

January 28, 2012 Leave a comment

Here’s a link to a quick HTML5 TableTop Game Grid.

My current thinking is that I’m going to adjust this basic setup into something that will render correctly on my tablet (Transformer Asus) since the firefox browser there supports HTML5. The original idea was that I would put the tablet down on the tablet as a game surface, but now that I’ve actually written this idea out I don’t think that is highly tenable. Yeah, that’s not going to work. Reason? Well, one of my players is quite likely to not interact in the intended manner with the surface of the tablet.

And I want to put some GM features on there, so in terms of a workflow the tablet won’t go on the table. Hrm.

Categories: HTML5