^

Saturday, November 12, 2011

Create Animated Cursor in Flash


Hello again guys... Now, Piqosoft Fire Creature is working on Educational Game Project : Mathquest Story - Combinatorics, and i have the busiest day ever. This game is developed by Fari Qorik, for her final assignment. When this project is finish, Piqosoft will proudly release this game to the Net.

I'm not release full source code, because it reaches 100 mb++, very big file, and waste of time to upload it. I'll share my experience from this project to you all.



Now, I want to share how to create animated cursor for your flash game. Before you read all of this post, you can only download the source code here (Flash CS5 file):
www.FireCreature.com_CreateAnimatedCursorCS5.fla
And this is the demo:
www.FireCreature.com_CreateAnimatedCursorCS5.swf


How to Create Animated Cursor in Flash?
  • Create new Flash file.
  • Create 3 Layer : Script, Cursor, and Main.
  • Create New Symbol : Movie Clip - Name: animated. Design your animation cursor here, with Tween, or Motion Guide.
  • Create New Symbol : Movie Clip - Name: mouse_move. Place your animated movie clip here.
  • Now you have 2 item in your Library.
  • Place mouse_mov to the stage in layer cursor and name it with mouse_mc.
  • You can place your main content in layer main.
  • Now click frame in layer script, and press F9 to open Action window.
  • Place this code:
_root.onEnterFrame=function(){
 Mouse.hide();
 mouse_mc._x=_root._xmouse;
 mouse_mc._y=_root._ymouse;
}

I hope this can help you to create your own animated cursor for your game.

Keyword (Indonesia) : membuat cursor bergerak di flash, membuat animasi cursor di flash
Image : clker.com

1 comment:

  1. Great article! Technology is a boon which has indeed sorted our lives into more coherent and systemized manner.

    ReplyDelete