Unity
C#支持 Unity 6.3 与 2022.3 LTS,涵盖场景播放器、Canvas、Timeline、UI Toolkit,以及可选 URP 与 Addressables 集成。
专业 2D 骨骼动画编辑器
Cane 是一款桌面 2D 骨骼动画创作工具,集骨骼绑定、自适应网格蒙皮、IK 与物理动力学、可扩展插件及 AI MCP 协作于一体。导出轻量 .json / .caneb 资源,直接接入 Unity、Godot、Unreal、PixiJS、Cocos 与 LayaAir。
.caneb。
使用cane mcp纯代码制作cane骨骼动画,角色部件用js或者svg像素级绘制,做八方向的行走动画,不要每帧绘制,而是骨骼k帧,尽量复用部件图。
Use Cane MCP to make a Cane skeletal animation entirely in code. Draw the character parts pixel by pixel in JS or SVG and make an eight-direction walk. Animate it with bone keyframes instead of drawing every frame, and reuse as many parts as possible.
我会用 Cane MCP 和 cane-animation-commands 技能制作。先按参考图绘制可复用的 SVG 部件,再用骨骼关键帧做八向步态,并检查各方向的轮廓、落脚和循环衔接。
I’ll use Cane MCP and the cane-animation-commands skill. I’ll draw reusable SVG parts from the reference first, animate the eight walks with bone keyframes, and check the silhouettes, foot contacts, and loop seams in each direction.
正面和侧面会沿用参考图里的香蕉弧线、虎斑花纹和短爪比例。四个斜向视角会补画必要的轮廓,左右方向通过镜像复用;每段行走只在起点选定视角,之后由骨骼控制迈步和摆动。
For the front and side views I’ll keep the banana’s curve, the tabby markings, and the short paws from the reference. I’ll draw the silhouettes the four diagonal views need and mirror parts for the left and right directions. Each walk sets its view at the start, then the bones drive the steps and swaying motion.
八段循环已经写入 Cane,正侧面的落脚和摆臂在原生渲染里都能看清。背面检查时发现,两只爪子被外皮完全挡住了。我会调开它们的位置,再导出八向同屏预览。
All eight loops are in Cane. You can see the foot contacts and arm swings in the front and side renders. When I checked the rear view, the peel hid both paws completely. I’ll move them apart before exporting a preview of all eight directions together.
已用 Cane MCP 完成香蕉猫的 8 段原地行走循环。角色由代码绘制的 12 张 SVG 部件图组成,左右镜像复用,八个方向共用一套骨架。每段只在起点选择朝向,之后的迈步、摆爪、身体起伏和果柄晃动都由骨骼关键帧驱动。
打开 Cane 工程 · 下载完整工程包 · SVG 绘制源码 · 骨骼动画源码
每段 0.8 秒,30 FPS。工程已通过 Cane 校验,八个方向的首尾渲染逐像素一致。已检查关键姿势和落脚轮廓,连续播放的节奏未做人工复核。
I made eight in-place walk cycles for Banana Cat with Cane MCP. The character uses 12 SVG parts drawn in code. The left and right sides reuse mirrored parts, and all eight directions share one skeleton. Each clip sets the facing direction at the start. Bone keyframes then drive the steps, swinging paws, body bounce, and swaying banana stem.
Open the Cane project · Download the complete project · SVG drawing source · Skeletal animation source
Each cycle runs for 0.8 seconds at 30 fps. The project passed Cane’s validation, and the first and last frames match pixel for pixel in all eight directions. I checked the key poses and the outlines at foot contact. The rhythm of continuous playback hasn’t had a human review.
做一个手挡住眼睛嚎啕大哭,眼泪从两侧哗哗的落下的动画。绘制所需的图片,不要每都绘制,依旧骨骼k帧。
Make an animation where the cat covers its eyes with its paws and bawls, with tears pouring down both sides. Draw the images you need and keep using bone keyframes so you don’t have to redraw every frame.
我会在现有香蕉猫工程里新增一段正面大哭动画,沿用已有的脸和爪子,用骨骼关键帧控制抬爪捂眼、身体抽泣,以及两侧泪流和泪滴的下落。新增部件会用 SVG 绘制。
I’ll add a front-facing crying animation to the existing Banana Cat project. I’ll reuse the face and paws, draw the new parts in SVG, and use bone keyframes for raising the paws over the eyes, the sobs, and the streams and drops of tears on either side.
两只爪子已经能从身侧抬起并盖住眼睛。原生预览里,左侧泪流先涌出,右侧稍晚跟上,落地后溅起水花。我会导出完整动图,再对照修改前的工程检查八向行走。
Both paws now rise from the cat’s sides to cover its eyes. In the native preview the left stream of tears starts first and the right follows a little later. They splash when they hit the ground. I’ll export the full animation, then compare the eight walks with the original project.
已在香蕉猫工程中新增 cry-cover-eyes,一段 3.6 秒、30 FPS 的正面大哭循环。猫咪先抬起双爪捂住眼睛,随后张嘴抽泣,两股眼泪从爪子外侧涌出,落地溅起水花。
动作由骨骼关键帧驱动。双爪复用原来的部件,左右泪流共用一张 SVG,通过独立骨骼控制弯曲和落下的时差。已验证循环首尾画面一致,原有八向行走也通过了渲染对比。
打开 Cane 工程 · 下载含八向行走和大哭动画的完整工程包
I added cry-cover-eyes to the Banana Cat project. It’s a front-facing, 3.6-second crying loop at 30 fps. The cat raises both paws to cover its eyes, opens its mouth to sob, and two streams of tears spill past the outsides of its paws and splash on the ground.
Bone keyframes drive the movement. The paws reuse the existing parts, and both tear streams share one SVG. Separate bones control how they bend and how far apart in time they fall. I checked that the first and last frames match. The original eight walk cycles also passed a render comparison.
Open the Cane project · Download the full project with the eight walks and crying animation
使用cane mcp纯代码给这个角色制作cane骨骼动画,js或者svg纯代码绘制角色部件图。做一个捧腹大笑的动画。并且表情要做好。
Use Cane MCP to make a Cane skeletal animation for this character entirely in code. Draw the character parts in JS or SVG. Make it double over laughing, and pay close attention to its expressions.
我会用 Cane MCP 和 cane-animation-commands 技能制作动画,用代码绘制角色部件。表情会从抿嘴蓄笑过渡到挤眼张嘴,再配合双手压肚和身体前倾做出笑点。
I’ll use Cane MCP and the cane-animation-commands skill and draw the character parts in code. The dragon will start with its lips pressed together, then squeeze its eyes shut and open its mouth. Both hands pressing its belly and the forward bend will sell the laugh.
角色和表情部件已经用 SVG 画好。静止时保留了参考图的侧脸、绿眼和短平嘴;大笑时,眼睛和嘴可以分别切换形状,让角色先眯眼、再笑出声。现在开始绑定腹部和肩膀,让手掌能跟着肚子起伏。
I’ve drawn the character and its expressions in SVG. At rest it keeps the profile, green eyes, and short, straight mouth from the reference. The eyes and mouth can change shapes independently, so the dragon can squint before it laughs out loud. I’ll bind the belly and shoulders now so its palms follow the belly’s movement.
第一轮渲染里,角色弯腰最深时,远侧手掌和身体轮廓之间露出了一条缝,看起来像悬在肚皮上。我会调整这只手的运动弧线,同时把笑泪的起点移到外眼角,再复查整段循环。
In the first render a gap opens between the far hand and the body at the deepest bend. It makes the hand look as if it’s hovering over the belly. I’ll adjust its arc, move the laughter tears to the outer corners of the eyes, and check the whole loop again.
已用 Cane MCP 完成 4 秒、30 FPS 的「捧腹大笑」循环骨骼动画。角色先抿嘴憋笑,吸一口气后弯腰捧腹,笑到眯眼泛泪;中间短暂睁眼换气,再笑第二轮。眼睛和嘴型可以在 Cane 中分别调整。
打开 Cane 工程 · MP4 预览 · SVG 部件绘制源码 · 动画关键帧源码
已逐帧检查原生渲染,修正了深弯腰时远侧手掌的脱节。双脚全程贴地,循环首尾画面逐像素一致,工程通过 Cane 校验。
I made a four-second belly-laugh loop at 30 fps with Cane MCP. The dragon presses its lips together to hold back a laugh, takes a breath, then doubles over clutching its belly. Its eyes squeeze shut and fill with tears. Halfway through it opens them to catch its breath, then starts laughing again. You can adjust the eyes and mouth shapes separately in Cane.
Open the Cane project · MP4 preview · SVG parts source · Animation keyframe source
I checked the native render frame by frame and fixed the far hand coming away from the arm in the deepest bend. Both feet stay planted, the first and last frames match pixel for pixel, and the project passed Cane’s validation.
做一个奶龙放技能的动画,喷火,范围大一些
Make a special move for the dragon where it breathes fire. Give it a long reach.
我会沿用上一版的奶龙造型,用 Cane MCP 和 cane-animation-commands 技能制作喷火动作。角色会先吸气蓄力,再向左吐出逐渐展开的扇形火焰;预览会加宽,留出完整的攻击范围。
I’ll keep the dragon’s existing design and use Cane MCP and the cane-animation-commands skill for the fire attack. It will breathe in to build up, then blow a fan of fire to the left that gradually opens out. I’ll widen the preview to show its full reach.
火焰的动画也做好来
Make sure the flames themselves are animated well, too.
火焰本身也会动。点火时前缘会从嘴边冲出去,持续喷射时,亮芯、外焰和飞散的火星会以不同速度向前流动。收招时会先断开嘴边的火流,让远端余焰再翻卷、散开。
The flames themselves will move, too. At ignition the front will shoot out from the mouth. During the sustained breath, the bright core, outer flame, and sparks will travel forward at different speeds. At the end, the stream will cut off at the mouth first so the far end can curl and disperse.
喷流已经能从嘴边推进到约 3.6 个角色身宽。逐帧检查时发现,几颗上扬的火星擦到了预览上边缘;我正在给它们留出空间,并导出完整的技能预览。
The jet now reaches about 3.6 body widths from the mouth. A frame-by-frame check showed a few rising sparks brushing the top of the preview. I’m giving them more room and exporting the full move.
已在 Cane 工程中新增奶龙技能 「烈焰吐息」,全长 3.8 秒,30 FPS,喷射距离约为角色身宽的 3.6 倍。
奶龙先鼓起肚子吸气,嘴边亮起火星,再压低身体喷出扇形火焰。白热内芯向前流动,橙色外焰翻卷分叉,火星从边缘飞出。收招时嘴边先断火,远端余焰继续向前飘散。
打开 Cane 工程 · 查看 MP4 · 火焰绘制源码 · 技能动画源码
I added Fire Breath to the Cane project. It lasts 3.8 seconds at 30 fps, and the flames reach about 3.6 times the width of the dragon’s body.
The dragon’s belly swells as it breathes in. Sparks appear at its mouth, then it lowers its body and sends out a fan of fire. The white-hot core flows forward, the orange outer flames curl and fork, and sparks fly off the edges. As the move ends, the flame breaks at the mouth first, while the far end keeps drifting forward and dispersing.
Open the Cane project · View MP4 · Flame artwork source · Special move animation source
再做一个放屁起飞的动画
Make another animation where the dragon farts and takes off.
我会沿用现有奶龙骨架,用 Cane MCP 和 cane-animation-commands 再做一段「放屁起飞」。笑点放在起飞的瞬间:奶龙先憋住、蹲低,一团气从身后爆开,把它顶向半空;脚掌和影子会一起交代离地高度。
I’ll use the existing dragon rig, Cane MCP, and cane-animation-commands to make a fart-powered takeoff. The gag is the moment it leaves the ground. It holds it in, crouches, then a burst of gas from behind launches it into the air. The feet and shadow will show how high it goes.
第一版已经能读出完整的起飞动作:奶龙蹲低后向左上方窜起,双脚在空中错开,快落地时才收回。我在调整身后的气团,让它们被喷出后各自漂移、散成小缕,避免尾迹看起来像一串整齐的圆球。
The takeoff reads in the first version. The dragon crouches, shoots up and to the left, and spreads its feet in midair, pulling them in just before it lands. I’m adjusting the puffs so each one drifts off and breaks into wisps, instead of the trail looking like a string of evenly spaced balls.
已在 Cane 工程中新增 「噗噗起飞」,4.4 秒,30 FPS。奶龙先斜眼偷瞄、抿嘴蹲低,接着被身后三股淡绿色气团顶向左上方。它在半空瞪眼蹬腿,落地后红着脸挪回原位,最后又漏了一小口气。
打开 Cane 工程 · 查看 MP4 · 动作源码 · 气团与表情绘制源码
I added Toot Launch to the Cane project. It runs for 4.4 seconds at 30 fps. The dragon sneaks a sideways look, purses its lips, and crouches. Three pale-green puffs from behind propel it up and to the left. Its eyes go wide and its legs kick in midair. After landing, it blushes, shuffles back into place, and lets out one last little puff.
Open the Cane project · View MP4 · Animation source · Puff and expression artwork source
火焰你是用svg绘制的吗?
Did you draw the flames in SVG?
是的。奶龙喷火时的火焰轮廓、亮黄色内焰、白热焰芯和飞散的火星,都是用 JavaScript 生成的 SVG 路径画出来的。
导入 Cane 前,我把每一帧 SVG 渲染成透明 PNG。播放时,Cane 按时间轴切换这些图,并用嘴部骨骼控制喷射方向。火舌的翻卷来自逐帧变化的 SVG 曲线。
火焰绘制源码 · SVG 原图目录
Yes. I used JavaScript to generate the SVG paths for the flame’s outline, bright yellow inner flame, white-hot core, and flying sparks.
Before importing them into Cane, I rendered each SVG frame as a transparent PNG. In that version, Cane swaps the images on the timeline, and a bone at the mouth controls the direction of the jet. The curling flame shapes come from changing the SVG curves frame by frame.
Flame artwork source · Original SVG artwork directory
为什么体积这么大啊。能不能不要每帧的啊
Why is it so big? Can we do it without a separate image for every frame?
可以。上一版把许多形状相近的火焰和火星分别存成了 PNG,播放时按帧切换,所以会重复占空间。我会先量一下实际占用,再把喷火改成复用少量贴图,用 Cane 的网格变形和骨骼控制推进、翻卷和消散。
Yes. The previous version stored very similar flame and spark shapes as separate PNGs and swapped them frame by frame, so a lot of the space was duplicated. I’ll measure it, then reuse a small number of textures and use Cane’s mesh deformation and bones to push, curl, and disperse the flames.
量到了:喷流和飞散火星用了 61 张 PNG,合计 1,294,027 字节;另外,喷火 GIF 预览本身就有 2.72 MB。我会把喷流、焰芯和火星放进同一张图集,让它们在 Cane 里分开运动。
I measured 61 PNGs for the jet and flying sparks, totaling 1,294,027 bytes. The fire-breath preview GIF alone is 2.72 MB. I’ll put the jet, flame core, and sparks on one atlas and let them move independently in Cane.
已经把火焰改成了单张图集 + Cane 骨骼网格动画。上一版把形状相近的喷流和火星存成了 61 张 PNG,共 1.29 MB。现在整段喷火共用一张 25.4 KB 的图集,贴图体积减少约 98%。
火舌翻卷、焰芯起伏和火星飞散都由骨骼关键帧驱动,播放过程中不再逐帧换图。
下载精简 Cane 工程(529 KB,含三段动画和源码) ·
I changed the flames to a single texture atlas and a bone-driven mesh in Cane. The previous version stored similar jets and sparks in 61 PNGs totaling 1.29 MB. The entire fire effect now shares one 25.4 KB atlas, a reduction of about 98% in texture size.
Bone keyframes drive the curling flames, the pulsing core, and the flying sparks. There are no frame-by-frame image swaps during playback.
Download the compact Cane project (529 KB, including three animations and their source) ·
放屁起飞的气团也这样改一下,用骨骼带动,不要逐帧换图。
Change the puffs in the takeoff animation the same way. Drive them with bones instead of swapping images every frame.
我会把「放屁起飞」的气团也改成共享图集:贴着身体的喷气用骨骼网格做出脉冲,脱离角色的气团各自漂移、膨胀和消散。完成后会检查气团轨道的换图次数,并更新精简工程包。
I’ll put the takeoff puffs on a shared atlas, too. A bone-driven mesh will pulse the jet close to the body. Detached puffs will drift, expand, and dissipate independently. Afterward I’ll check the puff tracks for image swaps and update the compact project package.
喷口和五团尾气已经共用一张静态图集。预览里,气团两侧的小团块会在中心收缩时分开,尾迹逐渐变淡。接下来我会移除旧序列图,检查整段循环,并验证打包后的工程。
The nozzle and five trailing puffs now share one static atlas. In the preview, the smaller lobes on each side separate as the middle contracts, and the trail gradually fades. I’ll remove the old sequence images, check the whole loop, and verify the packaged project.
「放屁起飞」的气团已改为骨骼驱动。喷气、尾气和落地尘共用一张静态图集,靠骨骼弯曲、膨胀、分散,再淡出。已验证整段 4.4 秒动画的气团换图关键帧为 0。
特效贴图从 23 张、153 KB 降到 1 张、21.3 KB,减少约 86%。包含三段动画和源码的精简工程包现为 371 KB。
下载更新后的 Cane 工程 ·
The puffs in Toot Launch are now bone-driven. The jet, the trailing clouds, and the landing dust share one static atlas. Bones make them bend, expand, and spread apart before they fade. I verified that the entire 4.4-second animation has zero image-swap keyframes for the puffs.
The effect textures went from 23 images totaling 153 KB to one 21.3 KB image, about an 86% reduction. The compact project with all three animations and their source files now comes to 371 KB.
Download the updated Cane project ·
网格点数太多了。还有这几个动画关键帧太多了。能优化吗?
There are too many mesh vertices, and these animations have too many keyframes. Can you optimize them?
我会用 Cane MCP 和 cane-animation-commands 检查三段动画,先找出顶点最密的网格和接近逐帧采样的轨道,再做精简。优化后会用同一镜头对比前后画面,重点检查手掌贴腹、火焰轮廓和起飞落地。
I’ll use Cane MCP and cane-animation-commands to check all three animations, starting with the densest meshes and tracks that are nearly keyed on every frame. After simplifying them, I’ll compare renders with the same camera, focusing on the hands touching the belly, the flame silhouette, and takeoff and landing.
目前有 789 个网格顶点,其中身体占 441 个、近侧手臂占 150 个。按时间轴通道计数,起飞动画有 3,557 个关键帧,主要集中在双脚、腿和影子的逐帧轨道。我会优先精简这些位置,保留落地接触和表情切换的时刻。
There are 789 mesh vertices. The body accounts for 441 and the near arm for 150. Counting individual channels, the takeoff has 3,557 keys, mostly in the frame-by-frame tracks for the feet, legs, and shadow. I’ll start there and preserve the timings of the landing contact and expression changes.
测试工程里,网格已从 789 点降到 246 点,起飞动画从 3,557 个通道关键帧降到 1,018 个。角色升降现在只用 13 个位置关键帧。三段动画的嘴型和眼神切换都保留了原来的时刻,我正在对照渲染检查喷火和落地的画面。
In the test project the mesh is down from 789 vertices to 246, and the takeoff is down from 3,557 channel keys to 1,018. The character’s rise and fall now use just 13 position keys. Mouth and eye changes are still timed the same in all three animations. I’m comparing renders of the fire breath and the landing.
已优化三段 Cane 动画。网格顶点从 789 减到 246,三角形从 1,170 减到 204。按时间轴通道统计,关键帧总数从 6,021 减到 2,344,减少了 61%。
| 动画 | 优化前 | 优化后 | 预览 |
|---|---|---|---|
| 捧腹大笑 | 592 | 411 | |
| 烈焰吐息 | 1,872 | 915 | |
| 放屁起飞 | 3,557 | 1,018 |
火焰和气团继续由骨骼驱动,起飞时控制角色整体位移的轨道只用了 13 个关键帧。嘴型和眼神切换保留了原来的时刻。已用相同镜头对比 369 帧;火舌尖端和气团边缘有轻微差异,捧腹时的手掌位置和落地动作都已复查。
打开 Cane 工程 · 下载优化包(271 KiB,含 JS 和 SVG 源文件)
I optimized the three Cane animations. The mesh went from 789 vertices to 246 and from 1,170 triangles to 204. Counting keys across all timeline channels, the total dropped from 6,021 to 2,344, a 61% reduction.
| Animation | Before | After | Preview |
|---|---|---|---|
| Belly laugh | 592 | 411 | |
| Fire breath | 1,872 | 915 | |
| Fart-powered takeoff | 3,557 | 1,018 |
The flames and puffs are still bone-driven. The track that moves the whole character during takeoff uses just 13 keys. The mouth and eye changes kept their original timing. I compared 369 frames using the same camera. The tips of the flames and the edges of the puffs differ slightly. I also rechecked the hands during the laugh and the landing motion.
Open the Cane project · Download the optimized project (271 KiB, including the JS and SVG sources)
能制作转面360度旋转的动画吗?不要全通过生不同方向图来实现,而是只生成必要的,其他的需要通过骨骼动画的方式实现。
Can you make the character turn all the way around, 360°? Only generate the views you actually need and use skeletal animation for the rest.
我会用 cane-animation-commands 给现有工程加一段 360° 转身。先看现有部件在哪些角度还能复用,再补背面等被遮挡的造型,让中间角度靠骨骼和网格连续过渡。
I’ll use cane-animation-commands to add a 360° turn to the existing project. I’ll check which angles can reuse the existing parts, then draw the hidden shapes, such as the back. The bones and mesh will make the transition between views continuous.
现有身体图把奶黄色肚皮和外轮廓画在一起,直接翻转会让背面也带着肚皮。我会把这两层拆开,让肚皮沿身体表面转出视野。眼睛、嘴、手掌和腿可以复用原图,远侧手臂则用前后遮挡表现。
The existing body artwork combines the cream belly and outer silhouette. Flipping it would put the belly on the dragon’s back as well. I’ll split those layers so the belly can turn out of sight along the surface of the body. The eyes, mouth, palms, and legs can reuse the original art. Layering will take the far arm behind the body.
整圈已经可以在 Cane 里播放,首尾画面也已对齐。检查中间角度时,我发现远侧手掌露出来时,前臂有一小段被身体挡得过早。我正在把遮挡边界沿手肘和手腕分开控制,让手掌始终接得上前臂。
The full turn now plays in Cane and the first and last frames line up. At the in-between angles I found that part of the forearm disappears behind the body too early as the far hand comes into view. I’m adjusting the occlusion separately at the elbow and wrist so the palm stays connected to the forearm.
已在 Cane 工程中加入 「原地转身 360°」。奶龙用 4.8 秒转一圈,30 fps,首尾画面一致,可以循环播放。
整圈只新增了 1 张用 SVG 绘制的静态部件图集,眼睛、嘴、手掌和腿复用原素材。中间角度由骨骼和蒙皮连续形成:转向侧面时,五官沿头部弧面移动,肚皮逐渐收窄,手肘和手腕分别绕到身体后方。整段动画的换图关键帧为 0。
打开 Cane 工程 · 下载工程包(含 JS 和 SVG 源码) · 查看 MP4
I added a 360° Turn in Place to the Cane project. The dragon makes one full turn in 4.8 seconds at 30 fps. The first and last frames match so it can loop continuously.
The whole turn needed only one new static atlas drawn in SVG. The eyes, mouth, palms, and legs reuse the original artwork. Bones and skinning produce the in-between angles. As it turns sideways, the facial features travel around the curve of the head, the belly narrows, and the elbows and wrists pass behind the body in turn. The entire clip has zero image-swap keyframes.
Open the Cane project · Download the project with the JS and SVG sources · View MP4
这个转身的时候手不行啊
The hands don’t look right during the turn.
我会用 cane-animation-commands 把转身时的手臂和手掌单独放大检查,重点看手腕有没有脱节、远侧手是什么时候被身体挡住的,再用同一组角度对比修改效果。
I’ll use cane-animation-commands to look closely at the arm and hand during the turn. I’ll check whether the wrist comes apart and when the body hides the far hand, then compare the same angles after the fix.
能看到很明显的切换
You can clearly see the switch.
明白,你看到的是手绕到身体侧面时突然跳了一下。我会把手掌和前臂连成同一张蒙皮,让它们沿身体轮廓连续转过去,重点检查原来发生切换的那几帧。
I see the jump you mean as the hand moves around the side of the body. I’ll join the palm and forearm into a single skinned mesh so they move continuously around the silhouette, then check the frames where the switch used to happen.
之前远侧手掌转到身体边缘时,会被遮罩突然切掉一块。我已把手掌和前臂连成同一张蒙皮。现在转向侧面时,手指会逐渐变窄,再绕到身后,整圈没有手部换图或显隐切换。
已逐帧检查完整一圈,首尾画面一致。可以用半速特写看清这段过渡。
手部半速特写 · · 更新后的 Cane 工程包
The mask used to cut off part of the far hand as it reached the edge of the body. I joined the palm and forearm into one skinned mesh. Now the fingers gradually narrow as the dragon turns sideways, then pass behind the body. The hands no longer swap images or toggle visibility during the turn.
I checked the full turn frame by frame, and the first and last frames match. The half-speed close-up shows how the hand passes behind the body.
Half-speed close-up of the hand · · Updated Cane project package
能不能制作一个一边旋转一边喷火放屁的,放屁不用起飞。还是保持好顶点数和关键帧数量。
Can you make it spin, breathe fire, and fart at the same time, but keep it on the ground? Keep the vertex and keyframe counts under control.
我会用 cane-animation-commands 在现有工程里加一段组合动画。先检查转身、火焰和气团能共用哪些骨骼,再把火焰接到转动的嘴边、把气团留在身后,同时核对脚底接地、顶点数和关键帧数。
I’ll use cane-animation-commands to add a combined animation to the existing project. I’ll check which bones the turn, flame, and puffs can share, attach the flame to the turning mouth, and leave the puffs trailing behind. I’ll also check foot contact, vertex count, and keyframe count.
这段可以复用现有的转身、火焰和气团网格。火焰会随嘴部扫过一整圈,气团喷出后会沿当时的方向继续飘散;脚底只随转身换位,身体保持在地面上。
This can reuse the existing meshes for the turn, flames, and puffs. The flame will sweep a full circle with the mouth. Each puff will keep drifting in the direction it was released. The feet will only shift to turn, keeping the body on the ground.
组合动作已在测试工程里跑通:转一圈持续喷火,期间有四次气团从身后喷出。工程仍是 552 个网格顶点,新动作共 754 个通道关键帧,比单独转身多 187 个。脚底轨迹也已核对,现在正在检查整圈预览的画幅和循环接缝。
The combined move works in the test project. The dragon breathes fire through a full turn and releases four puffs behind it. The project still has 552 mesh vertices. The new clip has 754 channel keys, 187 more than the turn alone. I’ve checked the foot paths and am now checking the framing and the loop seam.
已在 Cane 工程中新增 「回旋喷火 · 连环噗」。奶龙用 4.8 秒在原地转一圈,火焰跟着嘴部扫过 360°,身后分四次喷出气团。气团离身后沿喷出时的方向飘散,双脚始终贴地。
复用了现有骨骼、网格和贴图,新增顶点 0 个,新增贴图 0 张。整段共 754 个通道关键帧,比单独转身多 187 个。已核对首尾画面完全一致,可以连续循环。
打开 Cane 工程 · 下载工程包(含源码) · 查看高清 MP4
I added Spinning Fire Breath with Puffs to the Cane project. The dragon turns in place once over 4.8 seconds. The fire follows its mouth through 360°, while four puffs shoot out behind it. Once released, each puff keeps drifting in its original direction. Both feet stay planted.
I reused the existing bones, meshes, and textures, adding zero vertices and zero textures. The animation has 754 channel keyframes, 187 more than the turn on its own. I checked that the first and last frames match exactly for a continuous loop.
Open the Cane project · Download the project with source · View the HD MP4
INDEPENDENT RUNTIMES
官方维护独立跨语言运行时仓库 bucool/cane-runtimes,覆盖 TypeScript、C#、C++ 与 Lua 核心,为各大 2D/3D 引擎提供开箱即用的渲染与生命周期集成。
支持 Unity 6.3 与 2022.3 LTS,涵盖场景播放器、Canvas、Timeline、UI Toolkit,以及可选 URP 与 Addressables 集成。
基于 Godot 4.5 原生 GDExtension,支持场景与 UI 节点渲染、骨骼挂载与动画状态控制。
适配 Unreal 5.8 原生资源导入,支持场景与 UMG 渲染、蓝图控制及角色挂点。
深度适配 PixiJS v8,面向网页游戏与互动内容提供高效的资源加载、渲染与生命周期管理。
支持 Cocos Creator 3.8.8 预制体导入、场景与 UI 渲染,复用统一 TypeScript 动画核心。
支持 LayaAir 3.4.1 场景/UI 渲染、裁剪遮罩与资源生命周期管理,适配 H5 与小游戏分发。
面向 Three.js 场景提供 2D 骨骼网格渲染、材质混合与插槽挂件能力。
提供原生 Lua 5.4 动画核心与 UrhoX 网格渲染、游戏物体挂载支持。
PLUGIN EXTENSIBILITY
Cane 内置开箱即用的安全插件体系,无需额外安装本地开发环境;所有插件修改均纳入工程事务,支持完整撤销与校验。
插件可直接扩展独立窗口、停靠标签页、属性分组、工具栏按钮以及交互式画布绘制工具,与原生界面视觉风格保持一致。
通过插件管理器一键安装官方 Spine 插件,支持 3.8 至 4.3 版本的 JSON、.skel 二进制与图集导入导出,并清晰提示版本差异。
同一插件可在桌面菜单与命令行中复用,支持批量导入骨架、资产规范检查、自定义导出器与团队内部工具集成。
DOWNLOAD
Windows 版包含桌面编辑器和命令行工具,可从 Cane 的 GitHub 仓库下载。
Cane 是一款桌面 2D 骨骼动画编辑器,面向游戏开发团队与独立动画师,提供骨骼绑定、网格蒙皮、自动权重、IK 与物理约束以及动画曲线编辑,导出轻量 .json 和 .caneb 二进制动画资源。
官方在 github.com/bucool/cane-runtimes 提供 TypeScript、C#、C++ 与 Lua 独立运行时,支持 Unity、Godot、Unreal Engine、PixiJS、Cocos Creator、LayaAir、Three.js 与 TapTap Maker(UrhoX)。
只需将支持 MCP 的 AI 客户端连接至 Cane,即可用自然语言让 AI 创建骨骼层级、绑定权重、设置关键帧与曲线,并自动渲染预览帧校验效果;桌面编辑器实时同步,随时可撤销或手工精修。
可以。通过 Cane 插件管理器安装官方 Spine 插件,即可导入或导出 Spine 3.8–4.3 的 JSON、.skel 骨架与图集文件。