tutorial
How to Image Following Mouse in Gideros
· ☕ 2 min read
The idea is quite simple. I subscribe to receive notifications that the mouse has moved and at this point I read the position of the mouse. Then I just have to move my image to near the position where the mouse is.
How to Move an Image in Gideros
· ☕ 2 min read
The snippet below move an image using Gideros Mobile.
For it we will use LiquidFun (it’s like Box2D on steroids).
How to Click on Image in Gideros
· ☕ 2 min read
The snippet below shows how to react to both click and touch events in Gideros Mobile.
Notice that touch events are meant for mobile devices and allow us to handle single and multi touches. On the other hand, mouse events are meant for desktops but you can use them to handle single touchs in mobiles too.
How to Load an Image in Gideros
· ☕ 1 min read
The snippet below shows how to load and show an image using Gideros Mobile. Notice that if we remove all comments, it reduces source code to just 5 lines.