Mucking About With Docker  [draft]

my base python image https://gitlab.com/modle13/docker-python https://docs.docker.com/get-started/part2/ extra flags https://docs.docker.com/engine/reference/commandline/images/#format-the-output –format and –filter pushing to dockerhub https://ropenscilabs.github.io/r-docker-tutorial/04-Dockerhub.html https://hub.docker.com/r/modle/apythonapp/ base ubuntu with apt-get update/install https://docs.docker.com/develop/develop-images/baseimages/#create-a-simple-parent-image-using-scratch $ docker run –rm -it -v $PWD:/build ubuntu:16.04 container# apt-get update && apt-get -y install build-essential (-it is interactive terminal, probably) nginx and stuff 1 docker run ubuntu bash -c "apt-get -y install nginx" or https://www.digitalocean.com/community/tutorials/how-to-run-nginx-in-a-docker-container-on-ubuntu-14-04 1 2 docker pull nginx docker run --name docker-nginx -p 80:80 nginx basic nginx test docker container stop docker-nginx docker container rm docker-nginx TEST_PATH="$HOME/projects/docker-nginx/html” mkdir -p $TEST_PATH echo ‘some html’ > $TEST_PATH/index....

November 12, 2018

Unnamed Sim Game Dev  [draft]

Mapping controller buttons (0 = “joystick button 0”, etc) 0 : a 1 : b 2 : x 3 : y 4 : L1 5 : R1 6 : - 7 : + 8 : L3 9 : R3 3rd axis (Joysticks and Scrollwheel) : LT/RT (L2/R2) 4th : right stick horizontal 5th : right stick vertical 6th : dpad horizontal 7th : dpad vertical https://docs.unity3d.com/ScriptReference/Input.GetAxis.html “To add a new input, add 1 to the number in the Size field....

November 12, 2018

Graveyard Keeper Buried My Free Time But I Have No Regrets

Corpse feng shui This is the first time in my life where corpse quality is my #1 priority. Graveyard Keeper was a good experience overall. It hooked me in all of the right ways and the trickles of progress were enough of a dopamine hit to make me lose sleep and cause my family undue stress with my general unavailability. SPOILERS AHEAD Real moral ambiguity without any real consequence Harvest corpse meat....

November 10, 2018

Fishing Analysis of Resource Sim Games  [draft]

games terraria craft the world graveyard keeper stardew valley banished deiland my time at portia battle chasers difficulty/annoyance of fishing vs value gained Game Difficulty Value Complexity Appeal Ignorable Terraria low Craft the World low Graveyard Keeper ridiculous Stardew Valley middling with a progression curve Banished low Deiland medium My Time at Portia don’t know Battle Chasers medium terraria: difficulty: low value: high complexity: low appeal: yes, in its simplicity ignorable: no, rare fishing-only equipment and potion materials craft the world: difficulty: low value: medium complexity: low appeal: sure?...

November 7, 2018

Math in 3D Space and Other Travails

A capsule with silly eyes What happens when you ignore rotation because your game object is perfectly symmetrical and then you add eyes to it? This! From 2D to 3D I’ve had a few challenges converting my village sim from 2D to 3D. The main difference has been switching from translation-based movement to physics-based movement. To give an object physical properties, you attach a Rigidbody. This has settings for drag and gravity forces....

November 5, 2018

Progress Update May 2018

Works in Progress Please see my portfolio for videos and published demos. I focus mainly on the core logic of the game engine, since that’s my primary area of interest/experience. These are my works in progress. I would consider Centipede feature complete, but there are open issues (both enhancements and bugs) that I plan to continue to work on. Resource Quest in Unity is nearly feature complete, and needs polish, but you can view the source code from the link on my portfolio....

May 27, 2018

It's Full of Flies!

Impatience waiting for a creature to come eat my ship led to a new crazy game mode! If you can survive 8 or so waves it gets easier, since the sheer amount of mushrooms makes the processing time longer than the interval timer, so everything slows way down. It’s a feature! And here’s the finished leaderboard implementation

April 7, 2018

Leaderboards!

Step 1: Bask in the glory

April 6, 2018

Unit Testing  [draft]

Why do we need test coverage reporting? The point of coverage is as an aid for what should already be happening: risky logic is considered and proven from an engineering standpoint, before/as it’s being written. When you force yourself to consider how you would test a piece of logic, you automatically try to make it simpler, so your tests aren’t forced to become gargantuan monstrosities just to cover all of the preconditions....

April 3, 2018

Karma Complete

Week-long test coverage montage Right into the danger zone Risin’ up to the challenge of our rival Oh darlin’ my heart’s on fire Lose your blues, everybody cut footloose Key takeaways beforeEach does not reset any spy that it sets. Will need to find another approach if this is needed. I think setting testObj from a copy of the target object, then spying on that is enough to avoid problems, but there are instances where spy is being set on the nested test objects directly, which will likely affect the tests for those objects at some point....

March 29, 2018