1 decade ago by adanijel
Hi,
how do I make my view to follow mouse movement?
I have 2 layers - background layer little bigger than canvas size and a layer in front of it which I would like to have fixed position according to a viewer. When I move mouse, background layer follows mouse movement and scrolls while front layer stays fixed on center of the screen. In that way I want make it look like a 3D.
A much simpler version of this: http://www.spacegoo.com/slotMachine/
Thanks,
Danijel
how do I make my view to follow mouse movement?
I have 2 layers - background layer little bigger than canvas size and a layer in front of it which I would like to have fixed position according to a viewer. When I move mouse, background layer follows mouse movement and scrolls while front layer stays fixed on center of the screen. In that way I want make it look like a 3D.
A much simpler version of this: http://www.spacegoo.com/slotMachine/
Thanks,
Danijel