Unity - Attaching Gifs to Surfaces  [draft]

One of my game ideas is a walking sim. I’ve been considering how best to design this game, and one of the ideas was that exploring and interacting with the environment would trigger animated scenes that depict a child’s challenging experiences while growing up. These scenes would be attached to objects, like walls or terrain. I’m going to explore a few ideas on how to make that work. Hey, Google, how do I “unity attach a gif to an object”....

December 9, 2019

A Walking Sim of My Own

I’ve been playing a lot of story-adventure-exploration games lately (aka “walking sims”), and they really resonate. I played What Remains of Edith Finch with my daughters this summer when it was just us for the weekend, and we all loved it. It tells the story of Edith’s family in journal/diary format that we experience by walking through the protagonist’s childhood home. As we unlock sections of the house, we collect the stories of each of her family members....

December 9, 2019

RH notes 4  [draft]

monitoring process activity load average is : 1 minute, 5 minutes, 15 minutes moving exponential average 1 2 user@host ~/workspace/cloudtv_/simulacrations > uptime 17:12:56 up 80 days, 8:57, 4 users, load average: 0.51, 0.38, 0.34 figure out how many logical CPUs you have, and divide the load average by that number, yield is percent of load over period of time. 100% is fully loaded, more is overloaded. lscpu : see how many CPUs you have I have 4...

December 7, 2019

Unity - Streaming Assets with WebGL  [draft]

My StreamingAssets load function is failing to find the file in a WebGL build. 1 2 3 4 87fe1115-9410-4333-86b8-4f13bd96c86d:8 DirectoryNotFoundException: Could not find a part of the path '/http:/localhost:58316/StreamingAssets/data/events'. at System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) [0x00000] in <00000000000000000000000000000000>:0 (Filename: currently not available on il2cpp Line: -1) The load function: 1 2 3 4 5 6 7 8 9 10 11 12 13 private static string LoadStreamingAsset(string filePath) { // string filePath = System....

December 5, 2019

Some Unity Flailings

I don’t know a bunch of stuff, let’s find out what, and remedy the situation. I opened a new 3D project and stared at the screen. What’s the first step? We need a character, and something for it to run on. Googled: “Add character 3D world”, clicked first link. http://www.strandedsoft.com/creating-a-3d-world-and-a-playable-character-in-unity3d/ Neat! Terrain tool I’ve never used this. Creating a new terrain: GameObject menu -> 3D Object -> Terrain Adjusting terrain contour Click the icon that looks like a paint brush in the terrain Inspector....

December 4, 2019

RH notes 3  [draft]

monitoring and managing processes zombie process: when child is done it frees up its reasources except for its process ID; then it’s just an etry in the parent’s process table; parent wakes up and clears process table stopped is different from terminated PTS : pseudo terminal session ps -ef bash shell running inside terminal emulator program, and allocated a pt PID1 is systemd top controlling jobs use & to run process in background, which allows it to write to stdout and lets you run additional processes...

December 3, 2019

RH notes 2  [draft]

controlling access to files ‘-’ : normal file ’d’ : directory ‘l’ : link permissions evaluated by: user > group > other execute on directory means the content of that directory can be accessed chmod chown only the root user can transfer ownership as separator between owner and group for chown, can use :newgroup for just group; newuser: ? or newuser ? for just user ....

December 2, 2019

'Gone Home' Reactions

This game is beautiful. To be honest I thought the ending was going to be much darker, as the discoveries grew sadder as Lonnie’s departure date neared. Sam kept repeating how she couldn’t live without Lonnie. I’m glad I was wrong. What I found instead gave me a sense of joy and hope. Growing up is hard. Bearing the weight of the world’s and your parents’ expectations is a seemingly impossible challenge....

December 1, 2019

RH notes  [draft]

linking files and the inode identifies files permissions ownership date and time stamps paths to data on file system everything about the file except for the file name itself 1 2 someuser@somehost ~/workspace/someuser_/redhat_training > ls -li asdf 139117524 -rw-rw-r--. 1 someuser someuser 0 Nov 26 16:23 asdf flag -i shows inode id 1 = one name pointing to that file 1 2 3 4 5 someuser@somehost ~/workspace/someuser_/redhat_training > ln asdf asdf2 someuser@somehost ~/workspace/someuser_/redhat_training > ls -li total 0 139117524 -rw-rw-r--....

November 26, 2019

Some Unity Tricks  [draft]

Saving selections The current editor element selection can be stored in a save state by using the combination ctrl+alt+1-0 and retrieved with the combination ctrl+shift+1-0. A use case could be: while editing a gameobject in scene 1, the user would like to compare the contents to a similar gameobject in scene 2. While the first object is selected, ctrl+alt+0 would store the state. Then the user would load the similar game object, and save that state with ctrl+alt+1....

November 18, 2019