can you feel the yass tonight? (postjam)

This commit is contained in:
Kevinmonitor 2023-01-31 18:05:02 +07:00
parent 4564ad9668
commit a25c13d846
66 changed files with 75 additions and 1966 deletions

View file

@ -41,11 +41,11 @@ int medEnemyHitbox = 64;
int largeEnemyHitbox = 100;
int spiritHitbox = 48;
float smallEnemyHP = 45;
float mediumEnemyHP = 80;
float largeEnemyHP = 120;
float smallEnemyHP = 40;
float mediumEnemyHP = 90;
float largeEnemyHP = 150;
float largeEnemyAltHP = 150;
float popcornHP = 25;
float popcornHP = 30;
float smallEnemyScale = 1;
float largeEnemyScale = 1;
@ -215,16 +215,16 @@ int[] bossRect = [192, 448, 384, 704];
// Wave 5: Clumped small fairy lines come from both sides to attack you.
int W5_spawnDelayMin = 20;
int W5_spawnDelayMax = 40;
int W5_spawnDelayMin = 25;
int W5_spawnDelayMax = 45;
int W5_fairyNumMin = 3;
int W5_fairyNumMax = 6;
// Angles
int W5_moveTimeMin = 40;
int W5_moveTimeMax = 50;
int W5_moveTimeMin = 55;
int W5_moveTimeMax = 70;
float W5_bulletSpdMin = 11;
float W5_bulletSpdMax = 13;
@ -235,10 +235,10 @@ int[] bossRect = [192, 448, 384, 704];
int WG1_ringDenseMax = 14;
float WG1_bulletSpdMin = 8;
float WG1_bulletSpdMax = 11;
float WG1_bulletSpdMax = 10;
int WG1_bulletDelayMin = 30;
int WG1_bulletDelayMax = 45;
int WG1_bulletDelayMin = 35;
int WG1_bulletDelayMax = 50;
// Wave 7 (S2): Yukionna with spiral (counts as ground)

View file

@ -105,7 +105,7 @@ function <int> CreateFan (int parent, int way, int graphic, int stack,
let arrayPattern = ObjPatternShot_FireReturn(objPattern);
ascent(i in -1..length(arrayPattern)-1){
_BulletRescale(arrayPattern[i], scaleBullet, true, 0.25);
_BulletRescale(arrayPattern[i], scaleBullet, true, 1);
_Delay(arrayPattern[i], 5);
//Obj_SetRenderPriorityI(arrayPattern[i], 51);
}

View file

@ -41,7 +41,7 @@ let POINTER_CHAIN = LoadAreaCommonDataValuePointer("PIV", "ChainAmount", 1);
@Initialize {
//SetIntersectionVisualization(true);
SetIntersectionVisualization(true);
SetAutoDeleteObject(true);
@ -102,7 +102,7 @@ let POINTER_CHAIN = LoadAreaCommonDataValuePointer("PIV", "ChainAmount", 1);
case(EV_REQUEST_TIMER) {
//SetScriptResult(STAGE_LENGTH);
SetScriptResult(10);
SetScriptResult(STAGE_LENGTH);
//SetScriptResult(BOSS_LENGTH+5);
}
@ -1033,7 +1033,8 @@ task PhaseBonusCalculation(int enm, int HPthreshold, string spellName){
int curRank = rank;
int scoreBase = 1000000 * curRank;
int scoreBonus = GetAreaCommonData("PIV", "currentvalue", 1000)*250;
int scoreBonus = GetAreaCommonData("PIV", "currentvalue", 1000)*200;
int scoreFinalBonus = 0;
int i = 0; // 20 seconds
function _CreateBonusText(float x, y, fontSize, int colorBorder, string text){
@ -1043,7 +1044,7 @@ task PhaseBonusCalculation(int enm, int HPthreshold, string spellName){
x, y, fontSize,
text, "GravityBold8",
0xFFFFFF, 0xFFFFFF,
colorBorder, fontSize/10,
colorBorder, fontSize/8,
71
);
@ -1058,22 +1059,20 @@ task PhaseBonusCalculation(int enm, int HPthreshold, string spellName){
while(ObjEnemy_GetInfo(enm, INFO_LIFE) > HPthreshold){
scoreBase = trunc(Interpolate_Smooth(1000000 * curRank, 100000 * curRank, i/1200)/10)*10;
scoreFinalBonus = trunc(Interpolate_Linear(scoreBonus, scoreBonus/2, i/1200)/10)*10;
i = min(1200, i+1);
scoreBonus = scoreBase * GetCommonDataPtr(POINTER_CHAIN, 1);
ObjText_SetText(scoreText, spellName ~ "[r][font sz=16]BONUS: [font oc=(255, 136, 0)]" ~ DigitToCommaArray(trunc(scoreBonus/10)*10));
ObjText_SetText(scoreText, spellName ~ "[r][font sz=16]BONUS: [font oc=(255, 136, 0)]" ~ DigitToCommaArray(trunc(scoreFinalBonus/10)*10));
yield;
}
AddScore(scoreBonus);
AddScore(scoreFinalBonus);
async{
ObjText_SetText(scoreText, "[font sz=32 oc=(164, 0, 90)]SCORE BONUS:[r][font sz=32 wg=800 oc=(255, 136, 0)]" ~ DigitToCommaArray(trunc(scoreBonus/10)*10));
ObjText_SetText(scoreText, "[font sz=32 oc=(164, 0, 90)]SPELL CARD CLEAR![r][font sz=32 wg=800 oc=(255, 136, 0)]" ~ DigitToCommaArray(trunc(scoreFinalBonus/10)*10));
ChargeBreakSFX;
@ -1921,14 +1920,14 @@ function WaveGround1(){
}
if(rank <= 5){
CreateEnemyA(STG_WIDTH+128, STG_HEIGHT * 1/5, 180);
CreateEnemyA(STG_WIDTH+128, STG_HEIGHT * 4/5, 180);
CreateEnemyA(STG_WIDTH+96, STG_HEIGHT * 1/5, 180);
CreateEnemyA(STG_WIDTH+96, STG_HEIGHT * 4/5, 180);
}
else{
CreateEnemyA(STG_WIDTH+128, STG_HEIGHT * 1/5, 180);
CreateEnemyA(STG_WIDTH+128, STG_HEIGHT * 1/2, 180);
CreateEnemyA(STG_WIDTH+128, STG_HEIGHT * 4/5, 180);
CreateEnemyA(STG_WIDTH+96, STG_HEIGHT * 1/5, 180);
CreateEnemyA(STG_WIDTH+96, STG_HEIGHT * 1/2, 180);
CreateEnemyA(STG_WIDTH+96, STG_HEIGHT * 4/5, 180);
}
while(length(enmFly) > 1){yield;}
@ -2084,7 +2083,7 @@ function Wave9(){
float spd = FUNC_LERP_ACCEL(W9_bulletSpdMin, W9_bulletSpdMax, rank/RANK_MAX);
float movespd = baseMoveSpeedH * (1 + MoveSpeedRankMultiplierVL*rank);
float[] rangemove = [3, 6];
float[] rangemove = [2.4, 4.8];
int counter = 1;
@ -2158,7 +2157,7 @@ function Wave9(){
ascent(i in 0..num){
CreateEnemyA(rand(STG_WIDTH*6.5/8, STG_WIDTH*6.75/8), counter >= 1 ? -128 : STG_HEIGHT+128, movespd*counter);
CreateEnemyA(rand(STG_WIDTH*6.5/8, STG_WIDTH*6.75/8), counter >= 1 ? -96 : STG_HEIGHT+96, movespd*counter);
counter *= -1;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 KiB

After

Width:  |  Height:  |  Size: 393 KiB

Before After
Before After