In one of those perennial discussions/comparisons of Director and other development systems that seem to stem from some college student’s project, Brennan Young makes some pertinent points about writing Xtras, game development, the Havok Xtra, and more.
Now Where’d I Put that Application Data?
Daniel Plaenitz writes today on DIRECT-L (in a message titled “DMX2004 windows appData path quirk”) that DMX2004 uses a hard-coded (English-language) path to place the configuration settings, rather than determining from the system where the appropriate place would be in localized Windows systems. (He doesn’t address the Mac version.) His concern is that other modules use the correct path, e.g. the activation module. Good detective work, Daniel!
Eternal Darkness of the Spotless Mind
Doesn’t anyone at the White House read? Or have they been using the Lacuna device?
Former counterterrorism chief Richard Clarke went on “60 Minutes” last night and described the Bush response to 9/11 as “botched”. In his efforts to discredit Clarke, White House Press Secretary Scott McClellan questioned why Clarke is only now bringing the matter up, asking
“If Dick Clarke had such grave concerns, why wait so long?”
I know Ari Fleischer was the press secretary in the summer of 2002, but McClellan must have been living in a political hole to have missed “Could 9/11 Have Been Prevented?”. It was just the COVER STORY IN TIME MAGAZINE for August 4, 2002, less than a year after the attacks. It’s full of stories about Clarke’s attempts to clue the Administration to the problem, like this one describing a meeting a couple of months after Bush took office:
By now, Clarke’s famously short fuse was giving off sparks. A participant at one of the meetings paraphrases Clarke’s attitude this way: “These people are trying to kill us. I could give a f___ if Musharraf was democratically elected. What I do care about is Pakistan’s support for the Taliban and turning a blind eye to this terrorist cancer growing in their neighbor’s backyard.”
Vice President Dick Cheney told Rush Limbaugh (also referenced in the CNN article) that Clarke doesn’t know what he’s talking about because he “wasn’t in the loop” on major decisions. Let’s examine that for a second. Either Cheney’s telling a lie in an effort to deflect Clarke’s rather damning accusations, or he’s telling the truth, and the adminstration was making their decisions on how to combat terrorism without consulting their counterterrorism chief. Not a good set of options.
Posterizing Images
A message on a Flash list posed the question of whether there was any way to dynamically generate a posterized version of a bitmap image in Director. My response: “Nothing could be simpler.”
The following movie script takes an image object and applies the built-in Web 216 palette to the picture without dithering, which results in a fair amount of posterization. Using a more restricted palette would result in more dramatic effects.
on posterize imageRef
memberRef = new (#bitmap)
posterizedImage = image (imageRef.rect.width, imageRef.rect.height, 8, #web216)
posterizedImage.copyPixels (imageRef, imageRef.rect, imageRef.rect)
memberRef.image = posterizedImage
end
You can see the results of this script here (click to open up a larger version):
To execute the script, if you’ve got a bitmap image in cast member position 1, you just type “posterize member (1).image” in the Message window.
The first command creates a new cast member for the posterized bitmap.
The second command assigns an image object to a variable, using the size of the original image, setting the color depth of the posterized image, and specifying a palette to use.
The third command copies the original image into the image object.
Finally, the image object is assigned to the image property of the new member.
To make the third version of the original image in the JPG, I just substituted a 4 for the 8 in the third parameter of the image function, to make it 16-color instead of 256-color. For more control over the colors of the posterization, you can create a custom palette and substitute its member reference for the fourth parameter. There are all other sorts of effects you can do automatically using copyPixels, including things like inverting the brightness of the colors. If you’re not in a hurry, it’s certainly possible to do a pixel-by-pixel processing of the image.
You can download the source file (compatible with Director 8.5 and later) here.
The Netherlands Rock!
So I’m listening to a piece on the South by Southwest music festival on NPR’s “Morning Edition” today, and they’re talking about how the Australian and Scottish governments (among others) send their bands to the festival because they see them as another potential export commodity. Then they mention that eight bands from the Netherlands are there because of the “government-funded Dutch Rock and Pop Institute”. Man, we gotta get one of those…
Who Won?
The cultural chauvinism of US pundits has been in full swing since the elections in Spain over the weekend. New York Times columnist David Brooks leads off this morning’s opinion piece: “I am trying not to think harshly of the Spanish.” Well, la-di-dah, Mr. Brooks.
In the minds of most of the pro-war opinionators, the Spanish “caved” (one of last night’s banners from MSNBC’s “Scarborough Country”) to terrorists by electing José Luis Rodríguez Zapatero as prime minister over José María Aznar, despite the fact that Aznar had joined the US “Coalition of the Willing” (COW) against the wishes of some 90% of the voters last year. Guys, that’s democracy. Sure, Aznar’s party was up a few points in the polls before the bombings last week, but so was Howard Dean before he landed in third place in the Iowa caucuses.
In the minds of Brooks and his ilk, the Spanish are now no better than the French; shameful sheep who can be terrorized into “appeasement”. I have to say, he doesn’t seem to have had a very high opinion of one of the primary partners in the COW. You have to wonder what he thinks of the Italians.
What I find intriguing is that at the same time Spanish voters are repudiated for supposedly letting a terrorist attack affect their elections, US voters are being urged by ads for George W. Bush to vote for him because — wait for it — of September 11.
Love to Hate Shockwave.com?
Eight years of wrestling with Shockwave installs got you down? Still sick at heart about how each install leads to some foreign site?
Mark Reijnders passed along the link to this delightful story about what happened when Shockwave.com gave a reported $2 million to “South Park” creators Matt Stone and Trey Parker to develop an online series called “Princess”. Could be Stone and Parker pushing the limits of taste, could be they were out of ideas, but it never went live on Shockwave.com.
Cable channel Trio has made “Shocked”, a short documentary about the series, and a couple of episodes of “Princess” available online. See for yourself what $2 million of venture capital can buy!
More Director Guys in the Media
In those hazy days back before the Web, the name Marvyn Hortman rose high in the Director community. Marvyn set up an FTP site where developers could post tutorials, samples, and information in an era (only a decade ago) when getting up-to-date material wasn’t exactly easy.
Late last Saturday night, Marvyn and his neighbor came home late and just missed running into a bank robber who’ been featured that night on America’s Most Wanted. The fugitive, Terence Washington, stole the neighbor’s Hummer and headed off into the night.
Marvyn reports that a camera crew from AMW was due to interview him and his neighbor Friday, and it should air as a lead story on Saturday, March 20.
Robert Tweed’s Links
Robert Tweed of Killing Moon Software has updated his list of Director-related links. A good way to kill part of the weekend.
Director/Shockwave/Flash Game Developers at GDC
Haven’t determined whether I’m going to make it this year, but if you’re attending the Game Developers Conference 2004 — or if you’re just in the San Jose area on March 26 — Brian Robbins announced the meeting time and place for the annual gathering of Director/Shockwave and Flash game developers.
Most of the show’s oriented toward the big-time console and computer-based markets, but a number of folks from our community, including Brian and Gray Rosenzweig, regularly present at the conference (see my article at DOUG on last year’s dinner).
Brian says to meet up from 4-5PM, Friday, March 26 at the IGDA booth outside the main entrance to the Expo hall at the San Jose Convention Center (you don’t need a pass to get that far). It’s a great way to meet people who love to play and develop (and sell) games!