Skip to content

Ecce Signum

Immanentize the Empathy

  • Home
  • About Me
  • Published Works and Literary Matters
  • Indexes
  • Laboratory
  • Notebooks
  • RSS Feed

Tag: Flash

Flash 8 Stress Test

2005-12-09 John Winkelman

This is my most recent Flash 8 experiment. I used it to see what some of the possible limits of rendering might be; specifically, multiple levels of alpha transparency rendering over a complex background.

It works like this: A .jpg (the background) and a .png with alpha transparency (a Green Floating Chad Head) are loaded at runtime. I copy the .jpg and the Chad Head into Bitmap objects, then run a simple math algorithm to copy 100 instances of the Chad Head onto the background, then clone that bitmap onto the one which is displayed in the Flash player. This combines two concepts known as blitting and double buffering, which help to speed up otherwise lengthy and/or processor-intensive rendering jobs.

SkaBoom, 100 objects moving at a high rate of speed with, in effect, 100 levels of alpha transparency displayed at once. All combined into a single 480 pixel square bitmap.

Thanks to the folks over at Bit-101’s forums for help with some of the new functionality.

Click to launch the Flash 8 stress test.

Posted in ProgrammingTagged Flash comment on Flash 8 Stress Test

My First Flash 8 Experiment

2005-11-05 John Winkelman

Flash 8 plugin required.

After a couple of hours of hacking around learning the ins and outs of the new BitmapData class, this is what I have come up with. My version of the “Hello World” program.Click here to see it.

Posted in ProgrammingTagged Flash comment on My First Flash 8 Experiment

Kingdom, Complete

2005-10-19 John Winkelman

Weeellllll here it is. A total of about ten hours of development, and perhaps not the cleanest code in the whole wide world, but it is done. And already I have several ideas for a sequel.

Click here to play Kingdom.

Posted in ProgrammingTagged Flash, game development comment on Kingdom, Complete

Kingdom

2005-10-04 John Winkelman

This is the first draft of my version of one of the first video games I ever played. Variously called Kingdom or Hammurabi, it is a simple economic game. I first played it in the Impressions 5 Science Center in Lansing, Michigan. I must have been about eleven years old.

You are the ruler of a kingdom. Your duty is to acquire land and peasants. You do this by planting crops, feeding your peasants, and indulging in simple land speculation (buy low, sell high). Chaos enters the system in the form of rats eating your grain, peasants dying of plague, and variation in the price and fertility of your land. The “bushel of grain” is the standard unit of currency.

Right now the balance of values is as follows:

-Each peasant eats 20 bushels of grain a year
-It takes 2 bushels of grain to plant an acre of land
-Each acre of planted land will grow between 2 and 5 bushels of grain
-If you under-feed your peasants, they will starve to death.

If you try to spend more grain than you have, the game will simply do nothing when you click the button. And this leads me into the “to do” list for the game

-alerts which tell you when you are spending too much.
-adding logic so that each peasant can farm no more than 10 acres of land
-allowing a set number of years so the game does not continue forever
-if too many peasants die, the survivors revolt and cast you from power

I like this kind of game. It packs a nice amount of complexity into a very small package. I imagine that the idea for Warcraft grew out of something very like this.

Click here to play my version of The Kingdom of Hamurabi.

Posted in ProgrammingTagged Flash, game development comment on Kingdom

Just Checking

2005-07-28 John Winkelman

Yup. We now have Flash working inside of TextPattern. This is the Crown of Jewels. It is one of the first things I did when I started learning Flash, back in 2001.

The more things change, the more they stay the same.

Posted in ProgrammingTagged Flash comment on Just Checking

Back to Work

2005-03-16 John Winkelman

Well, it looks like my days as a Gentleman of Leisure are coming to an end. Starting Monday I am back to somewhat regular work hours, albeit this time as a contractor rather than a full-time employee. No more soap operas. No more sleeping in until noon. No more spending the entire day in my pajamas.

So it is appropriate that I hereby announce the release of Whirling Vector Shapes of Doom v1.0 . This is the first game I have completed in eighteen years. The last one was a dungeon crawl written in BASIC on a Commodore-64.

Having reached every milestone I set myself for this release I already see room for a dozen improvements, and I have ideas for the creation of another dozen games.

Stay tuned!

Posted in LifeTagged Flash, game development comment on Back to Work

Almost A Game

2005-03-06 John Winkelman

I took a few days off of this thing, then returned with a vengeance. The arrow keys [UP,DOWN,LEFT,RIGHT] control the direction you move. [Z] fires your gun.

Click to play the game.

Posted in ProgrammingTagged Flash, game development comment on Almost A Game

The Game, Day 3

2005-02-27 John Winkelman

Another hour of coding and re-coding. Now we have a multi-layer background, and the enemy ships explode when shot. Left Right and [Z]. Click here to launch.

Posted in ProgrammingTagged Flash, game development comment on The Game, Day 3

The Game, Day 2

2005-02-26 John Winkelman

Another hour of coding, and the .swf is up to a whopping 3.97k. Now the enemies fire back. As before, left and right arrow keys to move, [Z] to fire. Reload the web page to restart the game. Click here to launch.

Posted in ProgrammingTagged Flash, game development comment on The Game, Day 2

We’re Having Some Fun

2005-02-25 John Winkelman

The beginnings of a simple arcade game. Two hours of work. Arrows move left and right, [Z] to fire. Click here to launch.

Posted in ProgrammingTagged Flash comment on We’re Having Some Fun

Posts navigation

Older posts
Newer posts

Personal website of
John Winkelman

John Winkelman in closeup

Archives

Categories

Posts By Month

June 2025
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930  
« May    

Links of Note

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

Watching, Listening
Writing Excuses Podcast
Our Opinions Are Correct
The Naropa Poetics Audio Archive

News, Politics, Economics
Naked Capitalism
Crooked Timber

Meta

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

© 2025 Ecce Signum

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