NAVIGATION:

 

SUPPORTERS:

FlashComponents
  Flash Templates
  Flash Gallery
  Flash Slideshow
  Flash Menu
  Flash Design
  Flash Video
  User Interface

 

FOLLOW:

RSS it down! Twitter it up! Facebook it like a fiend!

 

 

 

 


Basic
Movement - Example
         by senocular

So really, with the foundation I've created so far in the previous tutorials, there's no problem at all in translating basic movement in Flash to an isometric plane. Just code normally, then, when positioning on the screen, use the toScreen methods to translate an 'isometric' position correctly on the screen.

Along with this, toIso can be used to find out the position of the Clip on the screen and ultimately the grid space it occupies acting as a rudimentary hitTest.

See example:


Since this one has been lingering around since I made it, I am not sure if it uses anything new from what was previously discussed. If so, it'd be pretty basic and comprehendible or else I think I would have taken note to write more about it then (which I don't think I did!)

Oh, pressing and holding the mouse will allow you to control the direction of the ball a la diablo!

Download FLA

If you are interested in seeing how the above animation was done, feel free to download the source file.

Senocular

 

SUPPORTERS:

kirupa.com's fast and reliable hosting provided by Media Temple. flash components
Creative web apps. Make your own free flash banners and photo slideshows.
Check out the great, high-quality flash extensions. Buy or sell stock flash, video, audio and fonts for as little as 50 cents at FlashDen.

Flash Transition Effects

Flash Effect Tutorials

Digicrafts Components
Flash effects. Art without coding. Upload, publish, deliver. Secure hosting for your professional or academic video, presentations & more. Screencast.com
Streamsolutions Content Delivery Networks Flipping Book - page flip flash component.
Flash-Gallery.com - Get your flash photo gallery (flash component or swf gallery Learn how to advertise on kirupa.com
 

cdn
content delivery network (cdn)