"Projecting" forward the character

Started by G, Fri 24/02/2006 23:29:13

Previous topic - Next topic

G

Hi there.

I have a problem with my character. I used the KeyboardMovement Module of Rui and Strazer, but now I want to make my character able to jump forward. But how can I make my character able to jump forward? Does AGS have any way to recognise when the character is looking to the left or to the right?

The principal question is How can I "project" my character foward when he is not walking?

Shall I modify the Module? Then how Do I make it?

Thanks

Ashen

You can check which 'loop' the character's currently using to check their facing (0 is down, 1  is left, etc, as in the 'View' editor).

As for how to actually make them jump - there're a couple of ways. You could temporarily alter their view to one with a jumping animation, and move them forward, you could animate the jump including movement and directly change their coordinates, and there're probably other ways - check out some of the Open Source Games, the first 2 or three in 'Other' I think include jumping). How you'd change the module (except in the most basic ways) depends on which way you're using.
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk