Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.4.6/web/dist/mod.js";

Constructors

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

Properties

data
palette
pixelHeight
pixelWidth
texture