-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the hyper wiki!
Here, we will cover all the functionalities of all functions on hyper
Parameters:
path, [x=0, y=0], [dx=1, dy=1]
Draws the image on the path
, at x, y and with width and height multiplied by sx and sy
Parameters:
kname
Returns true if kname
is pressed, else returns false. It's case insensivite.
Parameters:
[color]
It's called automaticcaly before the update callback, but can be used mannually to clear to a different color.
Parameters:
none
Returns -1 if a player that can move with arrow keys and wasd should move to the left, 1 if it should move to right and 0 if it shoudn't move on x axis
Parameters:
none
Returns -1 if a player that can move with arrow keys and wasd should move to up, 1 if it should move to down and 0 if it shoudn't move on y axis