Month: August 2010

Aero Glass with AutoIt3

Posted on

I’m playing with AutoIt3 to make the background of some application transparent with the Win7 Aero Glass.

glass2.png

On this screenshot you can see a transparent cmd.exe made with Glass cmd.exe by Komalo, and XMPlay (with Flat II Indigo skin) using a modified Komalo’s script.

More information:

AutoIt forum – Real Vista Aero Glass

Flash Game with haXe

Posted on Updated on

I found this old draft and I thought: Time to publish. The new HaxeCodeBase is v1.4.

If somebody want to compile HaxeBaseCode-1.1.zip under FlashDevelop 3.0.0 or above (which include settings for haxe) then follow the above steps:

1. Download and install FlashDevelop and Haxe, Install them

2. Download HaxeBaseCode-1.1.zip and unzip to a directory named Scroll

3. Open the Scroll.hxproj under FlashDevelop

4. Edit the Res.xml and replace the line below:

<include file=”ScrollRes9.xml”>
with:
<library>
<bitmap id=”Background” name=”Background” import=”.\gfx\Background.png”/>
<bitmap id=”Blocks” name=”Blocks” import=”.\gfx\Blocks.png”/>
</library>

(copied from the ScrollRes9.xml without the <movie>)

5. Under the Project->Properties->Build change the Pre-Build Command Line to

“$(ToolsDir)\swfmill\swfmill.exe” simple Res.xml Res.swf

6. Press F5 to compile

To make animated tiles work change the following line in Layer.hx line 681:

curTile = ts.GetSequenceFrame (curSeq);
to
curTile = ts.getAnimationFrame (curSeq, timeCounter);

However GetSequenceFrame is a useless function, as it returns the n. frame from the n. sequence.