Corrected sprites and addedhitboxes for blue crouch B
This commit is contained in:
parent
6a3c6a6a2f
commit
0001f0d7df
@ -1022,7 +1022,7 @@ public class BlueBaseFrames {
|
|||||||
String path = "textures/Sprite_sans_grille_9comp.png";
|
String path = "textures/Sprite_sans_grille_9comp.png";
|
||||||
String pathToBG = "textures/arena1.png";
|
String pathToBG = "textures/arena1.png";
|
||||||
|
|
||||||
Frame f = BlueNormals.ForwardDFrame5();
|
Frame f = BlueNormals.crouchBFrame2();
|
||||||
|
|
||||||
|
|
||||||
ObjectGl blue = new ObjectGl(0f, 138f, 138f, 5f, path, null);
|
ObjectGl blue = new ObjectGl(0f, 138f, 138f, 5f, path, null);
|
||||||
|
@ -361,12 +361,18 @@ public class BlueNormals {
|
|||||||
ArrayList<Passive_throw_HitBox> pthb = new ArrayList<Passive_throw_HitBox>();
|
ArrayList<Passive_throw_HitBox> pthb = new ArrayList<Passive_throw_HitBox>();
|
||||||
|
|
||||||
//generate hitboxes here and then use ArrayList add method to add them to the correct list
|
//generate hitboxes here and then use ArrayList add method to add them to the correct list
|
||||||
Push_HitBox pB1 = new Push_HitBox(200,-150,160,400);
|
Push_HitBox pB1 = 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(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC);
|
Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC);
|
||||||
|
|
||||||
//set sprite data on sheet
|
//set sprite data on sheet
|
||||||
f.setSpriteWrap((138*2),0,138,138);
|
f.setSpriteWrap(0,138*2,138,138);
|
||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -389,12 +395,19 @@ public class BlueNormals {
|
|||||||
ArrayList<Passive_throw_HitBox> pthb = new ArrayList<Passive_throw_HitBox>();
|
ArrayList<Passive_throw_HitBox> pthb = new ArrayList<Passive_throw_HitBox>();
|
||||||
|
|
||||||
//generate hitboxes here and then use ArrayList add method to add them to the correct list
|
//generate hitboxes here and then use ArrayList add method to add them to the correct list
|
||||||
Push_HitBox pB1 = new Push_HitBox(200,-150,160,400);
|
Push_HitBox pB1 = 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);
|
||||||
|
Active_HitBox ahb1 = new Active_HitBox(400,-580,200,100);
|
||||||
|
pthb.add(pthb1);
|
||||||
|
phb.add(phb1);
|
||||||
|
phb.add(phb2);
|
||||||
|
ahb.add(ahb1);
|
||||||
Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC);
|
Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC);
|
||||||
|
|
||||||
//set sprite data on sheet
|
//set sprite data on sheet
|
||||||
f.setSpriteWrap((138*4),(138*14),138,138);
|
f.setSpriteWrap((138*14),(138*4),138,138);
|
||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -417,12 +430,18 @@ public class BlueNormals {
|
|||||||
ArrayList<Passive_throw_HitBox> pthb = new ArrayList<Passive_throw_HitBox>();
|
ArrayList<Passive_throw_HitBox> pthb = new ArrayList<Passive_throw_HitBox>();
|
||||||
|
|
||||||
//generate hitboxes here and then use ArrayList add method to add them to the correct list
|
//generate hitboxes here and then use ArrayList add method to add them to the correct list
|
||||||
Push_HitBox pB1 = new Push_HitBox(200,-150,160,400);
|
Push_HitBox pB1 = 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(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC);
|
Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC);
|
||||||
|
|
||||||
//set sprite data on sheet
|
//set sprite data on sheet
|
||||||
f.setSpriteWrap((138*2),0,138,138);
|
f.setSpriteWrap(0,138*2,138,138);
|
||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user