![]() |
|
08-05-2012
|
16 |
|
Guest
Posts: n/a
|
I'm not going to lie- only one thing has changed and that is the direction you face. i.e. for (temp.i = 0; temp.i < 4; temp.i++) if (this.keys[temp.i] == true) temp.p_dir = temp.i; so if you hold 'up' arrow (which is 0) you move in that direction. |
|
08-05-2012
|
17 |
|
Guest
Posts: n/a
|
I'm not going to lie- only one thing has changed and that is the direction you face. i.e. for (temp.i = 0; temp.i < 4; temp.i++) if (this.keys[temp.i] == true) temp.p_dir = temp.i; so if you hold 'up' arrow (which is 0) you move in that direction. |
|
08-05-2012
|
18 | |
|
Levels<3
Join Date: Dec 2011
Location: Fairfax, Virginia
Posts: 997
|
|
|
|
08-05-2012
|
19 | |
|
iEra and iDelteria gfx
Join Date: Feb 2012
Location: Amsterdam
Posts: 538
|
|
|