2 Attachment(s)
Legend of Zelda spin attack/push
Hi all,
I'm currently making a Legend of Zelda game. In the game, link (the main character) does a charge up spin attack and when he pushes against a wall he does a push animation. Unfortunately the spin attack animation doesn't work if you mess around with the arrow keys while it is playing. Also I can't figure out how to make the push animation slower. Please edit my attachment and return it to me,
2 Attachment(s)
Re: Legend of Zelda spin attack/push
I've reformed the code a bit to be a bit neater. There were some wierd things in there ;)
By the way, why did you have 119 blue active objects lying around?
Re: Legend of Zelda spin attack/push
uhhh uhhh...lol sorry. Nice crappy crate btw. A lot easier code than Mecha Bowser also. One more thing... the little green guy you saw in my game... his name is Link not Zelda. Zelda is the princess Link usually rescues lol. It's kind of stupid I know since the game is called the Legend of Zelda not Link.
Thanks,
2 Attachment(s)
Re: Legend of Zelda spin attack/push
Oops. Sorry to bother you raytrace, but while transferring files I got a bug in the code and I can't find it. Link does a jumping animation instead of Charge-up Standing 2. If you delete the jumping animation, it switches to Charge up Walking 2. Btw the 119 blue objects are in this one too. Sorry. I can't figure out how to delete them lol.
Re: Legend of Zelda spin attack/push
If you click on one of the blue objects you can change its position on screen, currently its a big distance away. Just change its X position to 0, then it will appear on the frame allowing you to delete it
Re: Legend of Zelda spin attack/push
cool thanks still waiting for a reply from raytrace though.
Re: Legend of Zelda spin attack/push
Re: Legend of Zelda spin attack/push
The coding in the groups hasn't changed atall. Just copy and paste my code from the last file into your own.
I don't know how to change the keyboard controls (from shift to space) so in my example sword slash was shift
2 Attachment(s)
Re: Legend of Zelda spin attack/push
Well look at what Link does. If you hold down space bar, he does a jump for heaven's sake!
Btw to change the keyboard controls you click once on the title of the application which in this case is "Legend of Zelda". Go under runtime options scroll down and click edit (left of default controls). Under row keyboard column 1 (aka player 1) there should be an X. Click on the X once (not twice) and then click on Button 1 once. Then type in a key or press ESC to cancel. There you go. My most generalized directions I have ever written. Btw there still is an animation bug and here is the updated version (without the hundred of active objects and with the detector objects invisible)! HELP!
2 Attachment(s)
Re: Legend of Zelda spin attack/push
I get the feeling of a "replace by another object" function bug here. The bug seems to be that it does not rename the animations properly in the actions when swapping objects. :(
Here is a file where I have reassigned all the "change animation" actions.
I note you added up and down directions so I did the up and down movements while I was at it. ;)
Re: Legend of Zelda spin attack/push
Wow thanks! That was quick! Is it possible to make up left and up right etc. animations? Up left is either the left or up animation depending on the initial direction. For example, if you go up at first and ease on the left while still holding up, it does the up animation still but goes in an up left direction. Also, sometimes if you push the left arrow and you are close to a crappy box below you, it does push left. The push animation is still off heh... A little too much? This might take a little longer to do. Should I get somebody else to do this raytrace?
2 Attachment(s)
Re: Legend of Zelda spin attack/push
It is possible to change directions whilst holding onto other arrows. Infact it is much simpler that way. Example below.
Quote:
The push animation is still off heh
No... It works fine
Quote:
A little too much?
No... it's easy
Quote:
Should I get somebody else to do this raytrace?
Nope. :)
Re: Legend of Zelda spin attack/push
lol ok... Check the push again though... Hmmm how am I going to explain this?... Go to the topmost crappy crate and push down against the top of it (the down arrow of course). Then let go of push. Then without touching any other buttons, push the left arrow button down. He will end up doing a push downward. He should be walking to the left instead... Also, when you push left and down or right and down etc. at the same time, his movement stops but animation still plays. His movement should continue in a up right/down left/etc. direction along with the walking animation. You see what I'm saying?... This game is kind of hard to make so take your time lol.
Re: Legend of Zelda spin attack/push
Nearly fixed. I still need to do the movement
Re: Legend of Zelda spin attack/push
Cool Thanks. Surprised you can figure it out. Its like impossible for me to do it lol.
2 Attachment(s)
Re: Legend of Zelda spin attack/push
Here's the finished version.
Re: Legend of Zelda spin attack/push
This is the exact same application as the last one you gave me...
Re: Legend of Zelda spin attack/push
wha? where on earth did I put the finished version
Re: Legend of Zelda spin attack/push
rofl Hope you didn't delete it.
Re: Legend of Zelda spin attack/push