Doing some basics...

Forum Home Forum Home > Construct 2 General > How do I....?
 Post Reply Post Reply
Author
254 Rep
Post Options Post Options   Quote baconstructor Quote  Post ReplyReply Direct Link To This Post Topic: Doing some basics...
    Posted: 22 Mar 2012 at 5:41am
Thanks for the fast response. :)

+ On key pressed Z
=> set player animation to "Start player animation" (from beginning)
How would I point it to "Jumping" afterwards?

The names seem to be fine, animation speed is at 5, and I have 7 frames of animation.
Back to Top

Moderator
28,562 Rep
Post Options Post Options   Quote Kyatric Quote  Post ReplyReply Direct Link To This Post Posted: 22 Mar 2012 at 4:42am
@baconstructor: you need to "Start" the animation to play it.
Make sure the speed is correct (>0) and that you have several frames in your animation.
Make sure the name of your animation is rigorously the same as the name you are "calling". Animation name is CaSe SeNsiTiVe.
Back to Top
254 Rep
Post Options Post Options   Quote baconstructor Quote  Post ReplyReply Direct Link To This Post Posted: 22 Mar 2012 at 3:55am
I'm trying to make a side scrolling platformer, with 8 way control.

I just imported my sprite sheet, and made a "Jumping" animation. But when I do

+ On key pressed Z
=> set player animation to "Jumping" (from beginning)

The animation doesn't begin. Nothing happens actually. Any ideas?
Back to Top

Moderator
28,562 Rep
Post Options Post Options   Quote Kyatric Quote  Post ReplyReply Direct Link To This Post Posted: 23 Sep 2011 at 2:39am
+ On key pressed UP
=> set player animation to "meleeattack" (from beginning)
=> set player angle to 270

+ On key pressed RIGHT
=> set player animation to "meleeattack" (from beginning)
=> set player angle to 0

+ On key pressed DOWN
=> set player animation to "meleeattack" (from beginning)
=> set player angle to 90

+ On key pressed LEFT
=> set player animation to "meleeattack" (from beginning)
=> set player angle to 180

Originally posted by Ashley Ashley wrote:

Set its angle to 0 on pressing the right arrow key, and 180 when pressing the left arrow key.
...and expand.

Since I suppose "original legend of zelda" is topview.
If not, don't change the angle, but make 4 animation corresponding to the 4 direction, and set the correct animations to the correct key pressed.

Edited by Kyatric - 23 Sep 2011 at 2:41am
Back to Top
408 Rep
Post Options Post Options   Quote Dirk Quote  Post ReplyReply Direct Link To This Post Posted: 23 Sep 2011 at 12:09am
I did the ghost shooter tut and I'm familiar with how to set up the bullet stuff. What Im interested in doing is a melee attack with four different animations (left, right, up, down) like the original Legend of Zelda. Ill keep working on it.
Back to Top

Moderator
28,562 Rep
Post Options Post Options   Quote Kyatric Quote  Post ReplyReply Direct Link To This Post Posted: 22 Sep 2011 at 11:05pm
Check this post
Back to Top
408 Rep
Post Options Post Options   Quote Dirk Quote  Post ReplyReply Direct Link To This Post Posted: 22 Sep 2011 at 10:57pm
Sorry to double post, I guess my initial questions is - how do I go about setting up the attack animation for each direction?
Back to Top
408 Rep
Post Options Post Options   Quote Dirk Quote  Post ReplyReply Direct Link To This Post Posted: 22 Sep 2011 at 10:56pm
Oh hai!
Im new here to the forums even though I have spent a bit of time playing with construct in the past. Im going to try and tackle it once again.

What I am working on is a legend of zelda style, top down dungeon crawler. Right now Im just trying to get the basics of the game down, movement, attacks, etc.

I have got the movement down except for some diagnoal problems which Ill work on later. Right now I want the Player Character (PC) to be able to perform an attack. I have included my .capx file here

http://www.mediafire.com/?bt4bybbmyv9ywjl

Here are some of the other things I am interested in doing.

- making walls that the PC cannot move through
- making pushable blocks (to trigger something in the future)
- making the PC pick up a weapon

Are there any tutorials for these things specifically?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down