
What we want to happen is that when the baby hits a battery then the babies animation will change to one that has him sucking on the battery. When this happens I want to disable the movements of the battery and hide the actor and when the animation is finished it will all turn back on. The same code applies to that as the movement. If the babies x is greater than the batteries than play left sucking animation.
But something has gone wrong with this. Whenever the baby hits a battery both the baby and the battery will disappear. I have no idea what is going on with this and it is really frustrating me. I am trying to get it to work. But if it doesn't work we have decided to make it that the baby just dies and then will go to a kill screen for the baby. Hopefully we can get it to work before the final hand in.
No comments:
Post a Comment