Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/caviar/web/mod.ts>Atlas

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Latest
class Atlas
extends Entity
import { Atlas } from "https://deno.land/x/caviar@2.6.7/web/mod.ts";

Constructors

new
Atlas(_atlas: any, type?: string)

Properties

atlas: PhaserAtlas | PixiAtlas | GodotAtlas
bitmap: ImageBitmap
image: HTMLImageElement
readonly
imgUrl: string
preloaded: boolean

Methods

getFrame(key: string): Frame
load(): Promise<Atlas>