A dead simple 2D game engine for Go
853 matches across 1 category. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | geom_test.go | 1 | // Copyright 2014 Hajime Hoshi |
| LOW | generate.go | 1 | // Copyright 2015 Hajime Hoshi |
| LOW | generate.go | 21 | // |
| LOW | window.go | 1 | // Copyright 2019 The Ebiten Authors |
| LOW | window.go | 41 | WindowResizingModeOnlyFullscreenEnabled WindowResizingModeType = WindowResizingModeType(ui.WindowResizingModeOnlyFullsc |
| LOW | window.go | 101 | |
| LOW | window.go | 121 | // If ColorModeUnknown is passed, the window color mode is reset to the system default. |
| LOW | window.go | 141 | // The desired image sizes varies depending on platform and system settings. |
| LOW | window.go | 161 | // |
| LOW | window.go | 221 | // SetWindowSizeLimits sets the limitation of the window size on desktops. |
| LOW | window.go | 241 | // |
| LOW | window.go | 261 | // |
| LOW | window.go | 301 | // IsWindowBeingClosed returns true when the user is trying to close the window on desktops. |
| LOW | window.go | 321 | // |
| LOW | window.go | 341 | // SetWindowMousePassthrough works only on desktops. |
| LOW | colorm.go | 1 | // Copyright 2014 Hajime Hoshi |
| LOW | colorm.go | 21 | ) |
| LOW | colorm.go | 121 | // hueTheta is a radian value to rotate hue. |
| LOW | shader_test.go | 1 | // Copyright 2020 The Ebiten Authors |
| LOW | mousebuttons.go | 1 | // Copyright 2015 Hajime Hoshi |
| LOW | gameforui.go | 1 | // Copyright 2014 Hajime Hoshi |
| LOW | monitor.go | 1 | // Copyright 2023 The Ebitengine Authors |
| LOW | shader.go | 1 | // Copyright 2020 The Ebiten Authors |
| LOW | ebiten_test.go | 1 | // Copyright 2024 The Ebitengine Authors |
| LOW | imagetobytes_test.go | 1 | // Copyright 2016 The Ebiten Authors |
| LOW | colormode.go | 1 | // Copyright 2026 The Ebitengine Authors |
| LOW | run.go | 1 | // Copyright 2014 Hajime Hoshi |
| LOW | run.go | 41 | // An actual TPS is available by ActualTPS(), and the result might slightly differ from your expected TPS, |
| LOW | run.go | 61 | // Draw draws the game screen by one frame. |
| LOW | run.go | 81 | // It is ensured that Layout is invoked before Update is called in the first frame. |
| LOW | run.go | 121 | // even if the Ebitengine major version is not updated. |
| LOW | run.go | 141 | // ActualFPS returns the current number of FPS (frames per second), that represents |
| LOW | run.go | 181 | // SetScreenFilterEnabled enables/disables the use of the "screen" filter Ebitengine uses. |
| LOW | run.go | 201 | func IsScreenFilterEnabled() bool { |
| LOW | run.go | 221 | // RunGame must be called on the main thread. |
| LOW | run.go | 241 | } |
| LOW | run.go | 261 | |
| LOW | run.go | 281 | |
| LOW | run.go | 301 | // This is useful for GUI applications, but some APIs like [AppendInputChars]'s behavior is changed: |
| LOW | run.go | 321 | // |
| LOW | run.go | 381 | // On browsers, ScreenSizeInFullscreen returns the 'window' (global object) size, not 'screen' size. |
| LOW | run.go | 401 | // CursorMode returns CursorModeHidden on mobiles. |
| LOW | run.go | 421 | // Check for user interaction before calling capturing a cursor e.g. by IsMouseButtonPressed or IsKeyPressed. |
| LOW | run.go | 441 | // In fullscreen mode, the game screen is automatically enlarged |
| LOW | run.go | 461 | // IsFocused returns a boolean value indicating whether |
| LOW | run.go | 481 | // If the given value is true, the game runs even in background e.g. when losing focus. |
| LOW | run.go | 501 | // |
| LOW | run.go | 541 | // the game is updated whenever possible. |
| LOW | run.go | 561 | // See examples/skipdraw for GPU optimization with SetScreenClearedEveryFrame(false). |
| LOW | run.go | 601 | // MaxTPS returns the current maximum TPS. |
| LOW | run.go | 621 | // Deprecated: as of v2.4. Use ActualTPS instead. |
| LOW | run.go | 741 | } |
| LOW | run.go | 761 | } |
| LOW | blend.go | 1 | // Copyright 2022 The Ebitengine Authors |
| LOW | blend.go | 21 | ) |
| LOW | blend.go | 101 | // BlendFactorOne is a factor: |
| LOW | blend.go | 121 | // BlendFactorOneMinusSourceAlpha is a factor: |
| LOW | blend.go | 221 | // c_out = (BlendFactorSourceRGB) × c_src - (BlendFactorDestinationRGB) × c_dst |
| LOW | blend.go | 301 | |
| LOW | blend.go | 321 | // |
| 793 more matches not shown… | |||