The Daily Click ::. Forums ::. Klik Coding Help ::. weird issue with active object animations.
 

Post Reply  Post Oekaki 
 

Posted By Message

siven

I EAT ROCKS

Registered
  03/11/2008
Points
  604

Wii OwnerVIP Member
7th November, 2011 at 20:02:37 -

so i have an active object that has a gazzilion animations, one for each gun texture the character can hold. the weird issue is this... for some reason it just stopped making the SMG's animations change to smg's, and sometimes it happens with snipers too. theyre is nothing different from each of the animations, they are all exactly the same. even after ive deleted every single event from my game and left it with "upon pressing G change animation to SMG" and "upon Pressing F change animation to shotgun" it works when changing to shotgun, but with the SMG's it defaults to the first animation, which would be "stopped" but i have removed that one, so its the "fireball" pistol. Why is this happening? ive even remade the object and its still occuring. is this a glitch with mmf2? cuz there is literally nothing different from the smg and sniper animations from the other classes, and as i said.. 2 events in the whole project and its still happening.

 
[Game design makes my brain feel like its gonna explode.]

Windybeard Games



Registered
  14/04/2005
Points
  219

You've Been Circy'd!VIP MemberCandy Cane
7th November, 2011 at 20:14:10 -

hmm weird. How many animations are we actually talking about because that may be the issue. Im not aware of a glitch in MMF involving too many animations in one active however i know its not a good idea for file size and it may be just too big to work with.

I would suggest having the gun as a separate object and have it lock to the player depending on the gun, this would be a better way of dealing with loads of guns.

 
n/a

siven

I EAT ROCKS

Registered
  03/11/2008
Points
  604

Wii OwnerVIP Member
7th November, 2011 at 20:19:59 -

96 animations, snipers and smgs are the last on the list as well, if that means anything. each of them with full directional movement. this wasnt occurring before, it just randomly started happening. also, if i split it up between multiple objects locked to the character i would have to make TONS of lines of coding... i really dont want to do that seeing as this worked perfectly fine till just recently.

 
[Game design makes my brain feel like its gonna explode.]

Windybeard Games



Registered
  14/04/2005
Points
  219

You've Been Circy'd!VIP MemberCandy Cane
7th November, 2011 at 21:45:22 -

ahh ok, It may be an issue with event sequencing, take a look at the sequence that the events are placed in and make sure that everything looks uniform, it may be that you have added an event and it has messed up the sequence. Remember that MMF reads the code from top to bottom, it may be as simple as that.

 
n/a

siven

I EAT ROCKS

Registered
  03/11/2008
Points
  604

Wii OwnerVIP Member
7th November, 2011 at 21:50:00 -

but thats the thing... i removed all of the events except for 1 to change the animation to the smg and it still occurs, but if i change the event to say change to any other class of gun it works.

 
[Game design makes my brain feel like its gonna explode.]

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
8th November, 2011 at 01:46:16 -

You may have tried this already, but I would make a new game with nothing but that 1 object and try switching to that animation. See if that works.

 
n/a

Windybeard Games



Registered
  14/04/2005
Points
  219

You've Been Circy'd!VIP MemberCandy Cane
8th November, 2011 at 19:55:19 -

Chris makes a good point, if that works then there is something elese going on in your programme thats causing the issue.

 
n/a

siven

I EAT ROCKS

Registered
  03/11/2008
Points
  604

Wii OwnerVIP Member
9th November, 2011 at 17:28:09 -

So if that works than its the actual game file thats messed up? that would suck if i have to restart all my coding just to fix a stupid glitch like that... this has been almost a year and a half of work for me, kinda sucks if it all just falls apart for no reason.

 
[Game design makes my brain feel like its gonna explode.]

Lelle



Registered
  14/08/2003
Points
  82
2nd December, 2011 at 12:18:02 -

It might be as easy as a "loop" miss?
If it's a one frame animation, the animation changes back just as it starts if it doesn't loop, maybe.


 
n/a
   

Post Reply



 



Advertisement

Worth A Click