Scratch for Java

Diese Seite ist noch nicht übersetzt. Sie wird in ihrer Originalsprache angezeigt.

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()

Teilbare URL erstellen

Abschnitte auswählen