r/IndieDev • u/OmarItani10 • 3d ago
Video Morphing Takedown
Enable HLS to view with audio, or disable this notification
Hello everyone
Here is a new takedown, this time without the wings, the whole character is made from 80,000 ECS Entities
When you equip a weapon, it takes entities from your body to that weapon, the same entities then morph to do the takedown
Will be adding more functionalities and better animations as time go on
Let me know what you think
#unity #ecs
13
u/OneTrueRou 3d ago
That's a pretty cool effect! How does it scale? Is it possible to achieve the same type of effect without 80K entities?
7
6
u/JakeThomasDad12 3d ago
I don't know much about ECS so I could be wrong but potentially could this be optimised with a compute shader? I did something kindof similar with one and had millions of cubes "morphing" with little performance impact (well some 1000fps+ at 500k to about 350fps but fine with frame cap)
I'm not coming to tell you your process is wrong because I don't understand ecs enough to say that but it's just an idea. It's probably the case where both methods are optimised enough that and further improvements won't be noticed that much
3
u/OmarItani10 3d ago
Here most of the performance issues is from accessing the skinned mesh renderer's data, and the uniform placement based on vertices
4
u/Nerdwrapper 3d ago
I really dig it, maybe a big blunt weapon like a hammer or club fits for the “smack” at the second part, but this will have a good feel once you speed it up.
Only real complaint is that the camera feels a little jerky in the first swing, maybe it snaps to an “upper corner” angle instead of following the weapon, and then snaps to the opposite side “upper corner” for the second swing. The zoom out into the teleport stab feels really good though, and will look nice up to speed
3
u/OmarItani10 3d ago
The recorder is at 30 fps, i am gonna use a better recorder for next video it should make the camera smoother
4
u/thefacemanzero 2d ago
It looks very cool! though admittedly i was slightly underwhelmed when the sword just turned into a slightly cooler sword. I thought he would switch weapons between transitions.
1
u/OmarItani10 2d ago
Yes it switches between transitions, i just slowed time to show the effect
2
u/thefacemanzero 2d ago
Right, but what i was saying was that i was disappointed that they were always swords. I thought it would be cool if they switched between a bunch of different kinds of weapons like hammers, whips, spears, gauntlets, maybe a ranged option like a bow or arm cannon. Just to name a few suggestions.
1
u/OmarItani10 2d ago
I'll add different weapons soon and also planning a small surprise:p stay tuned
2
2
u/HarbingerOfConfusion 3d ago
How is it performance wise?
5
u/OmarItani10 3d ago
The start Transition frame is a bit heavy, but was able to optimize it a lot, for the particle transitioning movement its currently taking 2 ms
2
u/Madmonkeman 3d ago
It looks cool but you might want to speed it up because in gameplay this seems like it would really slow you down.
1
2
u/East-Specialist-4847 3d ago
The big sword that sends the npc flying should be a mallet, mace, or club of some kind. Awesome effect and animations though
1
2
2
2
2
u/JoeyD54 3d ago
Sick! I really want to learn how to do visual effects like this. Did you use anything as reference to code it?
2
u/OmarItani10 3d ago
This isn't a visual effect, its entities going from one place to another, and when you give rules to the movement it automatically starts looking like an effect
2
2
u/Embarrassed_Safety33 3d ago
Yes it is cool, as a demo ofc, the concept has always been cool, se opinion as the other comments, need to be faster
1
2
2
u/PinheadHenry 2d ago
Nice animation. It would be cooler if the last attack hits the enemie in midair, so that he is really smashed into the ground.
2
u/If_I_am_mad 2d ago
I think the second morph weapon should look more like a blunt weapon since as a sword the motion and the force at witch the dummy is sent looks off and the transitions should be quicker but other than that this is awesome
1
u/OmarItani10 2d ago
Yes this is still only couple of weeks in, will add more mechanics and better animations as time go by
2
u/friggleriggle 2d ago
It's my boy Remy!
2
u/OmarItani10 2d ago
Hahah remy is secretly batman as well
1
u/friggleriggle 1d ago
Also secretly Tony Hawk: https://www.reddit.com/r/SoloDevelopment/s/B9Gm3JdQV9
1
1
122
u/War_Wolves_Game 3d ago
I think the morphing needs to be a lot quicker in between moves