MooTools PureMVC AsyncCommand

Kim Christiansen @ Jan 24 2011 12:04 pm

we are working alot with the pureMVC AS3 port. The AsyncCommand utility from Duncan Hall is a great addon for this framework.

As we started working with the PureMVC MooTools JavaScript port, we missed this awesome extension. That’s why we portet this utility for MooTools. You can find the sources on the pureMVC forum.

Duncan Hall developed the utility under the Creative Commons Attribution 3.0 License.


Happy Holiday Season

Alexander Funke @ Dec 20 2010 6:42 pm

We wish all of you a happy holday season and a happy new year.
See you in 2011 and turn the swag on!

Sincerely
Your BigSource Team.


Spherical coordinate system in ActionScript

Kim Christiansen @ Sep 21 2010 11:05 am

To understand the spherical coordinate system i created an example showing the change of the values phi and theta.
The coordinates can be retrieved from spherical coordinates (r, θ, φ) where r = radius, θ=theta and φ=phi by this calculation
pX = radius * Math.sin(theta) * Math.cos(phi);
pY = radius * Math.sin(theta) * Math.sin(phi);
pZ = radius * Math.cos(theta);

You can rotate the particles using the arrow keys.
Thanks to bit101 for the great minmalcomps.


BigSource Zarkov now supports Joa Eberts Apparat

Alexander Funke @ Jun 03 2010 6:22 pm

We are happy to announce that we have implemented a wrapper for Joa Eberts Apparat.
The following tasks are supported:

  • bigsource.apparat.reducer:  Apparat Reducer
  • bigsource.apparat.tdsi: Apparat Turbo Diesel Sport Injection
  • bigsource.apparat.coverage: Apparat Coverage
  • bigsource.apparat.concrete: Apparat Concrete
  • bigsource.apparat.stripper: Apparat Stripper

To start optimizing your swfs you have to download some things:

Apparat: http://code.google.com/p/apparat/
Scala: http://www.scala-lang.org/downloads
(Please check the Apparat website for infos about the needed version. Currently Scala RC3)
BigSource Zarkov: http://zarkov.bigsource.de
(Eclipse Updatesite: http://update.bigsource.de/beta)

After unpacking Apparat and Scala and installing the new version of Zarkov you can create the tasks.

Example

See content of build.properties in previous post.

<project name="Example 1" default="tdsi" basedir=".">

	<property file="build.properties" />

	<target name="tdsi">
		<bigsource.apparat.tdsi basedir="${basedir}" apparatdirectory="PATH TO APPARAT DIRECTORY" scala="PATH TO SCALA EXECUTABLE">
			<inputfile path="${swf.application.target }" />
			<outputfile path="${swf.application.target }" />
			<set7zpath path="PATH TO 7zip IF NOT IN $PATH" />
		</bigsource.apparat.tdsi>
	</target>

        <target name="reducer">
		<bigsource.apparat.reducer basedir="${basedir}" apparatdirectory="PATH TO APPARAT DIRECTORY" scala="PATH TO SCALA EXECUTABLE">
			<inputfile path="${swf.application.target }" />
			<outputfile path="${swf.application.target }" />
			<set7zpath path="PATH TO 7zip IF NOT IN $PATH" />
		</bigsource.apparat.reducer>
	</target>
</project>

As you can see, the new features are currently only available from the beta update. Your feedback would help to make BigSource Zarkov even better. Feel free to contact us.

Thanks to Joa for his great tool!!


BigSource Zarkov updated to 0.8.5.1

Alexander Funke @ May 24 2010 5:55 pm

Today we released a new version of the BigSource Zarkov Eclipse Plugin. There are some major changes that had to be done in order to simplify the exchange of projects and to have as less as possible external configurations.
So here are the major changes:

No Preference Pane in Eclipse Settings

we have removed the Pane from the settings. The flex SDK has to be set within the Build.xml. Every Bigsource Task has the attribute “sdk”.

Example 1 with property file

build.properties

flex.home	 = /workspace/flashlibs/flex_sdk_3.3

swf.application.class	= source/src/com/company/project/Application.as
swf.application.target	= deploy/swf/application.swf

swf.default.fps = 31
swf.default.width = 800
swf.default.height = 600
swf.default.bgcolor = 0x000000

build.xml

<project name="Example 1" default="compile" basedir=".">

	<property file="build.properties" />

	<target name="compile">
		<bigsource.mxmlc basedir="${basedir}" sdk="${flex.home}">
			<default_frame_rate value="${swf.default.fps}" />
			<default_background_color value="${swf.default.bgcolor}" />
			<default_size width="${swf.default.width}" height="${swf.default.height}" />
			<source_path path="source/src" />
			<file_specs path="${swf.application.class}" />
			<output path="${swf.application.target}" />
		</bigsource.mxmlc>
	</target>

</project>
Example 2 with property in build.xml

build.xml

<project name="Example 2" default="compile" basedir=".">

	<property name="flex.home" value="/workspace/flashlibs/flex_sdk_3.3"/>

	<target name="compile">
		<bigsource.mxmlc basedir="${basedir}" sdk="${flex.home}">
			<default_frame_rate value="31" />
			<default_background_color value="0x000000" />
			<default_size width="800" height="600" />
			<source_path path="source/src" />
			<file_specs path="source/src/com/company/project/Application.as" />
			<output path="deploy/swf/application.swf" />
		</bigsource.mxmlc>
	</target>

</project>

The same applies to bigsource.flashplayer (attribute “player”), bigsource.browser (attribute “browser”), bigsource.haxe (attribute “haxe”) and bigsource.mtasc (attribute “mtasc”) with different attributes than “sdk”.

General Bugfixes

  • corrected path for adt_package under Windows
  • added airtarget to adt_package (target as compiler option) for packaging dmg, exe and deb files
  • added more precheckings

If you have questions or feature request, feel free to contact us.


BigSource Zarkov Air Application released

Alexander Funke @ Mar 12 2010 4:23 pm

After checking out the new abilities of the Air 2 beta 2 Runtime, I decided to port the BigSource Zarkov Plugin to an Air Standalone application. I had to adopt the Ant Runtime, to ensure that your current build files will also work in the Air version. Because Ant has many tasks, I just adopted the base tasks of Zarkov in the first release. In future releases more tasks like “exec”, “echo”, “zip”, “copy”, etc. will be added. Fcsh support for the exec tasks (mxmlc or compc as executable) will also be added in future releases.

The first beta Version is avalibale for download. Feel free to test it.
- Windows
- OS X
- Linux (Debian, Ubuntu)

Screenshot of BigSource Zarkov for Air

BigSource Zarkov for Air

In order to run the application, you must have installed Adobe Air 2 beta 2 (Download). If you find bugs or have a feature request, please send an email to alexander.funke@bigsource.de. The application is currently released as Jobware. No warranty for malfunctions. I am happy about every feedback.


Poisson Disk Sampling in Flash

Kim Christiansen @ Sep 04 2009 12:53 pm

The Dev.Mag article inspired me programming a poisson disk sampler in ActionScript 3. The ActionScript version is based on the Bitmap.hitTest method. This allows the additional feature adding predefined seeding areas.
Another feature is the ability to add a image wich describes the size of the poisson points. The radius of the poissonpoint is defined out of the color of the image. A PerlinNoise image is a good example for a distance map.

This is an example with random sized drips. It has no hitmap and no distance map. If no distance map is added, the radius size will be a random value between radiusMin and radiusMax.

Here is an example with a hitmap and a uniform distance map. All poisson points have the same radius.

I made an editor where you can change the settings and different kind of hitmaps:

Feel free to download and play around with the source.
poissondisksampler.zip


FFK09 – Flash Forum Konferenz 2009

Kim Christiansen @ May 04 2009 11:46 am

ffk09We went to the FFK09 Flash Forum Konferenz to Cologne. We had a great time with some friends and interesting speakers. Here are some impressions of the FFK09.
Thanks to Marc Thiele and Sascha Wolter for the awesome conference. See you next year.

Homepage FFK09.
Impressions from Marc Thiele.
Impressions from Powerflasher.


Zarkov Speech at Flex User Group Hamburg

Alexander Funke @ Apr 07 2009 2:44 pm

Speech at FlexUGHHYesterday we presented our compiler wrapper PlugIn for Eclipse at the Flex User Group Hamburg in the rooms of pilot 1/0. We got a really good feedback for our product. So this was a great way to get whishes and to fill our FAQ. In the next time we will add some new stuff to our documentation and we are currently working on a rewritten version of Bigsource Zarkov with a lot more support creating compiler taks. Thanks to all who came , to the organisation team of the FlexUGHH and to pilot 1/0 for allocating their rooms. It was a great evening. The presentation and the sample project will come soon.


Zarkov Compiler Wrapper Update available (0.8.3.4)

Alexander Funke @ Jan 22 2009 3:55 pm

We have released a new version of the Zarkov Compiler Wrapper for Eclipse. It includes some Bugfixes and improvements. Take a look at http://zarkov.bigsource.de


Next Page »