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.

Dark GDK / miko animations won't play?

Author
Message
Wikaman1
16
Years of Service
User Offline
Joined: 17th Aug 2008
Location: Scotland
Posted: 3rd Dec 2009 21:18
I'm just trying to get the walking animation for the miko sample model to play but it's not working for some reason...surely just a stupid mistake but I can't see it. I put this in front of the main loop but nothing happens...



the program has a lot of code so I wont post it up here..can anyone think of why this is happening?
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 3rd Dec 2009 21:36
too slow, it is moving but really slowly, you can set the speed to 10000 instead, and see what happens

Wikaman1
16
Years of Service
User Offline
Joined: 17th Aug 2008
Location: Scotland
Posted: 3rd Dec 2009 23:15
nothing as far as I can tell, it still looks the same...I can't think what else would cause it not to play...
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 4th Dec 2009 07:49
oh wait, do you have that code inside a loop? if so, it wont play. try putting it outside the loop

Outscape
16
Years of Service
User Offline
Joined: 23rd May 2008
Location:
Posted: 4th Dec 2009 15:09
put something like

if (dbObjectPlaying(object) != 1)
{
dbPlayObject(object);
}



Wikaman1
16
Years of Service
User Offline
Joined: 17th Aug 2008
Location: Scotland
Posted: 12th Dec 2009 21:54
ok so I got it working for when I put:



the animation plays but I only want the walking animation so I change it to



and the animation doesn't play..

any idea why??
Wikaman1
16
Years of Service
User Offline
Joined: 17th Aug 2008
Location: Scotland
Posted: 12th Dec 2009 22:24
wait I worked it out...for some reason the animation frames in the text document were all wrong..
Matty H
15
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 13th Dec 2009 02:19
Do you think anyone would be interested in a player plug-in that moves and animates all the models you get with DarkGDK with just a few commands?

I am working on this, if people think this could be useful I will put in a few extra hours to tidy it up and document it with examples etc.

Once you add the player class to your project you just do something like this.

Declarations:


Loop:


The only other requirement is you put a data file which I would provide in the same folder as your model.

Lots of people have probably written stuff like this but I'm not aware of anyone making it available.
Outscape
16
Years of Service
User Offline
Joined: 23rd May 2008
Location:
Posted: 13th Dec 2009 03:11
Quote: "dbPlayObject(2,84,101);
dbLoopObject(2,84,101);"


dont use loop and play
loop means itll keep repeating 84-101 for ever.

now play object sets it to 84 then plays till it hits 101

so basically your animation is stuck at 84

remove loop object and add the code snippit i said before



Login to post a reply

Server time is: 2024-10-01 20:33:02
Your offset time is: 2024-10-01 20:33:02