Animation
Posted: 26 Jul 2024, 01:26
Hello, I want to learn on how to make animations for my project. However, my code didn't work on the for my sprite sheet.
{
"animation": {
"frameWidth": 64,
"frameHeight": 128,
"animationSpeed": 100,
"bmp": "11night_bmp.png",
"frames": [
{
"index": 0,
"x": 64,
"y": 128
},
{
"index": 1,
"x": 128,
"y": 256
{
"animation": {
"frameWidth": 64,
"frameHeight": 128,
"animationSpeed": 100,
"bmp": "11night_bmp.png",
"frames": [
{
"index": 0,
"x": 64,
"y": 128
},
{
"index": 1,
"x": 128,
"y": 256