image tracking the cursor in main_menu screen[solved]
Posted: Sun Sep 21, 2014 10:30 am
so basically i need a image within a main_menu screen
that will update it's location according to my mouse pointer location.
lets assume it should stick to mouse pointer without being a mouse pointer,
or it should act as mirror projection of the cursor.
If i get these examples i will be able to adapt it for my needs.
For now i cannot figure out how to add an image with variable location
and how to repeatedly update this image.
What i can is locate my cursor coordinates
and make desirable image using an SpriteManager() example from docs but i cannot figure out how to add this to a screen.
Many thanks if you can help! Thanks anyway for bothering n__n
that will update it's location according to my mouse pointer location.
lets assume it should stick to mouse pointer without being a mouse pointer,
or it should act as mirror projection of the cursor.
If i get these examples i will be able to adapt it for my needs.
For now i cannot figure out how to add an image with variable location
and how to repeatedly update this image.
What i can is locate my cursor coordinates
and make desirable image using an SpriteManager() example from docs but i cannot figure out how to add this to a screen.
Many thanks if you can help! Thanks anyway for bothering n__n