August 2015
Intermediate to advanced
246 pages
4h 21m
English
This recipe will teach you how to use the first kind of input, probably the most used, the mouse. We will consider the mouse input as a touch event, so the (x, y) position of the touch (0-1 range) will be scaled to the window size (width/height) and dispatched to the following:
on_touch_down() method is called.on_touch_move() method is called.on_touch_up() method is called.In this recipe, ...
Read now
Unlock full access