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
Start
Assets
Game Obj
Components
Input
Events
Info
Math
Rendering
Draw
Debug
Plugins
Miscalenous