MakeCode-Arcade-ready, fully-animated sprites with the option to add movement mechanics!
Check out the Tool: HERE
Check out the Tutorial: HERE
Sprite sheets into Makecode Arcade in seconds! ![]()
MakeCode-Arcade-ready, fully-animated sprites with the option to add movement mechanics!
Check out the Tool: HERE
Check out the Tutorial: HERE
Sprite sheets into Makecode Arcade in seconds! ![]()
Demo Project: HERE
This was all generated by my tool, the only thing I had to change was the names for the anims like āWalk_Rightā when I went back to Blocks mode.
![]()
Wowowowowowow
Also Iād like to point out the possible bug
You forgot the update the enum āActionKindā to address the possible new Action Kinds.
The reason as to why it may switch back as it doesnāt find a ActionKind for that, so it switches to a preset already included within the ActionKind.
To fix this bug, I suggest adding a script that adds this to the enum.
For example, hereās a script that would accommodate an āAttackingā action:
enum ActionKind {
Walking,
Idle,
Jumping,
Attacking,
}
Then after switching back, the ActionKinds with āAttackingā shouldnāt change.
Be sure to add this to the top of your generative typescript, thanks.
Youāre partially right.
Yes, the Blocks view needs to āknow aboutā the custom ActionKinds for them to appear in the dropdown.
But, you canāt redeclare the enum ActionKind; that would conflict with the existing enum from the character animation extension. Makecode would throw an error or just ignore it.
It already uses the namespace extension pattern (namespace ActionKind { export const Walk_Right = 1001; }, which is the correct TypeScript approach.
The actual issue is Makecodeās Blocks renderer seems to have its own internal registry for ākindsā thatās separate from the JavaScript enum values. Custom kinds need to be registered using MakeCodeās //% isKind decorator system, and that is already baked into the extension architecture. So, unfortunately not something you can just paste code with.
For now, youāll have to change the kinds when switching back to Blocksā¦
And Iāll work on my own Animation extension.
please stop cooking, its overwhelming
Haha thanks!
Iāve made a webpage hub for all the tools and extensions I have (and will) create so bookmark the link: HERE