2015-02-14 Gridmapper with Demo

https://alexschroeder.ch/pics/15868444504_66e1472190_o.png

*Gridmapper*

https://alexschroeder.ch/pics/15868444504_66e1472190_o.png

Gridmapper

Gridmapper now comes with a demo built in. I wanted to write some documentation, so I considered adding it to the README file. It can be read over on GitHub. But I know how it is. If you need to read a separate document in order to understand a user interface, people will not be coming back to the application. I decided I wanted a screencast or something equivalent. Short, sweet, stuff moving around on the screen, but I didn’t want to use a separate video. A separate video poses the same problem: Once you’re done viewing the video, will you remember it all and return to the application? Maybe you will, maybe you won’t. And what about updates to the software? Editing those videos and bringing them up to date is a major pain down the line.

Gridmapper

on GitHub

That’s when I decided to write a demonstration within the application. I already had the code to recreate a map from a string of commands. I needed that in order to recreate a map from the URL. The OSR Logo is an example of this. I just needed a few more things. Positioning. Wall Mode. Pausing. Slow moves accross the screen. The hardest thing to explain is Wall Mode, I think.

OSR Logo

Yeah, why Wall Mode? At first, I tried to do something that would allow me to use the mouse on the walls. But getting this right was tedious. I can’t really draw straight lines using a mouse. Can you? This was terrible, That’s when I decided that Gridmapper needed much better keyboard support. That was going to be a real win as far as I am concerned!

So now we basically have scripting. I felt like I was writing a byte code interpreter.

I’m not sure where to go next. Things on my mind.

​#RPG

Comments

(Please contact me if you want to remove your comment.)

The new features look really sweet! But...

I assume this issue is on my end, because there’s no way you wouldn’t notice this. Maybe it’s that outdated browser I was talking about.

I can’t use any of the features anymore: the doors, the traps, none of the letter keys are doing anything at all. Neither is undo, redo, the arrow keys. It doesn’t seem to be getting any keystrokes from me at all.

The link thing, if it does what I think it does, this could become essential for online RPG. You could have the next roll20 on your hands!

– guest 2015-02-15 01:14 UTC

guest

---

Ugh! 🙁 That’s bad. The next version will log to the console when it receives keyboard input it can’t handle. That will allow me to learn of issues people are having on browsers I have no access to.

– Alex Schroeder 2015-02-15 12:03 UTC

---

Holy shit, I’ve never thought that you can do such things in SVGs.

– AlexDaniel 2015-02-16 23:26 UTC

AlexDaniel

---

It’s awesome! 😄

If only browser devs could get their act together when it comes to handling keyboard events. Backspace on Chrome is like the back button!? Who thought this was a good idea...

– Alex Schroeder 2015-02-17 07:31 UTC