Skip to content

Ecce Signum

Immanentize the Empathy

  • Home
  • About Me
  • Published Works and Literary Matters
  • Indexes
  • Laboratory

Games and Nostalgia

2003-06-24 John Winkelman

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 .

Posted in ProgrammingTagged Flash, game development

Post navigation

Considering the Order of the Phoenix
The Everyday Cook Book

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Personal website of
John Winkelman

John Winkelman in a diner in San Francisco

Archives

Categories

Posts By Month

June 2003
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930  
« May   Jul »

Twitter Feed

Retweet on TwitterJohn Winkelman Retweeted
GennHutchisonGennifer Hutchison@GennHutchison·
20 Jun

Talking to someone about an estranged adult child and their parent, and the person could not understand the child cutting the parent off because "if they die, wouldn't you feel terrible you never made peace?" And it's interesting because... (cont'd)

Reply on Twitter 1539034762790113280Retweet on Twitter 15390347627901132801459Like on Twitter 15390347627901132808053Twitter 1539034762790113280
JohnWinkelmanJohn Winkelman@JohnWinkelman·
19 Jun

Father's Day Sunday brunch with @gallafe . Pop-up brunch in the Chez Olga space on Wealthy Street. Pork sisig, singkamas salad, deviled eggs, and rice. Food served until 1:30 pm so you still have time! I think Jim Harrison would have liked this meal.

Reply on Twitter 1538551512284246016Retweet on Twitter 1538551512284246016Like on Twitter 1538551512284246016Twitter 1538551512284246016
Retweet on TwitterJohn Winkelman Retweeted
LouisPeitzmanLouis Peitzman@LouisPeitzman·
17 Jun

Lauren Boebert spells things wrong in her tweets because it dramatically increases engagement, hope this helps.

Reply on Twitter 1537861383026614274Retweet on Twitter 15378613830266142741083Like on Twitter 15378613830266142748989Twitter 1537861383026614274
Load More...

Links of Note

Reading, Writing
Tor.com
Locus Online
The Believer
File 770
IWSG

Watching, Listening
WYCE Electric Poetry
Writing Excuses Podcast
Our Opinions Are Correct

News, Politics, Economics
Naked Capitalism
Crooked Timber

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

© 2022 Ecce Signum

Proudly powered by WordPress | Theme: x-blog by wpthemespace.com