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

Get help using Construct 2

Post » Tue Aug 05, 2014 5:07 pm

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 ^^
Last edited by Gamme on Wed Aug 06, 2014 12:13 am, edited 2 times in total.
B
4
Posts: 4
Reputation: 207

Post » Tue Aug 05, 2014 6:12 pm

Aerozik wrote: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.
B
22
S
9
G
7
Posts: 421
Reputation: 6,543

Post » Tue Aug 05, 2014 6:30 pm

Bruno

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
B
15
S
3
G
1
Posts: 329
Reputation: 2,012

Post » Tue Aug 05, 2014 7:42 pm

Message: Aerozik is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
brunopalermo wrote:You should start here:



:D 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 )


@sysiphus

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 )
B
4
Posts: 4
Reputation: 207

Post » Tue Aug 05, 2014 7:52 pm

Aerozik wrote:
brunopalermo wrote:You should start here:



:D 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 )


@sysiphus

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.
B
22
S
9
G
7
Posts: 421
Reputation: 6,543

Post » Tue Aug 05, 2014 10:32 pm

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
B
4
Posts: 4
Reputation: 207

Post » Tue Aug 05, 2014 10:40 pm

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.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Wed Aug 06, 2014 12:11 am

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
B
4
Posts: 4
Reputation: 207


Return to How do I....?

Who is online

Users browsing this forum: SputnikCZ and 3 guests