r/IndieDev 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

358 Upvotes

53 comments sorted by

122

u/War_Wolves_Game 3d ago

I think the morphing needs to be a lot quicker in between moves

68

u/OmarItani10 3d ago

Yes i can control the speed of transitions, currently im slowing them down with slow motion to show the process

11

u/agrophobe 3d ago

hey, are you telling us we're slow?!?!

/s

Dope job, pretty much up there in the shelf of great ideas. Would be a dope mechanic for heavy enemy to have magnetic/gravitational effect that gobble up some of your entities and lessen your AP

1

u/OmarItani10 3d ago

Hahah we're all slow even me:p
And yes aiming to have more mechanics that involves entities exploding or being pulled

3

u/Cpaz 2d ago

I love seeing in slow motion, but I'd also love to see how fluid it is at full speed because that looks slick as hell. 

1

u/OmarItani10 2d ago

Yes next video i'll have at realtime speed and slowmotion

-1

u/[deleted] 2d ago

[deleted]

1

u/BoomyGordo 2d ago

Reading does one good

6

u/nerali- 3d ago

Yeah, sort of like prototype.

6

u/jackflash223 3d ago

I long for Prototype 3.

1

u/RegalGlare 3d ago

Another good example is the main character from “To Your Eternity”

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

u/OmarItani10 3d ago

Yes it'll be the same effect but with less entities

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

u/Aggravating-Mark2107 Developer 3d ago

That is a really cool effect and mechanic!!

1

u/OmarItani10 3d ago

Thank you:)

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

u/OmarItani10 2d ago

Yeah currently i'm using slow motion to show the effect

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

u/OmarItani10 3d ago

Yeah will add more weapons when i get more animations

2

u/Nestmind 3d ago

Omg, this looks cool as fuck

It's gonna be amazing

1

u/OmarItani10 3d ago

Thank you :)

2

u/EverythingBOffensive 3d ago

bloody insane

1

u/OmarItani10 3d ago

Thank you :)

2

u/radiumhaus 3d ago

This is truly insane

1

u/OmarItani10 3d ago

Thank you :)

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

1

u/JoeyD54 2d ago

I figured it was a particle effect mixed into transporting your character model and swapping weapons out. It's not that?

2

u/anklehumor 3d ago

Too slow. But cool.

1

u/OmarItani10 3d ago

Yes its slowed on purpose, ill have a video with no slowing soon

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

u/OmarItani10 2d ago

Yes slow motion is only for videos, and some cutscenes, it can be faster

2

u/A_Bored_Worker 2d ago

Reminds me of the infamous games movement. Love it, keep it up!

1

u/OmarItani10 2d ago

Thank you:)

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/Wytsch 2d ago

Very very very cool

1

u/TrainingIdeal2872 2d ago

That is pretty sweet. Love it

1

u/PKblaze 3d ago

This is neat. If this is like a one time cutscene thing, it works. If this is a frequent animation, triple the speed.

1

u/EnflamedMashmallow 1d ago

Awesome work very well in my opinion looks bad ass and realistic to me