Games and Nostalgia

This post will mostly only be interesting for Flash coders and game developers

I have spent the past several days working out various functional specifications and data models for the Flash Adventure Game. So far, I have rudimentary versions of the following:

-XML heirarchies
-Tile placement engine
-dynamic bitmap object masking

I am particularly proud of the object masking idea.

My ultimate goal to create a game (engine) which can be modified without the requiring that the user in question have access to Flash. All that should be needed is a graphics program which can pump out .jpg files, a text editor with which to produce XML, and (maybe) an FTP program to place files on a website.

The dynamic masking is the key. It compensates for Flash being unable to dynamically load .gif or .png files; these formats support alpha transparency. .jpgs, which can be dynamically loaded, do not support transparency. But they can (using the Flash Drawing API) be masked. All I need to do is feed in the appropriate coordinates (in XML; not unlike creating an image map), and skaboom, I have one highly detailed, appropriately transparent sprite!

A lot of this reminds me of the hundreds of hours I spent back in the 80s writing games on the Commodore 64. Back then, there were no graphics applications so we had to program our images in hexadecimal. And the images, egregious hacks aside, were all 24×24, and one color. Or 12×24 and three colors, but all of the colored images had to share one of the colors.

In other words, this is a real walk down memory lane.

As I have useful information I will post it in an open directory. I will post some code after it is debugged. As always, suggestions are welcome .

Considering the Order of the Phoenix

The latest volume of the Harry Potter series hits the shelves tonight at Midnight. Local bookstores, which will be staying open until at least 1am, are full of witches and warlocks and all manner of pointy hats and broomsticks.

So, out of sympathy for my low-wage comrades in the retail industry, the following is a brief contemplation of Harry Potter: Order of the Phoenix.

Who knew Rowlings had it in her to write such an appealing coming- of- age, coming- out- of- the- closet book? And it was done so well, too! I mean, when Harry got Hermione pregnant I assumed they would get married and settle down together, but no , Harry spends most of the last two hundred pages playing tonsil hockey with the entirety of House Slitheryn. And polishing his black latex wand.

In chapter 5, Harry gets initiated into the Order of Priapus. Boy, I thought he was done for during the chase scene at the end of his quest for Wyckham’s Ball Gag.

Yup. Poor Hermione. Sleeping with the fishes.

You know, it’s all good clean family entertainment. Kids will especially get a kick out of Harry’s clever use of the Tony’s Turgid Timber spell which he used to defeat the Harrowing Harem.

So run to your nearest bookstore and stand in line for two more hours and get the latest volume of this wonderful series, because Ba’al knows, if you don’t get the book before your friends you could end up ostracized and cursed with Eternal Catcher-dom.

Just like poor Draco.

I made all of this up. I haven’t actually read the book. Don’t sue me. This is a legal disclaimer. If you can’t read this, why are you bothering to buy a book? Allow me to say again, for the search engines, Harry Potter. Fnord.

Early

Up at 5:30 this morning for tai chi practice before I head off to chi kung practice. As hard as it can be to get out of bed this early, there is always something to make it worthwhile. Today it was the sunrise.

I did a little work on the Flash photo album. The newest feature is to allow the user to set variables like text and background color using the index XML file. Next will be to allow optional setting of those same variables for each page of photos, along with the option to set either a random or a specified background photo. Perhaps by this weekend.

If only work didn’t take so much time away from my work.

The Cruelest Cut

Well, I promised you-all the story of my most favorite work-related injury, and here it is:

The Date: Late July of 1998.
The Time: Early Morning.
The Place: The Bookstore.

My day began at 8:00am, opening mail while sitting at the bottom of a huge cup of coffee. Mornings were usually quiet; just the sound of hangovers echoing from the employee bathroom and the constant hum of writerly angst. the bookstore got mail in from all over the world; from five of the six continents, dozens of countries, and in all kinds of conditions. Not all of it was clean. Not all of it was pleasant to touch. And the mailman was rather frightening.

So opening mail was an adventure. There was always something unexpected and exciting. On this day I was opening mail with such wild abandon that I gave myself a papercut on the cuticle of my right ring finger. It was a tiny papercut. It didn’t even bleed. And I had mail from Deepest Darkest Jenison to open. Therefore, though injured, I stayed at work.

Given subsequent events, I can only assume that somewhere in here I did something stupendously vile with my right hand. Like hand-feeding a buzzard. Or unclogging the customer bathroom toilets. Or chewing my fingernails after eating at McDonald’s.

Round about 9:30 the papercut sting began to turn into a hit-it-with-a-hammer throb. I didn’t pay it much attention. What was a little finger pain, next to the horror of writing a review of Chicken Soup for the Pet-Lover’s Soul ?

After another hour, I began to feel sick. Headache, nausea, disorientation. I attributed it to the Danielle Steele novel I had just unpacked. No problem. A little Hunter Thompson, a little Howard Zinn, maybe some Allen Ginsberg, and I should feel right as rain. Right?

Wrong.

At noon, finger swollen and head pounding, I went home. As soon as ass touched couch I fell asleep.

Tracy the roommate got home from work at 5:30. I woke up feeling awful. Head pounding, vision blurry, disoriented. I hadn’t felt like this since the most recent local Slam Poetry evening (back in the day, Grand Rapids had the worst slam poets in the state). My finger was a nameless beast gibbering mindlessly at the end of my hand.

And there, on the inside of my forearm… wrinkles from the pillow? No… hallucination? No… hot, swollen skin over infected blood vessels? YES! Like a relief map of the rivers of Hell, lines of infection rooted in my hand were pointing their way up my veins to my heart.

“Tracy?”

“Yeah?”

“If you have time tonight, could you drive me to the emergency room?”

“Are you serious?”

At this point Bob the Wonder Cat came over and sniffed my finger. He ran spitting nad hissing from the room.

“If you need to go to the emergency room we’re going RIGHT FUCKING NOW!!!”

At the hospital my hand was so stiff Tracy had to fill out all of my paperwork. Also, I was so disoriented I couldn’t understand what the receptionist was saying to me.

An hour went by. Then two hours. The other people in the emergency room looked much worse than I. There was a guy with a broken nose. Some people obviously in for VD shots. A big skinny pale guy with a scythe. Crows. Flies. Some of this might have just been in my head.

All this time I could feel myself getting worse. When I checked in my temperature was 101 degrees. After over two hours, it was much higher.

A day passed. Two days. The lines of red had reached my shoulder and stopped. Well, not stopped, exactly; more like dove under the surface and shot like torpedoes into my chest cavity. My temperature continued to rise. A bratty little kid was screaming. I pointed The Finger at him and he burst into flames.

Tracy told the nurse “He’s getting worse.” Bob the Wonder Cat wandered in. He sniffed me, then tried to bury me.

Finally the doctor came out and said “Ia! Ia! Cthulhu Fthaghn!” “YO!” said I, and in we went.

One syringe of penicillin to the ass, and I was on my way. Tracy’s boyfriend Russ – a God among Men – showed up with a tub of icecream and some spoons.

The next day at work, arm still sore but red streaks diminishing, my co-workers were quite sympathetic.

“Hi John. How do you feel? OH! Ouch! A paper cut! Oooohhhh.. Tammi? Is that you? Everything is so dark… Mom?…” and the like.

So there it is. I recovered. My arm was sore for a couple of days and I learned to set fire to the mail before opening it. So if one of you sent correspondence to the bookstore between July 1998 and August 1999, sorry, but your mail was sacrificed for the greater good.

Good Works

Because she feels intimidated by the people who think she is waaaaaay out of line for suing her school for $2,700,000, Blair Hornstine will not be attending the graduation ceremony .

I suppose, eventually, I will start feeling sorry for her. After, that is, she has learned her lesson: Just Deal With It .

I promised a couple of weeks ago that I would post the story of my other job-related injury. It will appear in my next entry.

Internet Explorer 5 sucks.

Soulful Tunes

I have just learned that Potato Moon and the Conklin Ceili Band will be at Billy’s on Wednesday, June 11, starting at 8pm. A better show is not to be had in all the world.

As a warm-up for that folk/Irish music evening Styx, (yes, Styx) will be at Schuler Books and Music on 28th Street at noon promoting their newest album, Cyclorama . This event earns the “What the…?” award for June 2003.

Lazy Sunday With Heavy Weather

Yesterday’s Kung Fu demonstration (pics and story soon at sifulee.com) was flawless, and the crowd appreciative.

I am sunburned. My scalp is pink like cotton candy.

Today, I think I will work on my Flash adventure game. It is still in the nebulous stage, but I can tell you this: It will be isometric-view, square tiles, the game engine in Flash and all of the configuration information and game variables in XML. Eventually it will be something like Winkelman’s Infinitely Extensible Universal Adventure Game Platform. But you know, at least half the fun in is figuring out how to build the thing. After that, actually building it seems like kind of a let-down.

Horoshii denh Rozhdeniy

Happy Birthday to me,
Happy Birthday to me,
I probably have to work until midnight tonight!!!!
Happy Birthday to me!!!

So: What did you get me?

As thanks to the universe for reconfiguring itself so that I may exist in this space-time continuum, today I am going to Kick Ass and Take Names.

A few weeks back a spoiled brat 18-year-old high school senior named Blair L. Hornstine was named co-valedictorian, along with two other people. Instead of being gracious and congratulating her classmates on their good fortune, or even simply protesting the school’s decision to have more valedictorians than the traditional One, she sued her school for $2,700,000.

Her excuse was that, because she suffered from an immune deficiency, she deserved special privileges, among which apparently was the privilege to acquire by cheating something she couldn’t get by skill. So far the public response has been a unanimous “Grow Up and Get A Life”.

Yesterday it came to light that she had plagiarized some articles she had written for her school newspaper. Her excuse was “I’m not a professional journalist. I didn’t know these things.” That excuse might have flown had she used it before she sued her school, but with that act she forever lost any and all right to ever complain about any unethical behavior anywhere in the universe.

Also, her father is a judge.

So now there is an online petition asking Harvard to rescind their invitation for her to start college in September. As of this post there are around 1700 signatures. I think it would be a nice birthday present to me, if I could see the total hit ten thousand before the end of the day.

More to follow as I think up other Good Works to perform on this, the 34th anniversary of the beginning of my current incarnation.

A Mystery Solved

Back in the bookstore days I was the Special Orders manager. It was my job to hunt down and procure all of the books which weren’t on the shelves when the customers needed them. Given the generally dismal state of published books, and the generally banal tastes of the majority of the readers, it was seldom a particularly exciting job.

In every retail job there are, for better and for worse, regular customers. I like to think ours were a cut above the usual, simply because all of them could read. The majority were decent people, although some were quirky to the point of being unable to function well in public.

One in particular, who I will refer to hereafter as Cat Lady, was a thorn in my side for several years, and finally I pushed her off onto my replacement when I left the retail world.

Cat Lady was a Wiccan. She was in her (I think) forties and had the most tenuous grasp of reality I had encountered outside of my college philosophy classes. Judging from what and how often she ordered she must have had the largest Occult library in West Michigan. She liked to cast spells. She had friends who liked to cast spells. They would get together on Thursdays.

I like to imagine that they were trying to destroy the world.

There was one book which I was never able to procure for her: the Witches Bible Compleat; a tome which supposedly contained all the Majickal Wisdome of the Worlde. She must have ordered the thing ten times. The Publisher, Magical Childe, was difficult in the extreme to contact, and as often as not my inquiries were returned, unopened.

In between attempts at the WBC Cat Lady snapped up pretty much every other book on majic, magic, magick, majyq and madjich. She avoided the Satanic goofballs like Anton LaVey, and had no real interest in the Necronomicon. She dug Crowley. She was all about numerology.

But for all the trying, I was never able to get my/her hands on the Witches Bible Compleat.

Finally I just told her it was out of print, and to stop ordering it. She responded by sending a check to a local liquor establishment instead of to the bookstore, then yelling at me for a half hour because I didn’t have it in my hands the day she put it in the mail.

A great deal of stress caused by a book which may never have existed.

Earlier today I was browsing around on Fark and I came across this story which, in the process of debunking the existence of the Necronomicon, solved the mystery of What Happened to Magical Childe.

So then, there is a sort of symmetry in the universe.

Cat Lady, I hope this helps. For the rest of you, the article is a great read.