First time questions

Non-platform specific questions.

First time questions

Postby whitekey07 » Fri Jul 31, 2009 9:58 pm

This is my first time using game editor. I've been able to figure most of it out so far. Right now I'm just trying to make a simple platform game, but I have a few questions:
1.How can you adjust the speed of actors following paths?
2.How do you stop wall climbing (being able to infinite jump on the side of walls)?

Thanks in advance!
whitekey07
 
Posts: 3
Joined: Wed Jul 29, 2009 10:20 pm
Score: 0 Give a positive score

Re: First time questions

Postby killwithpower » Fri Jul 31, 2009 10:13 pm

I think that the number of frames you set the path to divided by 60 is how many seconds it takes for the actor you apply that path to to complete it. So if you want them to be slower you would increase the number of frames for your path and to go faster you would decrease the number of frames in your path.
KOHR!
Image
killwithpower
 
Posts: 21
Joined: Thu Jul 23, 2009 6:31 pm
Location: Brandon MB, Canada
Score: 2 Give a positive score

Re: First time questions

Postby whitekey07 » Fri Jul 31, 2009 10:25 pm

Thanks, got that part working now.
whitekey07
 
Posts: 3
Joined: Wed Jul 29, 2009 10:20 pm
Score: 0 Give a positive score

Re: First time questions

Postby skydereign » Fri Jul 31, 2009 11:04 pm

There are several ways to fix your side jumping, one is to create a wall actor. Right now your collision with ground/wall is probably set to all sides. Add a collision event for side of wall, and put this in the script editor.

Code: Select all
double yvel = yvelocity;
PhysicalResponse(MOVE_EVENT_ACTOR_ONLY, USE_CALCULATED_MASS, 1, 1, 0, 0);
yvelocity=yvel;


This should work. If you need anything explained, or it does not work in your setup, can you post a ged, or I can make a demo.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: First time questions

Postby whitekey07 » Sat Aug 01, 2009 2:03 am

Yup, worked great. Thanks!
whitekey07
 
Posts: 3
Joined: Wed Jul 29, 2009 10:20 pm
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron