Question

Talk about making games.

Question

Postby The achievement » Wed May 24, 2006 6:48 pm

Hi guys, two questions.


1) Is there a way i can make a key disable in mid-air? ex. if i want to stop jumping while im in mid-air.

2) How do i make my actor run faster? Can i just do x = x +10? or a higher int?
User avatar
The achievement
 
Posts: 220
Joined: Sun Feb 12, 2006 11:01 pm
Location: United States,Massachusetts
Score: 0 Give a positive score

Postby Game A Gogo » Wed May 24, 2006 11:35 pm

2)
on key down (left and right...): (the script for the speed)...
and for running faster, key down event(right alt+ left and right...): the sript whit a mor important number.

sorry if it isn very discriptive.
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 The achievement » Thu May 25, 2006 8:19 pm

Ok i did it thanks man!
User avatar
The achievement
 
Posts: 220
Joined: Sun Feb 12, 2006 11:01 pm
Location: United States,Massachusetts
Score: 0 Give a positive score

Postby Game A Gogo » Thu May 25, 2006 8:34 pm

and for the animation for it to go faster, just do: animpos+=1;
im not shure if you do 0.5 would work.
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


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest