Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Enhanced Animations help

Author
Message
Daniel wright 2311
User Banned
Posted: 30th Aug 2010 22:28
ok, so I decided to use the Enhanced Animations plugin i bought a long time ago. I have everything working fine but there is one problem i did not see coming. when My animations are transiting from one to another its take to much time. so when I press the upkey to walk my third person player starts to move before the animation plays. Im using sparkys col so changing the values to when i move my player to Enhanced Animations is something that cant be done by me anyhow. is there a way to play the animation first before I move my player. thanks

James H
19
Years of Service
User Offline
Joined: 21st Apr 2007
Location: St Helens
Posted: 31st Aug 2010 01:33 Edited at: 31st Aug 2010 01:42
Quote: "so when I press the upkey to walk my third person player starts to move before the animation plays"


Quote: "is there a way to play the animation first before I move my player"


Are you for real???? Having read many of your recent posts I can`t help but wonder if you are "biting off more than you can chew". Forgive me(please) if that sounds offensive, but your post is what is known as Oxymoronic, that is to say what you have stated is condradictve in terms...

EDIT - ignore me - I misread your post cos I been drinking! I cannot hide what I posted from the mods so it would seem only fair I dont remove what I already typed. Just check what frame is playing and dont action any charactor movement until a certain animation fram is played. Hmmm - I`m probably gonna regret switching on my computer whilst drinking!!! One agian I apologise for my own par in this
Daniel wright 2311
User Banned
Posted: 31st Aug 2010 02:11 Edited at: 31st Aug 2010 02:17
@James H
lol thats ok, so anyhow, i cant do

m#=object frame(203)

if m#>=20
move object 2
endif

remember Im using sparkys, now sparkys moves my object and is in a difrent function all together.i guess i can try this in sparkys code but i do not think it will work.

edit:and just becouse i asked the inc question does not make me stupid, it makes me blind is all.I trully never had to inc anything before.

baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 1st Sep 2010 15:04
Why not just speed up that particular animation?


Daniel wright 2311
User Banned
Posted: 1st Sep 2010 16:04
I tryed this and it just looked real bad as my players walk animation was to fast, i even uped it just a little and i could not time it at the same time. Enhanced Animations also messed up my limbs warping the arms of my player. I decided not to use it after all.

baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 1st Sep 2010 16:14
I got it working quite well once with a game I started but I think I actually just made the movement speed suit the animation. It looked pretty good in the end.

Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 1st Sep 2010 17:11
You could have your movement speeds smooth out, might be enough just to use CURVEVALUE, as that means from a stand still, your character will ramp their speed up to normal, but it could take a second, you'd fine tune the speed changes with that last parameter in CURVEVALUE.

I find that this makes the characters much more responsive - especially if your using an analogue controller. An XBox 360 controller for instance along with CURVEVALUE will make for some really smooth and responsive movement, and there's practically no code to it - you can work out the speed with 1 line of code.

Health, Ammo, and bacon and eggs!

Login to post a reply

Server time is: 2026-07-23 12:10:48
Your offset time is: 2026-07-23 12:10:48