• 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 / Tag: Experimental

Tag Archive for: Experimental

Event Dispatching in Java

Category: Quick Tips     |     Tags: API, Experimental, Java

My professional focus is on client-side development. For a recent project, I re-learned some substantial Java concepts and completed server-side coding.

During the project, I was surprised to find there is no native java event messaging (event dispatching and event listening). While some UI frameworks have a solution, the solution appears to be coupled to those frameworks.

So I created a custom Java solution to handle it. The system uses common Observer pattern and modeled it after the spirit of what is present in ActionScript 3.0. I used abstraction and interfaces so its fairly decoupled and flexible. Take a look.

Usage

public EventsDemo()
{

	// CREATE
	SampleEventDispatcher s = new SampleEventDispatcher();

	// LISTEN
	s.addEventListener(Event.EVENT_NAME, 		this, "_onEvent1");

	//TEST 'HAS'
	/*
	if (s.hasEventListener(Event.EVENT_NAME, this, "_onEvent1") ){

		//TEST 'REMOVE'
		s.removeEventListener(Event.EVENT_NAME, this, "_onEvent1");
	}
	*/

	// TEST A DISPATCH OF EVENT (IN A FAKE, TEMPORARY WAY)
	s.doDispatchTestEvent(new Event	(Event.EVENT_NAME, this));

}

public void _onEvent1 (Event aEvent)
{
	System.out.println ("	_onEvent1(): " + aEvent + " , " + aEvent.getType() + ", " + aEvent.getTarget()  );
}

It rocks!

Next Steps

  • Download the code and check it out! (See Member Resources)
  • Comment below with your thoughts.

Member Resources

'Free Member'-Only Content

You must be a 'Free Member' to see this content. With your access you will enjoy members-only content like this, HD video tutorials, and access to complete source code.

Ready To Join?
  • Sign up for 'Free Member' level now. Its free!
  • Sign up for 'Paid Member' level to enjoy much, much more! (Invite Only)
Already A Free Member?
  • Log in and enjoy!

Las Viditas – Comparing ActionScript 3.0 and 7 Rules for Biological Life

Category: RMC News     |     Tags: AS3, Experimental, Games

Las Viditas (The Little Lifes) is an exploration project which compares ActionScript 3.0 programming concepts and structure to the 7 criteria for biological life.

You can see the Live Online Demo. I originally presented this project on a fantastic 360|Flex sponsored 7-Day cruise in the Caribbean several years back. What a great event! Finally, its all available now online..

I always find it fascinating to compare the technical world and the biological world. There is even an area of technological innovation where engineers study animals to influence new robotics designs. Here is a great Ted.com video of Robert Full Learning From Gecko Lizards. In my simple demo I learned a lot too, and am inspired with many game ideas too.

See Screenshot

The ecosystem on the right is the “petri dish” where the green viditas grow and move. There intelligence guides them to eat the blue ‘food’ and bounce off the walls. As they eat, they grow. As they starve, they shrink. Too much time without food, and they will permanently die.

Experiment with the settings and see how the population’s survival rate changes.

The sliders on the left allow for several changes such as;

  • Simulation Speed
  • Viditas Population Size
  • Food regeneration frequency
  • Food amount that is created each distribution

Watch Slideshow



Next Steps

  • Run the Live Online Demo.
  • Download the full source code (See ‘Member Resources’ below).

Member Resources

'Free Member'-Only Content

You must be a 'Free Member' to see this content. With your access you will enjoy members-only content like this, HD video tutorials, and access to complete source code.

Ready To Join?
  • Sign up for 'Free Member' level now. Its free!
  • Sign up for 'Paid Member' level to enjoy much, much more! (Invite Only)
Already A Free Member?
  • Log in and enjoy!

Free Member Login

You are not currently logged in.






» Register
» Lost your Password?

Support Our Sponsors

Category

  • Industry News
  • Standards & Best Practices
  • Full Tutorials
  • RMC News
  • Events

Tag

3D AIR API AS3 AS3.5 Business C# Debugging Experimental Flash Flex Games HTML5 Java Loom Mobile Optimization Project Planning PushButtonEngine Robotlegs Smash Unity3D 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

I Am Great!

   

Latest Portfolio

  • Live Media Steaming ApplicationMay 20, 2013, 5:06 am
  • Museum Kiosk Touch ScreenNovember 15, 2012, 9:00 pm
  • Happy Birthday Mobile AppMarch 14, 2012, 5:55 pm
  • Official Robotlegs MVCS DiagramFebruary 24, 2012, 1:36 am

Latest News

  • Unity3D Top 5 News AnnouncementsMay 24, 2013, 3:10 am
  • Tutorial Series: Unity3D / C#May 24, 2013, 1:14 am
  • Intro to Loom Game EngineMay 19, 2013, 6:48 am
  • Unity3D for Game DevelopmentMay 13, 2013, 4:25 pm

Latest Tweets (@srivello)

  • ARTICLE LAUNCHED -- Introduction to Unity3D - http://t.co/20SisNxVPC
  • The internet in Kuala Lumpur at 6Mbps is a totally different product than at the typical 1Mbps of archipelagic Asia. http://t.co/EV010rXILx
  • Very inspired by the #XBoxOne. The presentation's focus on non-game features is both bold and a bit scary as a gamer.
  • 3 hours into my Centipede clone using #2DToolkit for #Unity3D http://t.co/5yWsMQvHEU

© Copyright 2006 - 2013 - Rivello Multimedia Consulting - Flash / HTML5 / Unity3D Game And App Development With Tutorials