[Leapy] Drag power line
I added a visual feedback represented by a drag power line to let the player know how much is he dragging more easy.
I considered two opcion:
- The player is able to drag and release anywhere on the screen.
- The player is able to drag and release only clicking first the frog.
The second one let's you aim better but it constrain where you can drag and release and sometimes this may be annoying.
And since the second one is contained in the first one (you can click over the frog if you wan't) i went for that one.
Share your opinion about it if you wan't.
To achieve this i have to give credit to Muddy Wolf video (www.youtube.com/watch?v=Tsha7rp58LI)
I added the first if to the update method of the frog to set the initial and end points where to draw the line while you are holding down the left click and added the last line when you release the button to erase the line.
To draw the line i used the unity LineRenderer and made a script to render the line and erase it.
Get Leapy
Leapy
More posts
- [Leapy] Final version is live.Jul 29, 2022
- [Leapy] New graphics!Jul 27, 2022
- [Leapy] First playable version!Jul 25, 2022
- [Leapy] All the different lilypads so farJul 23, 2022
- [Leapy] Lilypad spawn system and changes in deleting off-screen lilypadsJul 22, 2022
- [Leapy] Sample GameOver screen and changes to landing on lilypadsJul 03, 2022
- [Leapy] Deleting lilypads off-cameraJul 02, 2022
- [Leapy] Landing on lilypadsJun 19, 2022
- [Leapy] Lilypad object and first movementJun 17, 2022
- [Leapy] Repetitive backgroundJun 09, 2022
Leave a comment
Log in with itch.io to leave a comment.