Your Ad Here
Recent Changes - Search:

Wiki

M.U.G.E.N

Rules

Wiki Contributors

SiteAdmin

edit SideBar

InfinitePriority

Languages:

What is Infinite Priority?

Infinite Priority is when a move can not be defeated, or the character doing the move can't be hit out of it. The technical way of say this is when you have a collision 1 box (attacking hitbox) but no collision 2 box (hit detection box) overlapping it or around it. An easy way to set a clsn 2 with the right priority is by subtracting 1 from the first 2 numbers of the clsn 1 box and add 1 to the other 2.

Example Attack hit box

Clsn1: 1

  Clsn1[0] = 16, -80, 61, -71

How to set a perfect hit detection box

Clsn1: 1

  Clsn1[0] = 16-1, -80-1, 61+1, -71+1

Clsn2: 1

  Clsn2[0] = 15, -81, 62, -70

Some examples of good and bad placement.

In this example Kung Fu Man has a clsn2 box right ontop of a clsn 1 box. This is ok, but the last example gives the best results, this is because of the time it takes to detect collisions. Since these are ontop of each other they are evaluated on a certain case basis, not one after another in a specific order.

In this one Kung Fu Man has no clsn2 box on or around the clsn1 box, this cause this move to have infinite priority over other moves. Because u can't hit Kung Fu Man's arm. Never set collision boxes this way.

In this example Kung Fu Man has a clsn2 overlapping his clsn1 box this move has perfect priority, if Kung Fu Man was fighting himself and they did this move at the same time they would hit each other because the clsn 2 box would be detected first then the clsn 1 box so both hits would be counted and interrupt each other at the same time as well.


Upload A Picture

Click here to leave comments

Backlinks

Edit - History - Print - Recent Changes - Search
Page last modified on October 05, 2009, at 12:22 AM