is diagonal walking possible? how?

Talk about making games.

is diagonal walking possible? how?

Postby stevenp » Tue Dec 25, 2007 6:09 am

iv been trying for 3 days to get my char to walk diagonal, walking left , is fine, down is fine sepratley but when i set the diagonals to, left and down simoltaniously it doesnt work, like if i press left, then press down (while holding left ) to go diagonal, he ignores the down comand and contines walking left, it seems that any help would be appreciated so much ty
User avatar
stevenp
 
Posts: 403
Joined: Sat Dec 22, 2007 12:49 pm
Location: canada, ontario
Score: 16 Give a positive score

Re: is diagonal walking possible? how?

Postby Kalladdolf » Tue Dec 25, 2007 8:05 am

this sounds like an unusual bug...
it works completely fine with me.
here, have a look:
walking.zip
(793 Bytes) Downloaded 101 times
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: is diagonal walking possible? how?

Postby stevenp » Tue Dec 25, 2007 12:40 pm

OMG ty so much, i wasnt using the script editor i was doing it this way, ADD ACTION, ADD EVENT, KEY DOWN, ADD ACTION, KEY DOWN, MOVE TO, ACTOR MOJO, RELATIVE TO MOJO, X-10 Y-10 vel 10
User avatar
stevenp
 
Posts: 403
Joined: Sat Dec 22, 2007 12:49 pm
Location: canada, ontario
Score: 16 Give a positive score

Re: is diagonal walking possible? how?

Postby Kalladdolf » Tue Dec 25, 2007 7:44 pm

no problem :lol:
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: is diagonal walking possible? how?

Postby j2graves » Wed Dec 26, 2007 10:31 am

the moveto can cause problems if it is used. script editor is better because it is regular c code.
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: is diagonal walking possible? how?

Postby Kalladdolf » Thu Dec 27, 2007 6:00 pm

I would use the script editor always anyway, except when you want to make a quick demo or something.
It's just got everything and you can change and add stuff easier and better.
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron