I'm a new french user of pixilang.
I don't understand how to use gpx, gpy and gpk, I'm trying a lot of things but...
For example, I want to know when the mouse key is pressed (and later, mouse coordinates), but it doesn't work :
Code: Select all
loop_main = 0
while( loop_main == 0 )
{
mouse_k = gpk
if mouse_k != 0 { fputs ( "click\n" ) } // print click in console if pressed
// if mouse_k == 0 { fputs ( "off\n" ) }
}