Function
drawSprite
(opt: DrawSpriteOpt): voidDraw a sprite.
param
opt- The draw sprite options.
drawSprite({
sprite: "bean",
pos: vec2(100, 200),
frame: 3,
});
since
v2000.0
group
Draw
Draw a sprite.
param
opt- The draw sprite options.
drawSprite({
sprite: "bean",
pos: vec2(100, 200),
frame: 3,
});
since
v2000.0
group
Draw
Assets
Game Obj
Components
Component Types
Scene
Input
Events
Info
Math
Layer
Camera
Layers
Level
Draw
Plugins
Button Bindings
GFX
Miscalenous