Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/caviar/web/dist/mod.js>TextureSprite

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

Constructors

new
TextureSprite(
_scene,
x,
y,
texture,
)

Properties

data
palette
pixelHeight
pixelWidth
texture