Changing Paths

Non-platform specific questions.

Changing Paths

Postby jamtc » Sun Jul 02, 2006 1:46 am

I have the following:

actor -> path1 -> path2 -> path3 ... and so ...

When I change from path1 to path2 (using actor's "Path Finish") it's ok.

But when I change from path2 to path3 (using actor's "Path Finish" again) it is not work and send actor to initial path1.

Why ?

How can I solve this problem and send actor from path2 to path3 ?

:cry:
JamTC
:-)
User avatar
jamtc
 
Posts: 12
Joined: Fri Jun 16, 2006 12:37 am
Location: Sao Paulo - Brazil
Score: 0 Give a positive score

Postby pavel329 » Sun Jul 02, 2006 3:23 pm

hmm...i'll try that on one of my gams and see wat i can come up with.
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby pavel329 » Sun Jul 02, 2006 3:33 pm

weird.it does change to path3 but not where i want it to start.it starts at path 2 but still does path3.i dont understand.i'll keep working on it though.
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby jamtc » Sun Jul 02, 2006 9:46 pm

I need to know if it is a bug or I am doing something wrong.

:roll:
JamTC
:-)
User avatar
jamtc
 
Posts: 12
Joined: Fri Jun 16, 2006 12:37 am
Location: Sao Paulo - Brazil
Score: 0 Give a positive score

Postby Game A Gogo » Sun Jul 02, 2006 10:55 pm

its because the path change at the end of path2, so its just like it moved place.
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby jamtc » Mon Jul 03, 2006 1:11 am

What would be the solution?

I need this ...

:cry:
JamTC
:-)
User avatar
jamtc
 
Posts: 12
Joined: Fri Jun 16, 2006 12:37 am
Location: Sao Paulo - Brazil
Score: 0 Give a positive score

Postby makslane » Mon Jul 03, 2006 11:53 am

To change to path3 after path2 finish, make use:

Path Finish Event: path2
Change Path: path3

Remember the paths in Game Editor are relative.
So, when you change the a path of an actor the movement will begin in the current actor position.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby jamtc » Wed Jul 05, 2006 12:14 am

Hi Makslane !

I did what you say but still not working ... :oops:

It's like a bug ...

path1 to path2 is ok.
path2 to path3 is not ok.

I did a path3 start at finish of path2 (relative to creator "actor1") but it is not work.

The frames are wrong that I specify and the position is wrong too.

The actor start the path3 in different place and slow velocity.

Help ... :?:
JamTC
:-)
User avatar
jamtc
 
Posts: 12
Joined: Fri Jun 16, 2006 12:37 am
Location: Sao Paulo - Brazil
Score: 0 Give a positive score

Postby makslane » Wed Jul 05, 2006 1:22 am

Send the game to my email with subject "Changing Paths"
I will see what's happen.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest