how do i slow down a path

Talk about making games.

how do i slow down a path

Postby jman » Sat Sep 01, 2007 2:10 pm

in my pac-man game all the ghosts go way to fast on the path you can barily see the colours :(
Labyrinth-just starting
User avatar
jman
 
Posts: 123
Joined: Fri Jul 20, 2007 7:07 pm
Location: Ontario, Canada
Score: 2 Give a positive score

Re: how do i slow down a path

Postby Rux » Sat Sep 01, 2007 3:13 pm

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\\ 
I'm not good at coming up with signatures...
User avatar
Rux
 
Posts: 645
Joined: Sun Apr 29, 2007 9:26 pm
Location: Sitting on your moniter invisable.
Score: 35 Give a positive score

Re: how do i slow down a path

Postby jman » Sun Sep 02, 2007 1:50 am

i dont get it :?:
Labyrinth-just starting
User avatar
jman
 
Posts: 123
Joined: Fri Jul 20, 2007 7:07 pm
Location: Ontario, Canada
Score: 2 Give a positive score

Re: how do i slow down a path

Postby Rux » Sun Sep 02, 2007 3:10 am

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:
I'm not good at coming up with signatures...
User avatar
Rux
 
Posts: 645
Joined: Sun Apr 29, 2007 9:26 pm
Location: Sitting on your moniter invisable.
Score: 35 Give a positive score

Re: how do i slow down a path

Postby jman » Sun Sep 02, 2007 10:45 am

ok :mrgreen:
Labyrinth-just starting
User avatar
jman
 
Posts: 123
Joined: Fri Jul 20, 2007 7:07 pm
Location: Ontario, Canada
Score: 2 Give a positive score

Re: how do i slow down a path

Postby jman » Sun Sep 02, 2007 10:50 am

+1 point
Labyrinth-just starting
User avatar
jman
 
Posts: 123
Joined: Fri Jul 20, 2007 7:07 pm
Location: Ontario, Canada
Score: 2 Give a positive score

Re: how do i slow down a path

Postby Rux » Sun Sep 02, 2007 8:38 pm

Thanks. :D
I'm not good at coming up with signatures...
User avatar
Rux
 
Posts: 645
Joined: Sun Apr 29, 2007 9:26 pm
Location: Sitting on your moniter invisable.
Score: 35 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron