Page 1 of 1

how do i slow down a path

PostPosted: Sat Sep 01, 2007 2:10 pm
by jman
in my pac-man game all the ghosts go way to fast on the path you can barily see the colours :(

Re: how do i slow down a path

PostPosted: Sat Sep 01, 2007 3:13 pm
by Rux
jman, I once tried to make a pacman game to, but I gave up, thinking of all the levels I'd have to do.
But for a better movement I recemend making multiple actors(change there visibility state to don't draw but allow events)around the maze and on the ghost actors have a create timer action, and after the timer goes of have the ghost move to the first movement actor by the ghost home. So say the after the timer is triggered, on the moveto event move towards Movementactor.0 . Then when it collides with Movementactor (make sure there is no number by the collision name!) Enter this script,(say there are 10 movement actors)
Code: Select all
int n;
n = rand(10);
if(n==0)//The moveto event to Movementactor.0 would be here. Just go to actions and functions menu and choose moveto\\
//continue utill all movement actors are in the script the click add, immediate action\\ 

Re: how do i slow down a path

PostPosted: Sun Sep 02, 2007 1:50 am
by jman
i dont get it :?:

Re: how do i slow down a path

PostPosted: Sun Sep 02, 2007 3:10 am
by Rux
Well it is kinda complicated. Keep on studying it and try to follow along with GE and reading my instructions.
I'll make a document of a lot of intermediate level scripting. Right now I'm working on 2 Games though I'm still trying to get my sonic game done(I started Sonic like 3 months ago.) My projects are Mario's Mansion(sequel to Luigi's Mansion for game cube)and CAAZ's Pokemon remix 1.1. :wink:

Re: how do i slow down a path

PostPosted: Sun Sep 02, 2007 10:45 am
by jman
ok :mrgreen:

Re: how do i slow down a path

PostPosted: Sun Sep 02, 2007 10:50 am
by jman
+1 point

Re: how do i slow down a path

PostPosted: Sun Sep 02, 2007 8:38 pm
by Rux
Thanks. :D