[Resolved]How do I do for rpg's mob movements and animations

0 favourites
  • 8 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • Hi ^^

    i m a French Newbie who want to test C2 to realise a little rpg project.

    i search but don't find.. how can i apply animation to my npc:

    if he moves to right, left, up, or down

    i create path or random movement but don't find a way for animations...

    somebody ??

    SORRY FOR MY ENGLISH !!

    Good making ^^

  • Hi ^^

    i m a French Newbie who want to test C2 to realise a little rpg project.

    i search but don't find.. how can i apply animation to my npc:

    if he moves to right, left, up, or down

    i create path or random movement but don't find a way for animations...

    somebody ??

    SORRY FOR MY ENGLISH !!

    Good making ^^

    I want to help, but at first you got to tell, what kind of animation you want? Isometric or 2d game with view from the top.

  • You should start here:

    Thanks for your help but i know how to add animation ^^

    my question is a little more difficult than this ...

    i have my npc with animation.., i just need to know how to program the animation for the movement

    ex:

    every tick if x<x.npc play leftanimation ... something like that ...

    but i don t know how can i write this

    (i hope you understand with my bad english )

    thanks a lot for answer ..

    at first i want to test with basic 4 direction (i have isometric chars for my project but i think its the same way )

  • > You should start here:

    >

    Thanks for your help but i know how to add animation ^^

    my question is a little more difficult than this ...

    i have my npc with animation.., i just need to know how to program the animation for the movement

    ex:

    every tick if x<x.npc play leftanimation ... something like that ...

    but i don t know how can i write this

    (i hope you understand with my bad english )

    thanks a lot for answer ..

    at first i want to test with basic 4 direction (i have isometric chars for my project but i think its the same way )

    Well, you just solve the problem yourself, make a variable on your player that sets towards the touch or mouse angle, and when it's between 90 and 180 lets say, the animation "front" is played, or something like that.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thks but its just my problem lmfao

    I understand thé Logic Way but i don't know How can i write this ...

    How can i find what words i can used ^^

    I don't know if i m understandable ...

    I was graphist for a lot of project but i just programming with

    Old langages like vb6 lol

    Is that Why i understand thé Way but i dont have the keys

    Thks a lot

  • There are many tutorials to find this, also the sample projects (File/New..). Learn about events, conditions, expressions. Especially if you're a 'traditional' programmer like me.

  • thks "codah"

    but i don't find anything like this in main tutorials......

    EDIT:

    i find a way to resolve my problem with the bomberman demo from KYATRIC

    HERE : https://www.scirra.com/tutorials/578/cr ... o-tutorial

    he explains how to write what i need ^^

    create global variables for direction angles and create event for x.enemy position

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)