A
A
alaskafx2021-07-25 13:59:29
Vue.js
alaskafx, 2021-07-25 13:59:29

How to do the same as in the video?

How to make the same mini-game as in the video: https://www.youtube.com/watch?v=XN97F6Vt1KA&ab_cha... ? (moment from 3:21)
There is a layout, but I don’t understand how to use these very “wires” so that they move, are created behind the mouse in the same way as there.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2021-07-25
@Kozack Vue.js

Take the start coordinate and the mouse position coordinate. And draw a curve through these points.
https://stackoverflow.com/questions/7054272/how-to...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question