Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, dr_panther), 730 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
lorikob361, LucasJoshua, Baklazhan, Hanky27, firatv
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Issues with animation blending #293339
10/10/09 19:17
10/10/09 19:17
Joined: Jul 2009
Posts: 39
Chile!
Renard Offline OP
Newbie
Renard  Offline OP
Newbie

Joined: Jul 2009
Posts: 39
Chile!
Howdy!, Iīm working on a 3th person shooter and Iīd really like to use smooth animations on my model, thatīs the idea of a 3th person game, isnīt it?
I have some issues with animation, can you help please?

Animating a model by parts, like, a "run" animation that moves only the legs, and a "shot" animation that moves only the arms, allows me to run and shot at the same time mixing the animations using lite-c, right? (I know how to do this, the question is the following:)

- Using this method I can blend BETWEEN animations, like "run" and "walk" interplorationg the scenes. right?
can you show me an example of interploration or blending between scenes?

- Can I interplorate between scenes WITHOUT using the animation by parts? if I create a "runshot" animation (and separated "run" and "shot" animations) can I interplorate that scene with "run" and so on? How? (Iīd apreciate some code example)

- I need a semi-lateral movement (W + A ó W +D on a WASD imput) iīd like to rotate the model a bit so a new animation scene isnīt needed, but i only get an endless rotating movement grin how can a increase or decrease the pan angle just a couple of grades to get this kind of movement?

- The last one; On the following function:

function bones_test()
{
my.pan -= 180; // face the player
while(1)
{
ent_animate(my, NULL, 0, 0); // reset all the animations
if (key_w)
{

run_speed += 3 * time_step; // increase run_speed; 3 sets the speed
ent_animate(my,"runl",run_speed,ANM_CYCLE);
}

if (mouse_left) // got to fire?
{
shot_speed += 9 * time_step; // increase shot_speed; 9 sets the speed
ent_animate(my, "sht", shot_speed, ANM_ADD); // animate the model (use "sht")
}

The shot animation is added to the run animation, but using ANM_ADD the shot animation isnīt cycled, itīs played only once. How can I cycle an animation that is ANM_ADDed to a previous one?

Thatīs all, Thanks very much in advance! my characters say thanks too


WRYYYYYYYYYYYYYYYYYY!!!1!!ONE!!11
Re: Issues with animation blending [Re: Renard] #293797
10/13/09 21:45
10/13/09 21:45
Joined: Jul 2009
Posts: 39
Chile!
Renard Offline OP
Newbie
Renard  Offline OP
Newbie

Joined: Jul 2009
Posts: 39
Chile!
Nobody?

Not even one out of 3?
baaww...
Here`s a little video with a movement test...

and please, help!
[video:youtube]http://www.youtube.com/watch?v=I0DeWm9beSs[/video]


WRYYYYYYYYYYYYYYYYYY!!!1!!ONE!!11

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1