packager icon indicating copy to clipboard operation
packager copied to clipboard

The sprite does not follow the mouse pointer correctly

Open Alestore opened this issue 2 years ago • 4 comments

I've created a custom icon sprite right inside TurboWarp for convenience. I assigned it the script forever go to X (mouse pointer) and Y (mouse pointer). I will attach below a video showing a test: https://youtu.be/_yOPCRvlxa0?t=36 This happens both in TurboWarp (online version) and in the file created by the online version of the packager in all environments.

Alestore avatar Aug 05 '22 17:08 Alestore

Is this a recent thing or has it always done that?

GarboMuffin avatar Aug 05 '22 18:08 GarboMuffin

Always been like that.

Alestore avatar Aug 05 '22 19:08 Alestore

What's strange here is that it's clearly receiving mouse inputs because it can update the Y but it doesn't know the X changed. I'm inclined to blame this on Chrome. Does it work in another browser like Firefox and are you on a multi-monitor setup of some sort or is there anything else unusual about your setup?

GarboMuffin avatar Aug 09 '22 04:08 GarboMuffin

I have not tested on other browsers, but I'm not on a multi-monitor setup. Currently I'm on vacation so I'm using one monitor, mouse keyboard and audio jack 3,5 mm headset. That's all. This evening I'll try on Firefox. Also, this happens not only to me: I gave some Steam keys of my game to my friends and everyone had this problem.

Alestore avatar Aug 09 '22 06:08 Alestore

Any update on that?

Alestore avatar Oct 04 '22 12:10 Alestore

I assume you've checked that this still happens in the latest update?

GarboMuffin avatar Oct 04 '22 15:10 GarboMuffin

Yes

Alestore avatar Oct 04 '22 16:10 Alestore

Looks like we never quite ruled out the possibility of a bug in the project. Does this happen in https://scratch.mit.edu/projects/741149940/? If not could you record a video of your project with the target's x position, y position, and the player's direction visible?

GarboMuffin avatar Oct 05 '22 03:10 GarboMuffin

It happens also with this project! I just HTMLized the project you sent and i opened the html in Chrome, making sure I was in fullscreen by pressing F11, and it still happens

Alestore avatar Oct 05 '22 12:10 Alestore

Here is the video for my project, but the same thing happens with the Scratch cat in the project you linked me, @GarboMuffin: https://youtu.be/O60JT92qbs8

Alestore avatar Oct 10 '22 14:10 Alestore

The unfortunate thing is that I can't reproduce this locally

GarboMuffin avatar Oct 10 '22 15:10 GarboMuffin

Does that mean you don't have the problem like I do?

Alestore avatar Oct 10 '22 15:10 Alestore

Correct

GarboMuffin avatar Oct 10 '22 21:10 GarboMuffin

That's so strange. Like, everyone has this problem with my game and I have this issue also with the simple project you linked me. Tomorrow I will do a little test and I'll let you know here. Not sure but I think the issue could be my double monitor setup.

Alestore avatar Oct 10 '22 21:10 Alestore

If it isn't too much, may I ask you to download my project either by packaging it yourself or by Steam (https://store.steampowered.com/app/2020850/Asteroid/)? You'll certainly notice the problem. Also my collaborator has this problem.

Alestore avatar Oct 11 '22 15:10 Alestore

Out of an abundance of caution I would rather not download and run random steam games for the time being

Could you record a short new video of https://scratch.mit.edu/projects/741149940/ with your system's mouse cursor visible in vanilla Scratch website, TurboWarp website, and the packaged project (can just cycle through them, ~10 seconds each)? Ideally without any custom JS or advanced settings. If possible see if it happens in Firefox instead of Chrome. I'm trying to see where the issue is. I still can't reproduce locally.

GarboMuffin avatar Oct 17 '22 01:10 GarboMuffin

Ok I'll do it right now but keep in mind that I have this problem when I'm in full screen using a resolution of 640x360 for my project, because my monitor is 1920x1080 so I'll have to modify the resolution of the project you sent me for the problem to show. Apparently, the problem is only seen when the cursor touches the edge of the packaged project in full screen with the full monitor resolution: like ALL the screen is covered by the project without any black border.

Alestore avatar Oct 17 '22 07:10 Alestore

Here is the video: https://youtu.be/wYFqBjGNzqU

Out of an abundance of caution I would rather not download and run random steam games for the time being

Could you record a short new video of https://scratch.mit.edu/projects/741149940/ with your system's mouse cursor visible in vanilla Scratch website, TurboWarp website, and the packaged project (can just cycle through them, ~10 seconds each)? Ideally without any custom JS or advanced settings. If possible see if it happens in Firefox instead of Chrome. I'm trying to see where the issue is. I still can't reproduce locally.

Alestore avatar Oct 17 '22 10:10 Alestore

I've been able to reproduce this now, thanks. Will look into it when I have more time.

GarboMuffin avatar Oct 17 '22 14:10 GarboMuffin

This is on the weekend to do list

GarboMuffin avatar Oct 20 '22 04:10 GarboMuffin

This should be fixed now

GarboMuffin avatar Oct 22 '22 03:10 GarboMuffin

It works for me! Thanks!

Alestore avatar Oct 22 '22 06:10 Alestore