Home Download Support About us Contact us  
 

FAQs

1   In Motion Welder i keep hearing "image clips". What is Image Clips?
2   How to create Image Clips in Motion Welder?
3   What is .asd file?
4   How to export Animation from Motion Welder to my j2me game?
5   what is .anu?
6   What is Motion Welder Library?
7   What is the use of AXIS when i design my animation?
8   What is .cpl file, and how to use it?
9   In Motion Welder Library , why are there two version of player to play animation, MSimpleAnimationPlayer and MSpriteAnimationPlayer, and which one to use?
10   How to automatically align frames, in Motion Welder?
11   Why i have to load image separately using MSpriteImageLoader, while loading animation in my game?
12   How do integrate collision detection mechanism with my sprite. What is PositionerRect?
13   I am not having full version, from where can i get it?

 
Q In Motion Welder i keep hearing "image clips". What is Image Clips?  
  Image Clips are nothing but a small part of image which forms a part of frame. For optimized use of storage and heap, graphics artist generally clump all image parts in a single image. As shown below.
Game developer use this image clips to form a complete frame, and build a animation for set of frames.
Motion Welder helps graphics artist to create animation out of such image clips.
 
     
Q How to create Image Clips in Motion Welder?  
  Image clips is nothing but a part of images which forms a part of frame. Graphics artist can load an image in Motion Welder and drag over it to form a clip rectangles, which can be used as a part of animation.
Have a look.
 
     
Q What is .asd file?  
  .asd is workspace file for Motion Welder, which save your project, so that you can resume your work from where you left off.  
     
Q How to export Animation from Motion Welder to my j2me game?  
  Once a designer plots a animation on Motion Welder, that animation can be exported to .anu file using Export Animation feature(File->Export Animation Binary), This animation file (.anu) can be read using Motion Welder libraray(motionwelder.jar)  
     
Q what is .anu?  
  .anu is compressed binary animation file which contains information about frames and animations,This animation file can be loaded using Open Source Motion Welder library(motionwelder.jar) which is provided along with the release.  
     
Q What is Motion Welder Library?  
  Motion Welder library (motionwelder.jar) is set of few classes and interface which is used to load .anu file, and gives developer an abstract view, to handle animation. It provides developer an easy way to handle animation hiding out details /complications.

Have a look at code snippet:
MspriteData data = MspriteLoader.load("/prince.anu");
MSimpleAnimationPlayer player = new MSimpleAnimationPlayer(data, 10,10);

// set animation
player.setAnimation(ANIMATION_WALK);

// sets how to loops this aniamtion
player.setLoopOffset(0);

// update and draw
player.update();
player.draw(g);

 
     
Q What is the use of AXIS when i design my animation?  
  AXIS is used to mark a reference point for a animation/frame. Position of animation on canvas, is attributed by developer, and this position is mapped to AXIS of animation and frame is rendered accordingly. If you are new to this, you might find it bit difficult, but it is not.
Have a look below .
 
     
Q What is .cpl file, and how to use it?  
  .cpl is the Image Clips file, so that one can export clips from one workspace to other. To import .cpl file, right click on Clips Image, and select Import Option.
Another usefull advantage of .cpl file is to store coordinates of character in a font file. Here is how you achive that.
Create .cpl file and store coordinates(X, Y, W, H) that your need, as you might not need all the coordinates.
For example, in your font strip, all the characters have constant height, so you just need to store (X, Y, W), and similarly check for other cordinates and optimise it.
Use MCPLReader to read .cpl file.
 
     
Q In Motion Welder Library , why are there two version of player to play animation, MSimpleAnimationPlayer and MSpriteAnimationPlayer, and which one to use?  
  Both MSimpleAnimationPlayer, and MSpriteAnimationPlayer are used to play animation, but only diffrence is the way they interact to play animation.
(I) MSimpleAnimationPlayer player = new MSimpleAnimationPlayer(animationData, x,y);
(II) MSpriteAnimationPlayer player = new MSpriteAnimationPlayer(animationData, mycharactersprite);
In (I) player accepts animation, and ask for where to play that animation, where as in (II), the location, orientation etc is pulled from mycharactersprite (MSprite) object.
In case where there is no requirement for a class for a sprite, use of MSimpleAnimationPlayer is preferred. And case where you have class for a sprite, use of MSpriteAnimationPlayer is preferred.
 
     
Q How to automatically align frames, in Motion Welder?  
  Two type of alignment is supported in Motion Welder.
- Align frame at one fixed axis.
- genarelly used for animations which is performed at it's place, like stance
- Align frame at fixed gap (vgap, and hgap).
- geneally used where motion is required to perform animations like run.

To use alignment, right click on ur frame, and select Align Frame.
 
     
Q Why i have to load image separately using MSpriteImageLoader, while loading animation in my game?  
  Motion Welder does not integrate images along with animation, and give freedom to developer, to select his own way of loading Images. As many developer prefer to load it directly from res folder, and some by mixing data and palette, or some would prefer to load it from lump of binary file of resource.
An interface MSpriteImageLoader in motionwelder library is used to load image. Please refer example/doc for more detail.
 
     
Q How do integrate collision detection mechanism with my sprite. What is PositionerRect?  
  Motion Welder provides unique way to mark a positions on a sprite, which can be read in using player class, while playing animation. This helps developer for collision detection of that sprite with other object. You can mark multiple position on a frame.
For how to use it, refer documentation and example.
 
     
Q I am not having full version, from where can i get it?  
  Motion Welder is free tool, write us at support@motionwelder.com to get the full version.  
     

 

Post your Question:
Email-id:
Subject:
Query:
   

 

   
© Motion Welder 2007. All rights reserved