Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: kadpw7 on Fri 16/07/2010 13:29:59

Title: how do I change game speed? or walking speed?
Post by: kadpw7 on Fri 16/07/2010 13:29:59
how do I change game speed? or walking speed?
Title: Re: how do I change game speed? or walking speed?
Post by: Matti on Fri 16/07/2010 14:01:25
Character.SetWalkSpeed(int x_speed, int y_speed);
Title: Re: how do I change game speed? or walking speed?
Post by: barefoot on Fri 16/07/2010 17:07:38
Quote from: Mr. Matti on Fri 16/07/2010 14:01:25
Character.SetWalkSpeed(int x_speed, int y_speed);

That's:  cEgo.SetWalkSpeed(10,10)    

Simply change Character Name and speed number.. which in this case 10 for both x and y. Simply change speed to suit.

To change Game speed: SetGameSpeed(80);   set to suit.

Check out: SetWalkSpeed and  SetGameSpeed in the manual.

-Barefoot-