• Home
  • Contact
  • Careers
  • Socialize With Us:
  • Send us Mail
  • Follow us on Twitter
  • Join our Facebook Group
  • /
  • Linkedin
  • /
  • Vimeo Videos
  • /
  • Youtube
  • /
  • RSS Feed
  • Search Site

  • About UsAwards & Bio
  • PortfolioOur Latest Work
  • TrainingTips & Tutorials
  • BlogGreat Articles

You are here: Home / 2011 / April

Archive for month: April, 2011

Add Preloader To a 1-swf AS3-Only Project

Category: Quick Tips     |     Tags: AS3

For a recent project, I had the need for a swf to ‘load itself’. This is challenging in an AS3-Only Project because all code and compile-time assets are baked in, and baked-in to ‘frame 1′ of the application. Flash can’t show ANYTHING until all filesize for frame1 is loaded.

Solution? – The (un)documented Frame Metadata Tag. Thanks to Keith Peters’ bit-101 for background info. I’ve created a great demo that is simple to follow.

FYI – This is basically how Flex works, showing a preloader before it loads (in a 1-swf setup).

UPDATE

If you want your ‘SystemManager’ class in this demo to be more configurable. Consider using ‘Custom Compiler Arguments’. See this post.

Next Steps

  • Checkout the sourcecode (See ‘Member Resources’ below) for a simple example.

Member Resources

[private_Free member]Enjoy this members-only content!

  • Download a FDT 3.x FrameTagMetadataDemo project containing all files. For Flash Builder, create a new project, unzip the download and drag in the files.

[/private_Free member]

Using Embed & AssetManager for Flash/Flex Workflow

Category: Quick Tips     |     Tags: Flash, Flex

A good designer-developer workflow is incredibly powerful in Flash Platform Development. Isolating the ‘art’ from the ‘code’ will allow both parts of your project to progress with limited dependence on the other. This will lead to more innovative ideas, a more flexible project, and less headaches for staff.

There are many ways to incorporate your assets into a Flex (or AS3-Only project). Run-time loading reduces the footprint of your primary swf, but compile-time assets are more straightforward to implement and deploy.

For my projects (often AS3-Only projects authored OUTSIDE of the Adobe Flash CS5 program), or Flex 4.x projects – the assets are created in Flash CS5 and imported at compile-time.

The Flash ‘Embed’ tag handles this. There are many flavors of this. What I like is to have one fla generating one swf, that contains linked symbols (MovieClips and Sprites). I extend ONLY MovieClip and Sprite within Flash. For custom classes, I’ll make the connection between the code and the asset outside of Flash FLA. This reduces the ‘code’ that is in the faces of your artist, and reduces any programatic reason to open the Flash FLA. Thus, your artists can work in Flash-IDE and your developers can work not-in-Flash-IDE (Flash Builder, FDT, FlashDevelop, whatever…)

FYI, I use swf, not swc for one reason. The swc makes the assets available (in intellisense) in a global sense. I find that to be unnecessarily confusing. I like all the assets to be accessed only through the AssetManager class.

FYI, the AssetManager, is a nice buffer. Allowing you to have unique names for linkage in the FLA and Class names in the AssetManager (if desired). Over time, one can change without affecting the other, and without having to change code spread throughout your application.

Next Steps

  • See the sourcecode (See ‘Member Resources’ below) for a simple example project and assets file.

Member Resources

[private_Free member]Enjoy this members-only content!

  • Download this FDT 3.x AssetManagerDemo project containing all files. For Flash Builder, create a new project, unzip the download and drag in the files.
  • Download Flash CS5 Empty Assets Template File.

[/private_Free member]

Great HTML5 Games!

Category: Industry News     |     Tags: Games, HTML5

The ‘Flash Killer’ HTML has some impressive demos. I see a long future for both technologies. More on my 2-cents later. For now checkout some cool demos.

REQUIREMENTS

You need a HTML5-supporting browser. Most of the worlds browsers do NOT support this. The new FireFox 4+, Opera, and I.E. will work well. Test your browser here. http://html5test.com/

GAMES

Biolab Disaster

Biolab Disaster

While I’m far too young to remember 8-bit gaming in the 1980s, Biolab is a homage to those simpler but addictive titles from 20-30 years ago. The game is a space-themed platformer with colorful chunky sprites, great animation and sound effects. The developer, Dominic Szablewski, has also released the canvas-based library at ImpactJS.com.

Biolab is a fine game. In fact, it’s better than many released in the 80s so I’ve heard.

Crystal Galaxy

Crystal Galaxy

Crystal Galaxy is a sideways scrolling space shooter reminiscent of R-Type. However, the game’s unique in that the mouse controls the direction of the ship as well as its location.

Unusually, Crystal Galaxy doesn’t use the HTML5 canvas element. Every sprite is an individual HTML div moved around the screen. It works quickly in all browsers and is even playable in IE6! The authors at EffectGames.com also provide free tools and libraries to help you write your own titles.

Crystal Galaxy is fun, and you won’t be able to resist another go.

Canvas Rider

Canvas Rider

As you might expect, Canvas Rider is a version of Line Rider implemented using the HTML5 canvas element. The game is simple: you ride a bicycle over a series of obstacles to reach a goal – but the realistic gravity and physics make it a serious challenge.

What makes Canvas Rider more special is the online track editor and the thousands of tracks submitted by fans of the game.

Agent 008 Ball

Agent 008 Ball

Agent 008 Ball is a glorious-looking game of pool for one player. The objective is to pot as many balls as possible before the timer runs out.

Again, Agent 008 Ball uses the HTML5 canvas element, but it’s the photo-realistic graphics and real-world physics make the game stand out.

Pirates Love Daisies

Pirates Love Daisies

Pirate Love Daisies is a Tower-Defense-like game which pushes the boundaries of what’s possible with HTML5 and JavaScript. It was written by Flash developer Grant Skinner who was commissioned by Microsoft to create a game which showed off the new technologies in IE9.

Thanks to the original poster here. http://blogs.sitepoint.com/5-awesome-html5-games/

Tag

3D AIR API AS3 AS3.5 AssetStore Augmented Reality Business C# Charity Debugging Design Patterns DevDiary ECS Architecture Experimental Flash Flex Game Design Game Design Prototypes Games GUI HTML5 Java Loom Mobile MVCS Architecture Optimization Project Planning PushButtonEngine ReactiveExtensions Review Robotlegs Smash Testing Unity3D UnityApplicantTest WordPress WordPress Plugin

Brazilean Developers

  • Abendita.com
  • dclick.com.br
  • dm9.com.br
  • Fellyph Cintra
  • IgorCosta.org
  • MonadaSolucoes.com.br
  • PossibleWorldwide.com.br
  • Unit9.com

Developers

  • Adobe Blogs
  • Ben Forta
  • Colin Moock
  • Enrique Duvos
  • Flash Mobile Blog
  • Jess Freeman
  • Kevin Hoyt
  • Lee Brimelow
  • Paul Trani
  • Quasimondo
  • Renaun Erickson
  • Ryan Stewart

Free Assets

  • Free Sounds
  • HasGrafics

HTML5 Games

  • Closure JS Library
  • Eloquent JS Manual
  • Game Framework – CraftyJS
  • Game Framework – EaselJS

Italian Developers

  • alchimedia.com
  • corlan.org/
  • creativesource.it
  • dimix.it
  • fabiobiondi.com
  • gnstudio.com
  • Interpreting-tech.com/bemobile/
  • leonardorisuleo.info
  • lucamascaro.info
  • mart3.org
  • mxml.it
  • nxn.it
  • pirosoft.it
  • Preload.it
  • sonnati.wordpress.com/
  • webgriffe.com

Products

  • Adobe.com
  • Amazon Kindle E-Reader
  • ElectroServer
  • F*CSS
  • Flash Development Toolkit (FDT)
  • O'Reilly PureMVC Book
  • Samsung Galaxy Tablet
  • Unity3D

RMC

  • RMC Consulting

Spanish Developers

  • Flash Adictos
  • HTML Cinqo
  • Tutoriales Flash

Tutorial

  • Active Tuts
  • AS3-to-Unity3D Training Videos
  • Doing 2D in Unity3D
  • Learning C#
  • Unity3D Tutorials

Unity3D Games

  • AS3-to-Unity3D Training Videos
  • Doing 2D in Unity3D
  • Learning C#
  • Matt Eley's Blog
  • Unity3D
  • Unity3D Tools
  • Unity3D Tutorials

Interesting links

Besides are some interesting links for you! Enjoy your stay :)

Latest Portfolio

  • Coins And PlatformsMarch 19, 2014, 6:04 am
  • Paddle SoccerMarch 2, 2014, 9:13 pm
  • Spider StrikeFebruary 21, 2014, 4:19 am
  • Custom Game System APIJuly 8, 2013, 8:05 am

Latest News

  • RMC Primer: Everything Virtual Reality (VR)September 3, 2016, 10:29 am
  • Unity3D Architectures: EntitasJuly 29, 2016, 11:15 pm
  • RMC Primer: Get A Job In Game DevelopmentAugust 19, 2015, 10:18 am
  • Unity UI: Overview – Part 1 of 3December 10, 2014, 9:55 am

Archive

  • September 2016
  • July 2016
  • August 2015
  • December 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • December 2012
  • October 2012
  • September 2012
  • July 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • October 2011
  • September 2011
  • August 2011
  • June 2011
  • April 2011
  • March 2011
  • January 2011
  • December 2010
  • October 2010
  • September 2010
  • April 2010
  • March 2010
  • January 2010
  • October 2009
  • August 2009
  • June 2009
  • May 2009
  • April 2009
  • January 2009
  • December 2008
  • November 2008
  • August 2008
  • May 2008
  • April 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • August 2007
  • May 2007
  • January 2007
  • October 2006
  • April 2006
  • March 1999

© Copyright 2006 - 2023 - Rivello Multimedia Consulting - RMC by Samuel Asher Rivello