Game Dev Diary – Cat Herder – Part 2

Welcome to my second game diary for [Cat Herder, which I’m subtitling – "Rise of the Machines". This update is all about the ‘machine’ aspect of the game. Let me explain. Right now each cat (well, you can only have one unless you cheat) has three needs you must manually take care by clicking the right button to match the mood. The idea of the machine feature is that they will automatically handle this for you, providing you have enough of them and the right type. The first thing I needed to figure out was how to enable this feature. I decided on a one time check to see if you have 75 or more purrs (the currency of the game). This is a one-time check because as... more →
Posted in: JavaScript

Game Dev Diary – Cat Herder – Part 1

Over a year ago, I released my first "idle clicker" game, IdleFleet. IdleFleet is a simple "space merchant" game built with Alpine.js. I’ve worked on it off and on since the initial release (which was in Vue.js by the way) and still have updates I want to add, but a few weeks ago I started work on a new game I’d like to share with you, Cat Herder. The Game # Cat Herder is very much in its early stages so while I’ll (eventually) link to it, you can’t do much with it now. The basic idea is that you have one cat… to start with that is – and have to keep it happy. Cats have three basic moods: Wanting to be left alone Wanting to be fed Wanting... more →
Posted in: JavaScript

Subway Specs – Part III

Tokyo’s Shinjuku Station is the world’s busiest train station. Its is used by over 3.5 million passengers every day. To cope with that amount of traffic the station has to be very big. It has 35 platforms, while another 17 platforms can be accessed through hallways to 5 directly connected stations without traveling outside. With over 35 million platforms and over 200 station exits it can be Maps Mania… more →
Posted in: Interactive Maps

Fun With Front Matter: Part 4 – Featured Posts

It’s been a few days since my last post in this series. I’d like to blame something in specific but honestly, it’s just life. Today’s tip will – again – be short and sweet but hopefully helpful. The idea of a "featured" post is that there may be content that, no matter the age or view count in your stats, you want to highlight. It could be your first blog post. A post announcing a new job or life event. Or anything really. How can we use front matter to support this? Marking Featured Content # One approach to marking content as featured could be to simply add a featured value to the front matter, like so: ---layout: posttitle: Gamma Post 7tags: postsdate:... more →
Posted in: JavaScript

The National Stereotypes Maps – Part Two

Buzzfeed has started a new mapping trend with their AI generated images of state stereotypes. Last week Buzzfeed asked a generative AI image model to create a photograph of a person from each U.S. state, as typically perceived by a European. You can view the results in the post This is What Europeans Think of Us. I was inspired by the Buzzfeed post to create my own National Stereotypes Map. To Maps Mania… more →
Posted in: Interactive Maps

Investigating IndexedDB Wrapper Libraries – Part Three

Welcome to the third and final (for now) entry into my series looking at wrapper libraries for working with IndexedDB. I began this series earlier this month demonstrating a simple Contacts database implemented with IndexedDB. In the second entry, I demonstrated how the Dexie library made working with IndexedDB much simpler. Today I’m going to look at my last "planned" entry (I may revisit this again if I find more) in this series – using DPP, or Deep Persistent Proxy Objects for JavaScript. Raymond Camden… more →
Posted in: JavaScript

Including RSS Content in your Eleventy Site – Part 2

A few weeks ago I blogged about how to include RSS data in your Eleventy site: Including RSS Content in your Eleventy Site. Last week, I had the honor of giving my first presentation to the Eleventy Meetup and for that talk, I took my earlier code and iterated on it a bit to show more examples and add a bit more usefulness to the tip. If you want to watch that presentation, you can do so below (and see @jeromecoupe excellent tal too!). I thought I’d also share the updates here for folks who prefer reading over wathing a video. Raymond Camden… more →
Posted in: JavaScript
1 2