phaser-jsx
    Preparing search index...

    Variable StampConst

    Stamp: FC<
        ObjectProps<Stamp> & RecursivePartial<Stamp> & {
            frame?: string | number;
            texture: string | Texture;
        },
    > = ...

    A Stamp Game Object.

    A Stamp is a lightweight Game Object which ignores camera scroll and transform, so it is always rendered at a fixed position on-screen regardless of where the camera is looking. This makes it ideal for HUDs, score counters, overlays, and other screen-space elements that should not move with the game world.

    Its primary role is as an internal helper for DynamicTexture rendering, where it is used to draw (stamp) textures onto a DynamicTexture surface without the overhead of a full scene Game Object lifecycle. It is otherwise functionally similar to an Image Game Object.