I am new to construct 2. I want to implement rotate like feature in construct 2. I have my frames but I don't know how do I implement it. Like this: https://andrepolischuk.com/circlr/
Any help would be much appreciated. Thanks!
I think it's done like this:
When the player presses the mouse button, it memorizes the position in which it was clicked.
Check if the distance in current X is greater than the memorized X (+ offset), and if so, change the graph in the required rotary direction and re-memorize the current position.
Depending on whether the distance is greater or less than the original point, the graphic is changed one way or the other.
Thanks for your reply, I couldn't get your point. I am uploading my capx file.http://s000.tinyupload.com/?file_id=59622878608114782801.
Don't know if I am doing right. Please have a look at it.
The file can not be opened.
really sorry let me share you the new file. http://s000.tinyupload.com/?file_id=00724732625685077207
Please have a look. Thank you.
Try to do it from this.
I deleted some frames, do not take that into account.
It worked. Thank you so much.
The Mnk beat me to it, but here is my version...
similar concept, except I used Touch so it will work with both mouse and touch devices, and I added zoom using the mouse wheel...
Develop games in your browser. Powerful, performant & highly capable.
AllanR Thank you very much, that really helped.