Files
prosperon/sprite.cm
2025-12-22 16:21:21 -06:00

18 lines
274 B
Plaintext

// sprite
var sprite = {
pos: {x:0, y:0},
layer: 0,
image: null,
width: 1,
height: 1,
anchor_x: 0,
anchor_y: 0,
scale_x: 1,
scale_y: 1,
color: {r:1, g:1, b:1, a:1},
animation: null, // 'walk', 'attack', etc
frame: 0,
opacity: 1
}
return sprite