HTML5 Form Validation Fallback (without a library)

Currently HTML5 form validation doesn’t work in every modern browser. Chrome, Firefox, and IE all have beautiful error reporting, but we can’t say the same about Safari or iOS.┬áMac’s webkit based browsers display no error messages, nor do they prevent submissions when the form is invalid (see screenshot). The oddest part is Safari actually supports HTML5 form validation almost completely. In order to get things working we’ll teach you how to write an HTML5 form validation fallback that relies on CSS and a snippet of JavaScript.

Current state of HTML5 form validation out of the box. Everything works except Safari’s Webkit based browsers. Which is a huge deal since it leaves out iPhones and iPads. To view a demo of the fallback you’ll create click here

Continue reading HTML5 Form Validation Fallback (without a library)

Moving to full time game development

After a good run with my previous employer Tastemaker, I’ve decided to change careers. Instead of mass producing websites or maintaining a product, I’m stepping into game development / design full time and teaching development on the side. You might ask “Why would you go into games when there’s no money in it?” Let me try to answer that with a little story about my past.

Continue reading Moving to full time game development

Video Game CMS Review: Articy Draft for Game Development

Managing characters stats, lore, story, dialogue, and other recurring video game components is quite a task. Even with popular game engines such as Unity 3D, Game Maker Pro, and RPG Maker all lack a robust solution to solve these issues. That’s where Articy: Draft comes into play its a full blown CMS for video game development. Below I’ve documented my findings on this software so you can figure out if its right for you or not.

A content management system for games.

Continue reading Video Game CMS Review: Articy Draft for Game Development

A* Pathfinding Algorithm

Over the past couple months I’ve spent most of my time working on a tile based game with gigantic fighting robots. Initially I tried to find movement tiles and paths with a brute force search. But it was quite buggy, instead I ended up using the A* (A Star) Pathfinding Algorithm for my tile game. To learn how it worked I built a fully interactive A* demo that you can play with.

A Star Pathfinding
View the interactive A* Pathfinding demo now.

Continue reading A* Pathfinding Algorithm

Half off my book HTML5 in Action

Today only (April 9th), Manning Publications is offering my book HTML5 in Action 50%. The book focuses on building HTML5 apps with JavaScript through various APIs. I wrote the chapters on visual APIs with Canvas, SVG, and WebGL that walk you through building retro game clones. Book is almost done, so this is a great time to get a copy before it lands on shelves.

Use code dotd0409au for 50% off

Continue reading Half off my book HTML5 in Action