Jam build done. (Touhou Station Jam 3)

This commit is contained in:
kevinmonitor 2022-08-23 16:48:09 +07:00
parent af1977159c
commit 06f2d5fd46
36 changed files with 132 additions and 68 deletions

View file

@ -54,6 +54,7 @@ int[] _shotArray = [];
int grazecounter = 0; // For basic graze = PIV mechanic
int shotAlpha = (GetAreaCommonData("Config", "PlayerShotOpacity", 60)*0.01)*255;
float[] PlayerSpd = [10, 5.35];
// Custom events for scoring mechanic
@ -506,7 +507,7 @@ task _ShotType(){
ascent(i in -1..1){
let shotA = CreatePlayerShotA1(-50+x+25-50*i, y, 50, ObjMove_GetAngle(option), 2, 1.1, 2);
_BulletRescalePlayer(shotA, 0.7, true, 1);
ObjRender_SetAlpha(shotA, 255*(universalAlpha/100));
ObjRender_SetAlpha(shotA, shotAlpha);
Obj_SetRenderPriorityI(shotA, 39);
ObjSound_Play(basesfx);
@ -577,7 +578,7 @@ task _ShotType(){
ascent(i in -1..1){
let shotA = CreatePlayerShotA1(-50+x+25-50*i, y, 50, ObjMove_GetAngle(option), 2.6, 1.1, 1);
_BulletRescalePlayer(shotA, 0.7, true, 1);
ObjRender_SetAlpha(shotA, 255*(universalAlpha/100));
ObjRender_SetAlpha(shotA, shotAlpha);
Obj_SetRenderPriorityI(shotA, 39);
ObjSound_Play(basesfx);

View file

@ -24,7 +24,7 @@ ShotData{
id = 2
rect = (512, 512, 768, 896)
render = ALPHA
alpha = 200
alpha = 255
collision = (128, 0, 74) // Hitbox of arrows is not centered on the sprite
}