Leather128 / LeatherEngine

Just a little engine I decided to make since nobody seemed to have true custom mod support.
GNU General Public License v3.0
71 stars 58 forks source link

Death animation on the same character #72

Closed dimuzicle closed 2 years ago

dimuzicle commented 2 years ago

Please check for duplicates or similar issues before asking your question.

What is your question?

can ya do that for now? and how?

Leather128 commented 2 years ago

wdym death animation on the same character?

dimuzicle commented 2 years ago

without bf-dead character

Leather128 commented 2 years ago

uh set the "deathCharacter" property in the config.json of the character to the character you want to be used (it can be the same character that is being played as)

dimuzicle commented 2 years ago

I tried but it's the same animation as bf one I use custom bf character that uses unique death animation

Leather128 commented 2 years ago

can i see the character's config.json?

dimuzicle commented 2 years ago

{ "defaultFlipX": true, "dancesLeftAndRight": false, "imagePath": "loly_bf_assets", "spritesheetType": "SPARROW", "barColor": [81, 201, 219], "deathCharacter": "bf-loly", "positionOffset": [0, 30], "offsetsFlipWhenEnemy": true, "offsetsFlipWhenPlayer": false, "animations": [ { "name": "idle", "animation_name": "BF idle dance", "fps": 24, "looped": false }, { "name": "singLEFT", "animation_name": "BF NOTE LEFT0", "fps": 24, "looped": false }, { "name": "singDOWN", "animation_name": "BF NOTE DOWN0", "fps": 24, "looped": false }, { "name": "singUP", "animation_name": "BF NOTE UP0", "fps": 24, "looped": false }, { "name": "singRIGHT", "animation_name": "BF NOTE RIGHT0", "fps": 24, "looped": false }, { "name": "singLEFTmiss", "animation_name": "BF NOTE LEFT MISS", "fps": 24, "looped": false }, { "name": "singDOWNmiss", "animation_name": "BF NOTE DOWN MISS", "fps": 24, "looped": false }, { "name": "singUPmiss", "animation_name": "BF NOTE UP MISS", "fps": 24, "looped": false }, { "name": "singRIGHTmiss", "animation_name": "BF NOTE RIGHT MISS", "fps": 24, "looped": false }, { "name": "hey", "animation_name": "BF HEY", "fps": 24, "looped": false }, { "name": "scared", "animation_name": "BF idle shaking", "fps": 24, "looped": false }, { "name": "firstDeath", "animation_name": "BF dies", "fps": 24, "looped": false }, { "name": "deathLoop", "animation_name": "BF Dead Loop", "fps": 24, "looped": true }, { "name": "deathConfirm", "animation_name": "BF Dead confirm", "fps": 24, "looped": false } ] }

dimuzicle commented 2 years ago

it's rosie week 2 mod btw

Leather128 commented 2 years ago

oops sorry

Leather128 commented 2 years ago

i forgot that the property name isn't deathCharacter it's deathCharacterName