O Ilusionista
Captain 100K
Help a rusty developer get back to programming, lol.
I wanted to recreate an ability of Vision in the game Marvel strike force: there he has a probability of "phasing out" when the enemy attacks him (that is, he becomes intangible).
See the move in action (2:13)
Would it have a take damage or an ondoattack? I think the second one, right?
In the game, when this chance happens, he strikes a pose and the attacker simply passes through him.
So I think it would be a case of calculating a random chance and, if that chance falls, it would simply change animation to one without the bbox and nullify the attack.
Am I right?
I wanted to recreate an ability of Vision in the game Marvel strike force: there he has a probability of "phasing out" when the enemy attacks him (that is, he becomes intangible).
See the move in action (2:13)
Would it have a take damage or an ondoattack? I think the second one, right?
In the game, when this chance happens, he strikes a pose and the attacker simply passes through him.
So I think it would be a case of calculating a random chance and, if that chance falls, it would simply change animation to one without the bbox and nullify the attack.
Am I right?