Search found 5 matches

by unknowntrojan
Sat Aug 12, 2017 2:37 pm
Forum: Support and Development
Topic: Need Help with Rotation around the cursor
Replies: 11
Views: 7195

Re: Need Help with Rotation around the cursor

Oh my god i am dumb.... Thank you for your time!
by unknowntrojan
Sat Aug 12, 2017 1:23 pm
Forum: Support and Development
Topic: Need Help with Rotation around the cursor
Replies: 11
Views: 7195

Re: Need Help with Rotation around the cursor

In a nutshell, i want the center of the image right on the mouse positions.
by unknowntrojan
Sat Aug 12, 2017 1:21 pm
Forum: Support and Development
Topic: Need Help with Rotation around the cursor
Replies: 11
Views: 7195

Re: Need Help with Rotation around the cursor

I want the image to center around my mouse position and rotate by using my angle variable.
by unknowntrojan
Sat Aug 12, 2017 1:13 pm
Forum: Support and Development
Topic: Need Help with Rotation around the cursor
Replies: 11
Views: 7195

Re: Need Help with Rotation around the cursor

No, the uploader doesn't allow .lov files. It says it is not allowed to be uploaded. Oh, nevermind. It isn't .lov. I saw that in a tutorial, but i guess that it can also be .love. When i only use the img:get.. Functions the image doesn't move at all. Here are some images: (My cursor is on the top ri...
by unknowntrojan
Sat Aug 12, 2017 7:54 am
Forum: Support and Development
Topic: Need Help with Rotation around the cursor
Replies: 11
Views: 7195

Need Help with Rotation around the cursor

Hello, i am trying to create a little lua demo for my friend, and am currently trying to rotate an image around the mouse position. I tried just adding the mousex and mousey values to the origin, so they would be: "mousex + img:getWidth()/2" and "mousey + img:getHeight()/2" But t...