Archive for the ‘ActionScript’ Category

ByteTween suggestion

Wednesday, March 18th, 2009

This is more like a request from me…

I have some plans for ByteTween future modules…

They include:

- Filters tweens (glow,blur color matrix,…)

- Curve tweens (already have CatmullRom, CubicBezier,… classes)

- String tweens

But after that I think I’ll be out of ideas… So I’ll ask for you people who access this blog to suggest some ideas here in the IssueTracking system of the code.google interface… Use the tag “[wishlist] your idea” and put some ideas for future modules for ByteTwee… Maybe I’m skipping something important so its good to listen for suggestions :)

ByteTween Wishlist

ByteTween update!

Wednesday, March 4th, 2009

Hey!

Just to notify a new version of ByteTween… It was necessary because some bug fixes it needed, but I also added two new modules (GradientRGB and ARGB) and the ShortTween class that can be used to shortcut some common tweens (x,y,alpha,rotation,scale…).

Check it here!

 TheLaboratory - ByteTween Project

 Thanks !!

ByteTween upgrade..

Tuesday, February 24th, 2009

I swear this is last one for a time :)

ByteTween now goes v1.2 ! The main tween features are pratically the same. But now you can insert it in Modules and control the swf size as you wish.

This is it for now for ByteTween… I’ll add new features as modules now and make a bigger update later!

Expect the launch of MotionPack soon too. A tween system with the basic tween function you need and classes that allow you to create your own tweens as you like. Easy to use… endless possibilities!

The.Laboratory - Tween

I expect to finish Litr Project too. So head to the new code.google page in order for news about tweening code.

I expect to translate to english my course about BitTricks I made on Adobe User Group Rio Grande do Sul . People actually liked it! :)

After working on it I expect to finish my next projects but they will take a lot to be released as they are a bit complex to make really good. They are:

+ 3d Rendering system.

+ Physics simulation.

Thanks!!

thelab tween project + ByteTween v1.1 @ 1.2Kb !!

Saturday, February 21st, 2009

Not much in the mood for long posting :)

1) Is now UP the official googlecode page  of ByteTween class and the soon-will-be-released TheLaboratory MotionPack!

2) ByteTween class also updated to the v1.1. Now it has a good feature set (alpha+visibility,scale,color(new),frames(new)) and.. what?.. it’s smaller even with new functionalities! The compiled source uses only stupid 1.2Kb of memory :).

3)Please Enjoy!

The.Laboratory - Tween

Ridiculously SMALL Tweening Class

Wednesday, February 4th, 2009

Yo!Before launching the official Tweening Package (with proper Interfaces and classes to implement any kind of tweens, and of course with the default Basic Tweening classes).After 4 tween engine implementations I can say I acchieved sort of state of art in tweening matters. With past experience I:Found a class pattern that makes the tween system expandable to any kind of tweens (and can be implemented in virtually any language - actually I perfectly ported this to C#).Created a way to compact all Transition functions in order to reduce file size.Simplified the engine a lot in order to make the update operation as fast as possible.The result of this (besides the package) is a stupidly small tweening class!!The ByteTween static class eats only 1.7Kb of compiled clip! WIth this size it supports:

  • Creation of tweens of any numeric property (not color/uint propperties).
  • Pause,Unpause,Cancel operations based on the tween target and property.
  • Overlap system that cancel tweens of same property in order to avoid erroneous behaviour
  • Alpha tween with negative alpha support (negative alpha sets the MovieClip visibility to false)
  • ’scale’ tween of both ’scaleX’ and ’scaleY’ properties.
  • OnComplete callback with any number of parameters
  • Easy interface for creating new tweens!

The source file of ByteTween is in the Google Code of the Lighter project. In a few days I’ll created a proper project to all new classes that will come up!Together with the source you can find a ExmpleFile to see the creation of a simple tween!

GoogleCode Lighter Project

 ** Edit: I didn`t have much tim to test 100% this code. I have strong belief that it`s perfect but any issue report in the code.google interface!

Unity3d <-> Flash/HTML Integration

Wednesday, December 24th, 2008

Hey!

So much time passed since my last post that I changed my job, started learning Unity3d and helped in the creation of a integration tool for Unity3d-Flash-HTML… :D

Well first things first. My new salary-provider-ambient is the Aquiris Game Experience game house. Between Call of Duty 4 matches we develop some nice webgames using the newcomer Unity3d webplayer plugin.

Aquiris Logo      Unity3D Logo

Some of our titles are shown in this post of DrawLogic Blog.

In our site is the list of games we developed so far (actually before I entered Aquiris :) )

My main roll yet is Flash develop (no I didn’t drop my AS3 curriculum) . I’ll create the microsites for the games being developed. If there is no microsite, then vacation…

Nah.. I’d wish.. :D

With no microsite I’ll help with the Unity3d develop in a more technical way. I have some knowledge in shader programming (HLSL, GLSL, …) that have similarities with the shaders used in Unity3d and some experience in creating frameworks. So I check all things developed in the projects so far and try to make some generics classes and project specs that will fasten the develop time for future projects.

In the meantime I’ll try to learn Unity3d for real in order to help directly in the games being developed.

One of my first projects (developed together with the team) is the Unity3d Integration Kit. It’s a set of tools that aims to simplify the embbeding of Unity application in HTML and it’s communication with any Flash/AS3 that is in the same Page.

U3dObject Logo

If you interested. Be sure to download it and report any bug found!

If you have some ideas use the code.google API and suggest some crazy ideas for us! We will try to improve it in the next versions!

Right now I’m in the middle of  developing my personal framework that will help my freelancing work a bit faster. And a subset of this framework is my Litr class. I finished the core and now on top of it I’ll put my past experience in Litr and some AS3 underground tween system I created to make the last tween application.

I expect that in the early 2009 I’ll have a working version of it!

Merry Christmas for All you!!

Pixel Bender Focus Filter

Monday, May 26th, 2008

Hi!

This weekend playing around some minutes with Pixel Bender a came up with some filters… And occured to me to send them to Adobe Labs and share with people what I’ve done… Considering that the exchange section for PB isn’t very populated I thought that I’d give a try…

So one of them got chosen by the the staff and is in the Download page for everyone…

This is the before-after result:

Before Pixel Bender

After PixelBender

The Pixel Bender Filter can be found here: 8-Image Focus Filter

Flash 10 Update!

Saturday, May 24th, 2008

Yo guys!

After this great release there are some news!

The great team that develops the FlashDevelop IDE came around with a solution in order to us mere mortals create content targeting the new FP10!

Check here in this link. FlashDevelop for Player 10

And not least you can grab the API documentation in this link: Flash 10 API Documentation

So as you can see…. No more excuses to avoid developing for player 10!!!

See ya!!

Flash Player 10 - Finally!!!!

Thursday, May 15th, 2008

Well good news folks!

Flash Player 10 beta version is out and kick’n!!

I read the new features that will be available for the next version of AS…

In this beto you can play swf generate with the new features like 3d rotations e custom filters. Yet we cannot develop anything with this features, but the eye candy is great!

I’ll list here some of the features that were anounced with this public release.

3D Effects - Fast and lightweight transforms will be available to use. Like we have “.rotation” atribute we’ll have now “.rotationX”,”.rotationY” and “.rotationZ” and they will work as their names said, the movieclip will be a 3d plane and will rotate around the specified X/Y/Z axis specified! This sure will be a great help to do fast 3d work, but I’m thinking some possibilities for real 3d like PaperVision. Bellow is the link for the video example.

Flash10 Video - 3d effects

Custom Filters and Effects - Besides it’s default filters like Blur,Shadows or even the Kernel filter… One can create really customized filters using a script-based api called “Pixel Bender”, the script looks like a “Pixel Shader” used in games and computer graphics. With this feature you can create effects just like most of the Photoshop filters like mosaic,distort and others!! Realtime Photoshop effects are now in our hands!!

Flash10 Video - Pixel Bender

Advanced Text Layout - Already tried to do a flash application in Arabic? or Chinese/Japanese? Well now this is possible thanks for the new Text Features that will be available in this version of AS. Vertical Text and Right-to-Left are not dream anymore… No more workarounds for multi-languages sites :)

Flash10 Video - Text Features

Enhanced Drawing API - Now the Drawing API will have a different form of customizing the lineStyle and other properties that will improve the drawing by “lineTo”. I don’t see any example of this feature… so I can’t tell much. But improvements for 3d draw will be available .. so I’ll trust Adobe :)

Flash10 Video - Drawing API

Visual Performance Improvements –Now comes the candy!! They said that animations will run smoother thanks to GPU Aceleration!! Finally we can use in a certain way the power of modern graphics cards! There will be a “special” HTML tag that will enable/disable the hardware aceleration. Pixel Bender filters will use this feature too! I’m looking forward to see this feature!!!

Flash10 Video - Visual Perfomance

Vector Data type –Now besides the Array class we will have another data structure that handle list of variables. The main feature of the Vector type is that it forces the data of it’s elements to be the same. Just like Java.. we will have “var list:Vector<int>” or something close to this!! This will improve a lot the speed of element access!!

For more detailed information… Take a read at the Release Notes

If you don’t have installed the Flash Player 10 beta… You can find it here: Flash Player 10 Download

If you already have the player. Check here the Flash Player 10 Demos

Well… Looking forward for this new step of Adobe!!

Later I’ll release my tween class As3 Version. In the last weeks I were testing it the much I can. The new tween will be faster just like tween-lite but really easy to extend like Go. I created a very straight-forward design pattern for it’s classes. For example… using the AbstractClass for tween that I created I could create the Basic Tween class that handle common properties of objects with just 60 lines of code!!!

For now that’s it!! See ya!!

Panoramic Made EASY!

Tuesday, April 15th, 2008

Hi!!

Today a new blog for digital photo lovers is released!

Dimension 360º

It’s blog that teaches in a really simple way how to take 360 degrees panoramic pictures and use it in a 3d
application made in AS3 !!

with a Flash application that I developed!

It’s a joint project with W3Haus from Brazil!

Just follow the simple tutorial in order to , in few minutes get a result like this!!

Try it out! And spread the news!!
Thanks!!