Wintermute Engine > Feature requests, suggestions

Add two important features about animations to the WME 1

(1/2) > >>

PetaGames:
Hi Mnemonic and other guys.


I would add two important features to the WME 1:

1 - Add rotation option to the SpriteEdit tools.
   Profit : Create complex animations without the use of many image - Faster performance the games

2 – Add GoTo() , GoToObject , … functions to Entity object.
   Profit : Moving objects to anywhere of scenes dynamically without having to make any pre-defined static animations.



Thanks

PetaGames:
Does anybody have any idea?

Mnemonic , Is it possible that this features be added to the same version of engine technically?

Thanks.

2.0:
I thought that is you are going to add them :)
Technically it can be made everything, and not only such improvements.
But I think that much simpler to make all of this by means of scripts.

PetaGames:

--- Quote from: 2.0 on April 19, 2013, 01:45:01 PM ---I thought that is you are going to add them :)
Technically it can be made everything, and not only such improvements.
But I think that much simpler to make all of this by means of scripts.

--- End quote ---

What is your scripting solutions about my request?
1- moving a entity to desired point of the scene.

2- how do you implement a animation that contains movement and rotation simultaneously?

thanks...

2.0:
1 - very rough ptototype, that moves Actor (and Entity too, when it needed) along a straight line, is here: http://forum.dead-code.org/index.php?topic=5401.msg30467#msg30467
For more complex moving it's need to slightly modify the algorithm, but all within the same script.
Also you can try to use the actor with the one sprite for all animations, for example.

2 - for applying some rotation, when the animation plays some frame, you can use FrameChanged event of the sprite, and check CurrentFrame attribute inside it's handler.
Roughly:


--- Code: WME Script ---on "FrameChanged"{  var FrameWhenRotatingBegins = 10;  var Entity = this.Owner;    if (this.CurrentFrame == FrameWhenRotatingBegins)    Entity.Rotate = 90;}


--- Quote from: PetaGames on April 19, 2013, 07:34:21 PM ---
--- Quote from: 2.0 on April 19, 2013, 01:45:01 PM ---I thought that is you are going to add them :)
Technically it can be made everything, and not only such improvements.
But I think that much simpler to make all of this by means of scripts.

--- End quote ---

What is your scripting solutions about my request?
1- moving a entity to desired point of the scene.

2- how do you implement a animation that contains movement and rotation simultaneously?

thanks...

--- End quote ---

Navigation

[0] Message Index

[#] Next page

Go to full version