 |
Returns: Int
(player_pointer_x) returns the absolute x position of the mouse.
;;------------------------------------------------------------------------
Function: player_pointer_y
Usage: (player_pointer_y)
Returns: Int
(player_pointer_y) returns the absolute y position of the mouse.
;;------------------------------------------------------------------------
Function: player_x_suggest
Usage: (player_x_suggest)
Returns: Int
I'm pretty sure this function returns -1 if the left button is
pressed, 1 if the right button is pressed and 0 otherwise. I'm
not sure it actually exists, as it's not in the source code, but
player_y_suggest does, so you'd figure, right? If you're in a move
function, you should probably use the xm parameter and not
(player_x_suggest).
;;------------------------------------------------------------------------
Function: player_y_suggest
Usage: (player_y_suggest)
Returns: Int
Probably returns -1 if the up button is pressed, 1 if the down
button is pressed and 0 otherwise. If in a move function, you
should probably use the value of the ym parameter instead.
;;------------------------------------------------------------------------
Function: print
Usage: (print something)
Returns: dunno
Prints something to the console. I've tried int's and objects,
and they both work. Silly me didn't try a string. Oh well.
... Далее >>
|