packager
packager copied to clipboard
The sprite does not follow the mouse pointer correctly
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.
Is this a recent thing or has it always done that?
Always been like that.
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?
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.
Any update on that?
I assume you've checked that this still happens in the latest update?
Yes
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?
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
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
The unfortunate thing is that I can't reproduce this locally
Does that mean you don't have the problem like I do?
Correct
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.
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.
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.
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.
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.
I've been able to reproduce this now, thanks. Will look into it when I have more time.
This is on the weekend to do list
This should be fixed now
It works for me! Thanks!