Code: SpriteKit and CoreMotion

In my never ending quest to make life difficult for myself, I ran into a difficulty with iOS rotation animations. I could be entirely wrong about this — it’s been known to happen — but there seems to be a default device-orientation animation that iOS plays when switching from portrait to landscape, for instance. It rotates the SKScene using a .scaleMode such as .aspectFit which, I guess, is okay for some purposes. The thing is, for the life of me, I couldn’t find a way to replace that animation with one I preferred more.  I could find no shortage of ways to add more animations on top of it, but no way to right out replace it.


The Bot is an App

img_1639

Screen capture from the iOS app version of the Timebot.


About A Bot

screen-shot-2016-10-25-at-12-31-49-pm

The Timebot is finished.


Inkedln Profile Background

linkedin_background_preview

LinkedIn lets one choose a custom background for their profile. This is mine. A medley of illustrations I did for Wizards of the Coast and R. Talsorian Games’ collectible card game, Netrunner. I wish I had the originals, but I just have small jpg files from an archive.


Subtle, But Important

The amount of work to get this,screen-shot-2016-10-05-at-4-00-21-pm

instead of this,

screen-shot-2016-10-05-at-4-01-58-pm

is the difference between a two week vacation and two weeks of research.


Helper function(s)

Writing the Slackbot, which communicates via text messages so there are plenty of places where there are numerals being referred to in text form, which means there are often cases where a word is either singular or plural, depending on whether it’s referring to one of something or more than one of something.


Botkit and Regular Expressions

Regex has never been my favorite part of writing code. I get that some people geek out on it and bless their hearts. For me, it’s an annoyance that is best left abstracted out of my daily coding experience. Thankfully, I am not alone. There are plenty of sites and programs that generate regular expression sequences for all your pattern matching needs.