Thread: just curious
View Single Post
  #1  
Old 10-06-2007, 06:36 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
just curious

On my ti calc I can simple do x+(k=24)+(k=26)->x so could I do this in GS2?

PHP Code:
function onKeyPressedcodechar
{

  
code;

  
player.+= ( == 39) - ( == 37);
  
player.+= ( == 40) - ( == 38);


which mean if "k" equals 37 it would be true or in binary 1 and not 0 and so on and so forth.
__________________
Deep into the Darkness peering...

Last edited by Angel_Light; 10-06-2007 at 06:48 AM..
Reply With Quote