|
|
|
@ -51,31 +51,73 @@ public class BlueNormals {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static Frame crouchAFrame2(){
|
|
|
|
|
Passive_HitBox bStandPHB1 = new Passive_HitBox(70,70,150,500);
|
|
|
|
|
Passive_throw_HitBox bStandPTHB1 = new Passive_throw_HitBox(70,400,150,100);
|
|
|
|
|
Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500);
|
|
|
|
|
//movement data
|
|
|
|
|
double moveX = 0.0;
|
|
|
|
|
double moveY = 0.0;
|
|
|
|
|
|
|
|
|
|
//cancelData
|
|
|
|
|
boolean normalC = false;
|
|
|
|
|
boolean specialC = false;
|
|
|
|
|
boolean jumpC = false;
|
|
|
|
|
boolean moveC = false;
|
|
|
|
|
boolean dashC = false;
|
|
|
|
|
|
|
|
|
|
//hitbox lists
|
|
|
|
|
ArrayList<Active_HitBox> ahb = new ArrayList<Active_HitBox>();
|
|
|
|
|
ArrayList<Active_throw_Hitbox> athb = new ArrayList<Active_throw_Hitbox>();
|
|
|
|
|
ArrayList<Passive_HitBox> phb = new ArrayList<Passive_HitBox>();
|
|
|
|
|
ArrayList<Passive_throw_HitBox> pthb = new ArrayList<Passive_throw_HitBox>();
|
|
|
|
|
phb.add(bStandPHB1);
|
|
|
|
|
pthb.add(bStandPTHB1);
|
|
|
|
|
Frame blueStandframe1 = new Frame(0.0,0.0,phb,new ArrayList<Active_HitBox>(),pthb,new ArrayList<Active_throw_Hitbox>(),
|
|
|
|
|
bStandPB1,false,false,false,false,false);
|
|
|
|
|
blueStandframe1.setSpriteWrap(138,(138*2),138,138);
|
|
|
|
|
return blueStandframe1;
|
|
|
|
|
|
|
|
|
|
//generate hitboxes here and then use ArrayList add method to add them to the correct list
|
|
|
|
|
Push_HitBox pB = new Push_HitBox(140*1.25f,-250*1.25f,280*1.25f,300*1.25f);
|
|
|
|
|
Passive_HitBox phb1 = new Passive_HitBox(200*1.25f,-250*1.25f,200*1.25f,300*1.25f);
|
|
|
|
|
Passive_HitBox phb2 = new Passive_HitBox(260*1.25f,-200*1.25f,80*1.25f,50*1.25f);
|
|
|
|
|
Passive_HitBox phb3 = new Passive_HitBox(200*1.25f,-250*1.25f,400,50*1.25f);
|
|
|
|
|
Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(150*1.25f,-500*1.25f,300*1.25f,70*1.25f);
|
|
|
|
|
Active_HitBox ahb1 = new Active_HitBox(420,-300,250,90);
|
|
|
|
|
pthb.add(pthb1);
|
|
|
|
|
phb.add(phb1);
|
|
|
|
|
phb.add(phb2);
|
|
|
|
|
phb.add(phb3);
|
|
|
|
|
ahb.add(ahb1);
|
|
|
|
|
|
|
|
|
|
Frame f = new Frame(moveX,moveY,phb,ahb,pthb,athb,pB,normalC,specialC,jumpC,moveC,dashC);
|
|
|
|
|
|
|
|
|
|
f.setSpriteWrap(138,(138*2),138,138);
|
|
|
|
|
return f;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static Frame crouchAFrame3(){
|
|
|
|
|
Passive_HitBox bStandPHB1 = new Passive_HitBox(70,70,150,500);
|
|
|
|
|
Passive_throw_HitBox bStandPTHB1 = new Passive_throw_HitBox(70,400,150,100);
|
|
|
|
|
Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500);
|
|
|
|
|
//movement data
|
|
|
|
|
double moveX = 0.0;
|
|
|
|
|
double moveY = 0.0;
|
|
|
|
|
|
|
|
|
|
//cancelData
|
|
|
|
|
boolean normalC = false;
|
|
|
|
|
boolean specialC = true;
|
|
|
|
|
boolean jumpC = false;
|
|
|
|
|
boolean moveC = false;
|
|
|
|
|
boolean dashC = false;
|
|
|
|
|
|
|
|
|
|
//hitbox lists
|
|
|
|
|
ArrayList<Active_HitBox> ahb = new ArrayList<Active_HitBox>();
|
|
|
|
|
ArrayList<Active_throw_Hitbox> athb = new ArrayList<Active_throw_Hitbox>();
|
|
|
|
|
ArrayList<Passive_HitBox> phb = new ArrayList<Passive_HitBox>();
|
|
|
|
|
ArrayList<Passive_throw_HitBox> pthb = new ArrayList<Passive_throw_HitBox>();
|
|
|
|
|
phb.add(bStandPHB1);
|
|
|
|
|
pthb.add(bStandPTHB1);
|
|
|
|
|
Frame blueStandframe1 = new Frame(0.0,0.0,phb,new ArrayList<Active_HitBox>(),pthb,new ArrayList<Active_throw_Hitbox>(),
|
|
|
|
|
bStandPB1,false,true,false,false,false);
|
|
|
|
|
blueStandframe1.setSpriteWrap((138*2),(138*2),138,138);
|
|
|
|
|
return blueStandframe1;
|
|
|
|
|
|
|
|
|
|
//generate hitboxes here and then use ArrayList add method to add them to the correct list
|
|
|
|
|
Push_HitBox pB = new Push_HitBox(140*1.25f,-250*1.25f,280*1.25f,300*1.25f);
|
|
|
|
|
Passive_HitBox phb1 = new Passive_HitBox(200*1.25f,-250*1.25f,200*1.25f,300*1.25f);
|
|
|
|
|
Passive_HitBox phb2 = new Passive_HitBox(260*1.25f,-200*1.25f,80*1.25f,50*1.25f);
|
|
|
|
|
Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(150*1.25f,-500*1.25f,300*1.25f,70*1.25f);
|
|
|
|
|
pthb.add(pthb1);
|
|
|
|
|
phb.add(phb1);
|
|
|
|
|
phb.add(phb2);
|
|
|
|
|
|
|
|
|
|
Frame f = new Frame(moveX,moveY,phb,ahb,pthb,athb,pB,normalC,specialC,jumpC,moveC,dashC);
|
|
|
|
|
|
|
|
|
|
f.setSpriteWrap(0,138*2,138,138);
|
|
|
|
|
return f;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static attackPart blueCrouchAstartup() {
|
|
|
|
@ -114,30 +156,68 @@ public class BlueNormals {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static Frame crouchCFrame1() {
|
|
|
|
|
Passive_HitBox bStandPHB1 = new Passive_HitBox(70,70,150,500);
|
|
|
|
|
Passive_throw_HitBox bStandPTHB1 = new Passive_throw_HitBox(70,400,150,100);
|
|
|
|
|
Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500);
|
|
|
|
|
//movement data
|
|
|
|
|
double moveX = 0.0;
|
|
|
|
|
double moveY = 0.0;
|
|
|
|
|
|
|
|
|
|
//cancelData
|
|
|
|
|
boolean normalC = false;
|
|
|
|
|
boolean specialC = true;
|
|
|
|
|
boolean jumpC = false;
|
|
|
|
|
boolean moveC = false;
|
|
|
|
|
boolean dashC = false;
|
|
|
|
|
|
|
|
|
|
//hitbox lists
|
|
|
|
|
ArrayList<Active_HitBox> ahb = new ArrayList<Active_HitBox>();
|
|
|
|
|
ArrayList<Active_throw_Hitbox> athb = new ArrayList<Active_throw_Hitbox>();
|
|
|
|
|
ArrayList<Passive_HitBox> phb = new ArrayList<Passive_HitBox>();
|
|
|
|
|
ArrayList<Passive_throw_HitBox> pthb = new ArrayList<Passive_throw_HitBox>();
|
|
|
|
|
phb.add(bStandPHB1);
|
|
|
|
|
pthb.add(bStandPTHB1);
|
|
|
|
|
Frame f = new Frame(0.0,0.0,phb,new ArrayList<Active_HitBox>(),pthb,new ArrayList<Active_throw_Hitbox>(),
|
|
|
|
|
bStandPB1,false,false,false,false,false);
|
|
|
|
|
f.setSpriteWrap((138*6),(138*2),138,138);
|
|
|
|
|
|
|
|
|
|
//generate hitboxes here and then use ArrayList add method to add them to the correct list
|
|
|
|
|
Push_HitBox pB = new Push_HitBox(140*1.25f,-250*1.25f,280*1.25f,300*1.25f);
|
|
|
|
|
Passive_HitBox phb1 = new Passive_HitBox(200*1.25f,-250*1.25f,200*1.25f,300*1.25f);
|
|
|
|
|
Passive_HitBox phb2 = new Passive_HitBox(260*1.25f,-200*1.25f,80*1.25f,50*1.25f);
|
|
|
|
|
Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(150*1.25f,-500*1.25f,300*1.25f,70*1.25f);
|
|
|
|
|
pthb.add(pthb1);
|
|
|
|
|
phb.add(phb1);
|
|
|
|
|
phb.add(phb2);
|
|
|
|
|
|
|
|
|
|
Frame f = new Frame(moveX,moveY,phb,ahb,pthb,athb,pB,normalC,specialC,jumpC,moveC,dashC);
|
|
|
|
|
|
|
|
|
|
f.setSpriteWrap(138*0,138*2,138,138);
|
|
|
|
|
return f;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static Frame crouchCFrame2() {
|
|
|
|
|
Passive_HitBox bStandPHB1 = new Passive_HitBox(70,70,150,500);
|
|
|
|
|
Passive_throw_HitBox bStandPTHB1 = new Passive_throw_HitBox(70,400,150,100);
|
|
|
|
|
Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500);
|
|
|
|
|
protected static Frame crouchCFrame2() {
|
|
|
|
|
//movement data
|
|
|
|
|
double moveX = 0.0;
|
|
|
|
|
double moveY = 0.0;
|
|
|
|
|
|
|
|
|
|
//cancelData
|
|
|
|
|
boolean normalC = false;
|
|
|
|
|
boolean specialC = true;
|
|
|
|
|
boolean jumpC = false;
|
|
|
|
|
boolean moveC = false;
|
|
|
|
|
boolean dashC = false;
|
|
|
|
|
|
|
|
|
|
//hitbox lists
|
|
|
|
|
ArrayList<Active_HitBox> ahb = new ArrayList<Active_HitBox>();
|
|
|
|
|
ArrayList<Active_throw_Hitbox> athb = new ArrayList<Active_throw_Hitbox>();
|
|
|
|
|
ArrayList<Passive_HitBox> phb = new ArrayList<Passive_HitBox>();
|
|
|
|
|
ArrayList<Passive_throw_HitBox> pthb = new ArrayList<Passive_throw_HitBox>();
|
|
|
|
|
phb.add(bStandPHB1);
|
|
|
|
|
pthb.add(bStandPTHB1);
|
|
|
|
|
Frame f = new Frame(0.0,0.0,phb,new ArrayList<Active_HitBox>(),pthb,new ArrayList<Active_throw_Hitbox>(),
|
|
|
|
|
bStandPB1,false,false,false,false,false);
|
|
|
|
|
f.setSpriteWrap((138*7),(138*2),138,138);
|
|
|
|
|
|
|
|
|
|
//generate hitboxes here and then use ArrayList add method to add them to the correct list
|
|
|
|
|
Push_HitBox pB = new Push_HitBox(140*1.25f,-250*1.25f,280*1.25f,300*1.25f);
|
|
|
|
|
Passive_HitBox phb1 = new Passive_HitBox(200*1.25f,-250*1.25f,200*1.25f,300*1.25f);
|
|
|
|
|
Passive_HitBox phb2 = new Passive_HitBox(260*1.25f,-200*1.25f,80*1.25f,50*1.25f);
|
|
|
|
|
Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(150*1.25f,-500*1.25f,300*1.25f,70*1.25f);
|
|
|
|
|
pthb.add(pthb1);
|
|
|
|
|
phb.add(phb1);
|
|
|
|
|
phb.add(phb2);
|
|
|
|
|
|
|
|
|
|
Frame f = new Frame(moveX,moveY,phb,ahb,pthb,athb,pB,normalC,specialC,jumpC,moveC,dashC);
|
|
|
|
|
|
|
|
|
|
f.setSpriteWrap(138*7,138*2,138,138);
|
|
|
|
|
return f;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|