So i got the idea to remake the swipe pattern log-in in 3drad for projects that use usernames. Basically, this swipe pattern would be the account password.
So i got the idea to use a sprite ( 16x4 ) as the source of the line process.
Then by clicking on screen to get the start location, stretch the sprite to the mouse screen location.
This would recreate the swipe pattern process.
So i have 1 question -
#1 How to get a sprite at a mouse selected screen location, rotate and point towards ( follow ) the mouse on-screen, while keeping it's start location.
I know how to adjust the sprite size to create the stretching effect.
Figuring the math to position it for a start location and stretch it to an end location... i'll nave to work on that
The two included pictures are the swipe pattern ( for anyone who's never seen the smart-phone unlock swipe pattern screen ).
The other is the intended sprite for the line process.
So i got the idea to use a sprite ( 16x4 ) as the source of the line process.
Then by clicking on screen to get the start location, stretch the sprite to the mouse screen location.
This would recreate the swipe pattern process.
So i have 1 question -
#1 How to get a sprite at a mouse selected screen location, rotate and point towards ( follow ) the mouse on-screen, while keeping it's start location.
I know how to adjust the sprite size to create the stretching effect.
Figuring the math to position it for a start location and stretch it to an end location... i'll nave to work on that
The two included pictures are the swipe pattern ( for anyone who's never seen the smart-phone unlock swipe pattern screen ).
The other is the intended sprite for the line process.