Blog

  • Flash Game Objects

    October 6, 2004

    I spent yesterday outlining some of the basic classes for the interactive Flash game. With the amount of animation in this game, I think I will need a pretty robust event-driven graphics architecture. Also, I’d like to avoid the pain of asynchronous threading that I had in my last (and first) AS 2.0 app in Prove it.

    I think I can combine both things into a common “Executor” class, which is an event-triggered serializing execution queue. Each Executor will have an ExecQueue with ExecObj’s, which encapsulate object and method context. This is similar to the method I used in Prove It to create a synchronous XML loader, but more generalized. The rest of the architecture breaks the interaction into Game Logic, I/O Services, and Sprite Utilities. So here’s how it’s shaping up:

    (more…)

    Read more
  • Splitting Blogs

    October 5, 2004

    Having run this blog for a couple weeks now, I’m seeing a few patterns emerge:

    • Gweeping / Coding
    • New Media
    • Personal Interest (Cats, etc)
    • Thoughts

    I’m thinking of splitting off the personal stuff / thought categories into its own section, to keep the main page relatively high in content. Not sure how to best achieve this in WordPress yet…one blog database, two interfaces!

    Read more
  • Flash Game Season

    October 5, 2004

    Ah, with the brisk air of Autumn comes the holiday season, and with that the interactive holiday card development period. As a friend of mine says, “That’s so 1999″, but I’m still looking forward to it because I’ll be developing it in actionscript 2.0 for a client. I’m planning on keeping a running log of how it’s going here. This week’s alpha delivery is to get something up and running by Friday, so today I’ll be outlining the base classes and major runtime objects while enjoying a Mocha Machiato at StarBucks.

    Read more
  • The Kat(e) Report

    October 5, 2004

    Kat & Kate file photo 2003Yesterday I took the cats in for their overdue shots. Kat (left) got his belly shaved because of matting. Kat is also apparently nearsighted; when you toss treats more than 3 feet from him without any sonic cues, he can’t find them. His retinas are OK…he’s a young cat. He’s just either lazy or near sighted. He also had some nasty tartar buildup + gingivitis, which the vet removed, and now I have to give him pills to try to clear it up. Kate was absolutely fine, as always. The surprising thing was that she was 9.8 pounds! Kat is 11.2 pounds, but looks much bigger due to his extra hair. Both of them are “a little chubby” according to the vet, but not too bad.

    They both still have fleas, but not as bad. In another week I can give them the Advantage® and hopefully be done with it. With the colder weather, the fleas may be dying off, and the basement/bedrooms have been off-limits for two weeks now. Once I get the Advantage® on them, I’m hoping to reopen the house for business.

    Read more
  • Optimizing WordPress

    October 1, 2004

    As much as I like Markdown, the nifty formatting syntax, it’s wicked slow. I may have to dump it just because it’s making page loads unacceptably slow. Not only that, but it slows down RSS feeds down something awful.

    So while waiting for WordPress 1.3 to add caching of pages, I am investigating how to optimize performance in the meantime.

    UPDATE: According to Pair, it is the web server running out of physical memory. A-hah! Although I added the staticize 2.5 plugin (which speeds page recall by orders of magnitude), it is the initial load of php.cgi into memory that is the lag…nothing I can do about that. Pair’s customer service continues to please me with their candor and responsiveness. But it will require a memory upgrade…I don’t know how long this will take.

    (more…)

    Read more