a new cmd
Posted: Sun May 06, 2007 5:56 am
self.key_released not pressed but released. it could really help in my game
Code: Select all
if(self.key_released)
{
(Code goes here)
}
Code: Select all
KEY_RELEASED_XX [false]
if(self.key_pressed=XX)
{
KEY_RELEASED_XX=false;
}
else
{
if(KEY_RELEASED_XX=false)
{
(Code goes here)
KEY_RELEASED_XX=true;
}
}