Giter Site home page Giter Site logo

Comments (6)

theOneTrueFunniBoi avatar theOneTrueFunniBoi commented on June 28, 2024

I get this bug too, but only in full screen for some reason. Try in windowed mode or borderless windowed mode.

from scpcb.

darthvader45 avatar darthvader45 commented on June 28, 2024

Will do. No idea why this happens in full screen. If it ends up happening in windowed/borderless windowed modes, I might just leave it be until it's fixed.

from scpcb.

theOneTrueFunniBoi avatar theOneTrueFunniBoi commented on June 28, 2024

Here's a workaround I made. On Line 4498 of main.bb, you can find this code:

If (MouseX() > mouse_right_limit) Or (MouseX() < mouse_left_limit) Or (MouseY() > mouse_bottom_limit) Or (MouseY() < mouse_top_limit)
MoveMouse viewport_center_x, viewport_center_y
EndIf

Comment out or delete the If statement so you only have the movemouse command:

MoveMouse viewport_center_x, viewport_center_y

This fixes the bug but im not sure if it causes more issues or not. The comment on the line above references a bug relating to jittering that the if statement fixes, but i haven't done enough tests to see if this fixes the bug or not.

Edit: Making Code Elements more apparent, and adjusted wording in title of comment.

from scpcb.

VaneBrain avatar VaneBrain commented on June 28, 2024

The whole thing happens because of Windows GUI scale. Because of it the game can't detect the resolution correctly.

The fix is either setting a tick for DPI override to be controlled by the application (this can be done in exe's properties in Compatibility tab) or by setting general Windows GUI scale to 100%

from scpcb.

darthvader45 avatar darthvader45 commented on June 28, 2024

Sounds more like a workaround rather than a fix, but you do you.

from scpcb.

theOneTrueFunniBoi avatar theOneTrueFunniBoi commented on June 28, 2024

Yeah, but for now it works and that's what matters.

from scpcb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.