Scratch for Java

Window::useSmoothPixelArt()

Smooth pixel art (Godot's "canvas items" way of showing pixel art): as usePixelArt(), but the camera moves without snapping and zoom works at any factor. The world is drawn at the window's resolution with the sprites still sampled by nearest neighbour, so every pixel stays a sharp square while things move \u2014 the grid wobbles by a screen pixel instead of the picture stepping whole stage pixels (the look of Hyper Light Drifter, as Godot's guide puts it). With it, scrolling does not need useFrameSmoothing(double). Call it before new Window.

Syntax

Java

.useSmoothPixelArt()

Return

void

useSmoothPixelArt()

Create Shareable URL

Select Sections