Jul 22, 2019

Pathery Map Generator

This blog post is a help document for Pathery's Map Editor's Map Generator. This document assumes you already know how to use the editor before it had BlockCode. At time of writing, the feature isn't released yet.

The above is an example of Pathery BlockCode. The upper four rows in this example are the base map, declaring a few start locations, an end, and two selector groups. The lower three rows is the block code that manipulates the map for a desired generator outcome. An example outcome of this generator is:

Lets dive into this one line at a time.

ReplacePoint 1 Rock EndOfLine
ReplacePoint [FromBlock{1}] [ToBlock{1 or more}] EndOfLine
The ReplacePoint Command looks for blocks matching the FromBlock type, and randomly replaces them with the ToBlocks. In the example above, the top right 1 selector was replaced with a rock.

(Note to self: Known bug: If a user attempts to place out more blocks then their selector FromBlock has spaces for, the page will bug out due to extra text provided in the AJAX return.)

Fill 2 Rock EndOfLine
Fill [FromBlock{1}] [ToBlock{1}] EndOfLine
The Fill Command looks for blocks matching the FromBlock type, and replaces all of them with the ToBlock's type. In the example above, the six lower rocks are from this fill command.

Empty EndOfLine
Areas without commands are fine. Above these two blocks is an example of empty space existing before a command block. If non-BlockCodes are provided before a command, they will be ignored.

ReplacePoint Start Void Void Void EndOfLine
ReplacePoint [FromBlock{1}] [ToBlock{1 or more}] EndOfLine
FromBlocks are allowed to be any map placeable block (all standard blocks and the selector BlockCode. In the above example, three of the start locations were replaced with void spots.

SurroundPoint 1 Rock EndOfLine
SurroundPoint [FromBlock{1}] [ToBlock{1}] EndOfLine
The Surround Point Command select a random FromBlock and places it's ToBlock type in the four orthogonal directions. This will replace whatever block is on those squares, pre-existing or placed by BlockCode earlier. Blocks to be placed that would be off the map are ignored instead.

(Note to self: Known bug: If a user attempts to use a FromBlock that doesn't exist, the page will bug out due to extra text provided in the AJAX return.)
The last component you need to know to create the majority of maps on Pathery is the OR and Percent BlockCode. The following image and BlockCode is an idea from 是我人 to combine both Normal and Complex into a single map. This includes OR blocks, which are equal chance options of multiple command blocks, as well as percent chance sections appearing after the last ToBlock of a command set, which gives a chance that a given command set won't fire. This also has dynamic waypoints, allowing the 1 section to have 1 or 2 waypoints, allowing the 2 section be the next waypoint (either B or C), then 3 to 5 more waypoints after that, correctly selected starting at C or D based on the previous rolls.

(Note to self: Fix wall count so that it works, allow it to softly fail, document it.)

(Note to self: Document how to view the soft errors via JS's console view, or code it into the UI to naturally view it. Document Multi ORs. Document Last % and NotLast %. Make icons for these two.)

(clicky for big)


[ToAdd: SurroundBlock, OR blocks, Percent block]

Jun 12, 2019

2d10 + the absolute difference between the two dice

I pondered what 2d10 + the absolute difference between the two of them would be. After thinking though a few of the rolls, I realized that 3 isn't a possible outcome. The lowest roll would be 2, at a 1% chance (two back to back 10% chances). The max roll was from either 10 10 or 1 10.

Typed it up into Anydice.
function: sum plus difference of A:n and B:n {
    C: [absolute A - B]
    result: A + B + C

output [highest 1 of 2d20]
output [sum plus difference of d10 and d10]

Turns out, it is really similar to having advantage in DnD 5e, aka Higher 1 of 2d20 (image is the same graph as above, with "at most" selected). If on the advantage though, you "rounded up" odds to evens, it is the same.

I had hoped that this would have resulted in an upper bell curve, seen below in green. Blue is the standard 3d6 bell curve for comparison.

Dec 24, 2017

VR Room Motion Curator: Detached

All of the Room Motion. Six degrees of motion controller input for facing direction and movement. Trailer suggest non-player controlled movement events will occur too.

Each launch, there was a popup error message on my desktop that needed clicked "Ok" for to allow the game to launch. The initial location of the opening menu always put my head inside of the selections. On the left (invisible) controller, hitting down on the touch pad reset the room's position. Game didn't tell me this.

Dec 22, 2017

VR Room Motion Curator: OrbusVR

Paraphrased From Developer Daynab: By default we use the teleporting movement standard like many VR games, but you can opt to turn on sliding locomotion (with a few different settings for camera orientation). So you can pick which of the two types of movement you want. There is an airship you can go on to travel between cities. Traveling via the airship is peaceful, requiring minimal attention for when you need to get off.

Dec 15, 2017

SUPERHOT Multi Profile Manager

SUPERHOT is a fun game, but it is designed such that sharing the true experience from start to finish with others is not possible. The game is intentionally designed to have a single user profile to ever exist. Due to it's story, this makes sense.

I still wanted to share the full experience (perhaps sans-achievements) with friends, so I created a tool that renames the game saves of both SUPERHOT and SUPERHOT VR to allow additional users to enjoy the game. If the game is running while you attempt to alter the game saves, it will refuse. I imagine if I allowed that, overwrites of game saves and loss of progress would be likely. If you find this tool useful, let me know on twitter @memoryleaked

SUPERHOT Multi Profile Manager download link

Please inform me of any bugs you find. I can't fix what I don't know about.

This works on my Win7 machine. I don't have other OS'es to test this on. I haven't tested this when the user only owns one of SUPERHOT or SUPERHOT VR. It should be fine.

Dec 11, 2017

VR Room Motion Curator: RuneSage

Starts with float logo that follows the face without any other indicator of where the room is.

Adjusts player's height based on where your head is over different terrain. For example, as you move around in RL while on VR stairs, your view height changes. Avoidable by not moving around while on ramp surfaces. If you move your head over a stool, view point fades out and back in at new height. Teleporting is a mechanic in which the player isn't shown the movement from one point to another, and instead their viewpoint instantly moves the the new spot, or the view fades out then back after a short duration in at the new location.

Zoom Teleporting is when the user is shown their teleport movement over a short period of time, zooming to their new location. Wall walking occurs when the player attempts to stick their head though a VR wall. This game teleports the player unexpectly away from the wall they were about to wall walk past.

Intended to be No Room Motion, but fails on a few points. Floaty Logo, Forced player height while RL walking, unexpected teleport on wall walk attempts. Usually uses teleporting, but sometimes fails to fade the viewpoint and shows the player's zoom teleport.

Store Link

Dec 10, 2017

VR Room Motion Curator: Derora

Room Motion game. Room Motion game. Locomotion by pulling oneself around (swinging arms motion with touchpad, object grab and move yourself climbing with trigger). After initial game start, the room moves around you a small amount.

There are times menu screens move on their own. I think they are adjusting to user height way too late. This game is in going to be in Early Access later this month. I consider the menu adjusting portion to be a bug that may be fixed.

Steam Store link