Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
0 registered members (), 631 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
simply animation #146331
08/07/07 03:45
08/07/07 03:45
Joined: Aug 2005
Posts: 390
Florida
O
oldschoolj Offline OP
Senior Member
oldschoolj  Offline OP
Senior Member
O

Joined: Aug 2005
Posts: 390
Florida
anyone know how to play two animations if you press a button or move, one right after the first. The first animation will not loop. The second loops over and over. Only vertex animation though.

Thanks!


you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe. __________________________________ yours truly
Re: simply animation [Re: oldschoolj] #146332
08/07/07 04:25
08/07/07 04:25
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
i suppose you could have a BOOL (or var if you don't want to be too fancy ) called "beginning" or something. when no movement buttons are pressed, "beginning = 0". when you run, have an if statement which will run the first animation if "beginning == 0" and the second animation if "beginning != 0". within the if statement for the first animation, if you reach the end (or near the end) of the first animation, beginning = 1. then the next frame the model will continue with the second running animation.

i hope u know what i mean, i don't have time to sit down and code atm.

btw in this post i assume you're goal is for your character to have a smooth transition from not-running to running, or something similar.

julz


Formerly known as JulzMighty.
I made KarBOOM!
Re: simply animation [Re: JibbSmart] #146333
08/07/07 05:53
08/07/07 05:53
Joined: Aug 2005
Posts: 390
Florida
O
oldschoolj Offline OP
Senior Member
oldschoolj  Offline OP
Senior Member
O

Joined: Aug 2005
Posts: 390
Florida
well thats easy if you jsut want to interpolate from walk frames to run frames or any other animation to another one. But i don't want to do it automaticly. I have created animations for the transition, because of the complexity o fthe models. So essentially every movement animation is two animations, a one shot intro, and then the actually animation, or looping animation. I also need this problem solved for another reason. Sometimes animations need to change to another animation after a while. For instance if you stand still for 20 seconds, you should do another animation loop once, and then back to standing. I coulnd't find any information in the manual for direct frame manipulation for Lite-C, only animation blending through interpolation, and vertex to bones. It's odd that it isnt there, because it should be.


you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe. __________________________________ yours truly
Re: simply animation [Re: oldschoolj] #146334
08/07/07 07:04
08/07/07 07:04
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
i don't see how my idea doesn't solve your problem, sorry.

julz


Formerly known as JulzMighty.
I made KarBOOM!

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