made jump and dash movement values higher and allowed for more lenient inputs
This commit is contained in:
parent
242d30b51c
commit
a4484404cd
@ -135,7 +135,7 @@ public class BlueBaseFrames {
|
|||||||
private static Frame generateNeutralJumpFrame1(){
|
private static Frame generateNeutralJumpFrame1(){
|
||||||
//movement data
|
//movement data
|
||||||
double moveX = 0.0;
|
double moveX = 0.0;
|
||||||
double moveY = 18.0;
|
double moveY = 36.0;
|
||||||
|
|
||||||
//cancelData
|
//cancelData
|
||||||
boolean normalC = true;
|
boolean normalC = true;
|
||||||
@ -173,7 +173,7 @@ public class BlueBaseFrames {
|
|||||||
private static Frame generateNeutralJumpFrame2(){
|
private static Frame generateNeutralJumpFrame2(){
|
||||||
//movement data
|
//movement data
|
||||||
double moveX = 0.0;
|
double moveX = 0.0;
|
||||||
double moveY = -18.0;
|
double moveY = -36.0;
|
||||||
|
|
||||||
//cancelData
|
//cancelData
|
||||||
boolean normalC = true;
|
boolean normalC = true;
|
||||||
@ -221,8 +221,8 @@ public class BlueBaseFrames {
|
|||||||
|
|
||||||
private static Frame GenerateForwardJumpFrame1(){
|
private static Frame GenerateForwardJumpFrame1(){
|
||||||
//movement data
|
//movement data
|
||||||
double moveX = 10.0;
|
double moveX = 20.0;
|
||||||
double moveY = 18.0;
|
double moveY = 36.0;
|
||||||
|
|
||||||
//cancelData
|
//cancelData
|
||||||
boolean normalC = true;
|
boolean normalC = true;
|
||||||
@ -259,8 +259,8 @@ public class BlueBaseFrames {
|
|||||||
|
|
||||||
private static Frame GenerateForwardJumpFrame2(){
|
private static Frame GenerateForwardJumpFrame2(){
|
||||||
//movement data
|
//movement data
|
||||||
double moveX = 10.0;
|
double moveX = 20.0;
|
||||||
double moveY = 9.0;
|
double moveY = 18.0;
|
||||||
|
|
||||||
//cancelData
|
//cancelData
|
||||||
boolean normalC = true;
|
boolean normalC = true;
|
||||||
@ -297,8 +297,8 @@ public class BlueBaseFrames {
|
|||||||
|
|
||||||
private static Frame GenerateForwardJumpFrame3(){
|
private static Frame GenerateForwardJumpFrame3(){
|
||||||
//movement data
|
//movement data
|
||||||
double moveX = 10.0;
|
double moveX = 20.0;
|
||||||
double moveY = -9.0;
|
double moveY = -18.0;
|
||||||
|
|
||||||
//cancelData
|
//cancelData
|
||||||
boolean normalC = true;
|
boolean normalC = true;
|
||||||
@ -335,8 +335,8 @@ public class BlueBaseFrames {
|
|||||||
|
|
||||||
private static Frame GenerateForwardJumpFrame4(){
|
private static Frame GenerateForwardJumpFrame4(){
|
||||||
//movement data
|
//movement data
|
||||||
double moveX = 10.0;
|
double moveX = 20.0;
|
||||||
double moveY = -18.0;
|
double moveY = -36.0;
|
||||||
|
|
||||||
//cancelData
|
//cancelData
|
||||||
boolean normalC = true;
|
boolean normalC = true;
|
||||||
@ -390,8 +390,8 @@ public class BlueBaseFrames {
|
|||||||
|
|
||||||
private static Frame BackJumpFrame1(){
|
private static Frame BackJumpFrame1(){
|
||||||
//movement data
|
//movement data
|
||||||
double moveX = -10.0;
|
double moveX = -20.0;
|
||||||
double moveY = 18.0;
|
double moveY = 36.0;
|
||||||
|
|
||||||
//cancelData
|
//cancelData
|
||||||
boolean normalC = true;
|
boolean normalC = true;
|
||||||
@ -428,8 +428,8 @@ public class BlueBaseFrames {
|
|||||||
|
|
||||||
private static Frame BackJumpFrame2(){
|
private static Frame BackJumpFrame2(){
|
||||||
//movement data
|
//movement data
|
||||||
double moveX = -10.0;
|
double moveX = -20.0;
|
||||||
double moveY = 9.0;
|
double moveY = 18.0;
|
||||||
|
|
||||||
//cancelData
|
//cancelData
|
||||||
boolean normalC = true;
|
boolean normalC = true;
|
||||||
@ -466,8 +466,8 @@ public class BlueBaseFrames {
|
|||||||
|
|
||||||
private static Frame BackJumpFrame3(){
|
private static Frame BackJumpFrame3(){
|
||||||
//movement data
|
//movement data
|
||||||
double moveX = -10.0;
|
double moveX = -20.0;
|
||||||
double moveY = -9.0;
|
double moveY = -18.0;
|
||||||
|
|
||||||
//cancelData
|
//cancelData
|
||||||
boolean normalC = true;
|
boolean normalC = true;
|
||||||
@ -504,8 +504,8 @@ public class BlueBaseFrames {
|
|||||||
|
|
||||||
private static Frame BackJumpFrame4(){
|
private static Frame BackJumpFrame4(){
|
||||||
//movement data
|
//movement data
|
||||||
double moveX = -10.0;
|
double moveX = -20.0;
|
||||||
double moveY = -18.0;
|
double moveY = -36.0;
|
||||||
|
|
||||||
//cancelData
|
//cancelData
|
||||||
boolean normalC = true;
|
boolean normalC = true;
|
||||||
|
@ -66,7 +66,7 @@ public class BlueMisc {
|
|||||||
/*
|
/*
|
||||||
frame creation
|
frame creation
|
||||||
*/
|
*/
|
||||||
Frame f = new Frame(0.0,12.0,phb,ahb,pthb,athb,pushB,
|
Frame f = new Frame(0.0,25.0,phb,ahb,pthb,athb,pushB,
|
||||||
//cancels (in order : normal, special, jump, move, dash)
|
//cancels (in order : normal, special, jump, move, dash)
|
||||||
false,false,false,false,false);
|
false,false,false,false,false);
|
||||||
f.setSpriteWrap(14*138,139,138,138);
|
f.setSpriteWrap(14*138,139,138,138);
|
||||||
@ -97,7 +97,7 @@ public class BlueMisc {
|
|||||||
/*
|
/*
|
||||||
frame creation
|
frame creation
|
||||||
*/
|
*/
|
||||||
Frame f = new Frame(0.0,6.0,phb,ahb,pthb,athb,pushB,
|
Frame f = new Frame(0.0,15.0,phb,ahb,pthb,athb,pushB,
|
||||||
//cancels (in order : normal, special, jump, move, dash)
|
//cancels (in order : normal, special, jump, move, dash)
|
||||||
false,false,true,false,false);
|
false,false,true,false,false);
|
||||||
f.setSpriteWrap(14*138,139,138,138);
|
f.setSpriteWrap(14*138,139,138,138);
|
||||||
@ -200,7 +200,7 @@ public class BlueMisc {
|
|||||||
/*
|
/*
|
||||||
frame creation
|
frame creation
|
||||||
*/
|
*/
|
||||||
Frame f = new Frame(0.0,-12.0,phb,ahb,pthb,athb,pushB,
|
Frame f = new Frame(0.0,-25.0,phb,ahb,pthb,athb,pushB,
|
||||||
//cancels (in order : normal, special, jump, move, dash)
|
//cancels (in order : normal, special, jump, move, dash)
|
||||||
false,false,false,false,false);
|
false,false,false,false,false);
|
||||||
f.setSpriteWrap(14*138,139,138,138);
|
f.setSpriteWrap(14*138,139,138,138);
|
||||||
@ -231,7 +231,7 @@ public class BlueMisc {
|
|||||||
/*
|
/*
|
||||||
frame creation
|
frame creation
|
||||||
*/
|
*/
|
||||||
Frame f = new Frame(0.0,-6.0,phb,ahb,pthb,athb,pushB,
|
Frame f = new Frame(0.0,-15.0,phb,ahb,pthb,athb,pushB,
|
||||||
//cancels (in order : normal, special, jump, move, dash)
|
//cancels (in order : normal, special, jump, move, dash)
|
||||||
false,false,false,false,false);
|
false,false,false,false,false);
|
||||||
f.setSpriteWrap(14*138,139,138,138);
|
f.setSpriteWrap(14*138,139,138,138);
|
||||||
|
@ -7,9 +7,9 @@ public class InputBuffer {
|
|||||||
/**
|
/**
|
||||||
* The number of past frames to check for a certain input pas another one.
|
* The number of past frames to check for a certain input pas another one.
|
||||||
* For example, if you need to input DOWN, then FORWARD, and we know FORWARD has been input on frame 25,
|
* For example, if you need to input DOWN, then FORWARD, and we know FORWARD has been input on frame 25,
|
||||||
* this indicates that you need to check for DOWN on frames 20 to 24
|
* this indicates that you need to check for DOWN on frames 20 to 24 if pastframestocheck is at 5
|
||||||
*/
|
*/
|
||||||
private static final int pastFramesToCheck = 5;
|
private static final int pastFramesToCheck = 8;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* a list of various inputs being recorded, such as inputs pressed at each frame
|
* a list of various inputs being recorded, such as inputs pressed at each frame
|
||||||
|
Loading…
x
Reference in New Issue
Block a user