SiliconGhetto Engine API
    Preparing search index...

    Variable libConst

    lib: { texture(name: string): string; sound(name: string): string } = ...

    Helper to build CDN URLs for built-in SiliconGhetto library assets.

    Type Declaration

    • texture: function
      • Get the CDN URL for a built-in texture by name.

        Parameters

        • name: string

          Texture name (without extension)

        Returns string

        The full CDN URL to the texture PNG

    • sound: function
      • Get the CDN URL for a built-in sound by name.

        Parameters

        • name: string

          Sound name (without extension)

        Returns string

        The full CDN URL to the sound WAV