Update 1.01a Content Complete.
This commit is contained in:
parent
dba085c30f
commit
c6c87d7c2f
20 changed files with 698 additions and 59 deletions
|
@ -100,7 +100,7 @@ let pointerPIV = LoadAreaCommonDataValuePointer("PIV", "currentvalue", 10000);
|
|||
float[] pos = GetEventArgument(0);
|
||||
//int listTarget = GetEventArgument(1);
|
||||
|
||||
if(GetAreaCommonData("Config", "EffectCut", 0) >= 2){ObjSound_Play(sfxBoom);}
|
||||
if(GetCommonDataPtr(EFFECTCUT_PTR, 0) >= 2){ObjSound_Play(sfxBoom);}
|
||||
//_EffectListPreRender(PetalEffect, imgEffect, [0, 0, 256, 256]);
|
||||
else{_ExplosionEffect(pos[0], pos[1], PetalEffect);}
|
||||
|
||||
|
|
|
@ -195,18 +195,11 @@ function <int> _CreateEnemy(
|
|||
|
||||
task _HandleEnemyWellbeing(int enemyID, float sizeHitbox, float sizeHurtbox){
|
||||
|
||||
float enmX = 0, enmY = 0;
|
||||
//float enmX = 0, enmY = 0;
|
||||
|
||||
while(ObjEnemy_GetInfo(enemyID, INFO_LIFE) > 0){
|
||||
|
||||
enmX = ObjMove_GetX(enemyID);
|
||||
enmY = ObjMove_GetY(enemyID);
|
||||
|
||||
if(ObjEnemy_GetInfo(enemyID, INFO_LIFE) <= 0){break;}
|
||||
|
||||
else{
|
||||
ObjEnemy_SetIntersectionCircleToShot(enemyID, enmX, enmY, sizeHitbox);
|
||||
}
|
||||
ObjEnemy_SetIntersectionCircleToShot(enemyID, ObjMove_GetX(enemyID), ObjMove_GetY(enemyID), sizeHitbox);
|
||||
//ObjEnemy_SetIntersectionCircleToPlayer(enemyID, ObjMove_GetX(enemyID), ObjMove_GetY(enemyID), sizeHurtbox);
|
||||
yield;
|
||||
|
||||
|
|
|
@ -22,16 +22,9 @@
|
|||
|
||||
// Convenience constants
|
||||
|
||||
let ITEMID_PTR = LoadAreaCommonDataValuePointer("ScriptID", "ItemID", 0);
|
||||
let SYSTEMID_PTR = LoadAreaCommonDataValuePointer("ScriptID", "SystemID", 0);
|
||||
|
||||
let FLYINGENM_PTR = LoadCommonDataValuePointer("Flying Defeated", 0);
|
||||
let GROUNDENM_PTR = LoadCommonDataValuePointer("Ground Defeated", 0);
|
||||
|
||||
const STG_WIDTH = GetStgFrameWidth();
|
||||
const STG_HEIGHT = GetStgFrameHeight();
|
||||
|
||||
let texEnm = "script/game/resourceLib/EnmTexture.png";
|
||||
let blipVol = GetAreaCommonData("Config", "SEVol", 100) * 0.01;
|
||||
|
||||
InstallFont("script/KevinSystem/font/Connecting Chain Handserif.ttf");
|
||||
|
|
|
@ -194,7 +194,7 @@ task _DropPIVItemEnemy(int IDPlayer, float[] posEnm, int pointMin, int pointMax,
|
|||
|
||||
}
|
||||
|
||||
if(GetAreaCommonData("Config", "EffectCut", 0) >= 1){}
|
||||
if(GetCommonDataPtr(EFFECTCUT_PTR, 0) >= 1){}
|
||||
else{_ScorePopup(posEnm[0], posEnm[1], "PIV", pointFinal);}
|
||||
|
||||
return;
|
||||
|
|
|
@ -9,7 +9,7 @@ function CreatePIVItem(itemtype, x, y){
|
|||
ObjItem_SetAutoDelete(PIVItem, false);
|
||||
|
||||
ObjMove_SetAngle(PIVItem, 90);
|
||||
ObjMove_SetSpeed(PIVItem, -20);
|
||||
ObjMove_SetSpeed(PIVItem, -10);
|
||||
ObjMove_SetAcceleration(PIVItem, 1);
|
||||
ObjMove_SetMaxSpeed(PIVItem, 0);
|
||||
|
||||
|
|
|
@ -7,5 +7,13 @@ const EV_DROP_EXTEND = EV_USER + 203i;
|
|||
|
||||
const EV_EXPLODE = EV_USER + 300i;
|
||||
|
||||
const EFFECTCUT_PTR = LoadAreaCommonDataValuePointer("Config", "EffectCut", 0);
|
||||
|
||||
const ITEMID_PTR = LoadAreaCommonDataValuePointer("ScriptID", "ItemID", 0);
|
||||
const SYSTEMID_PTR = LoadAreaCommonDataValuePointer("ScriptID", "SystemID", 0);
|
||||
|
||||
const FLYINGENM_PTR = LoadCommonDataValuePointer("Flying Defeated", 0);
|
||||
const GROUNDENM_PTR = LoadCommonDataValuePointer("Ground Defeated", 0);
|
||||
|
||||
//const SYSTEMID_PTR = LoadAreaCommonDataValuePointer("ScriptID", "SystemID", 0);
|
||||
//const ITEMID_PTR = LoadAreaCommonDataValuePointer("ScriptID", "ItemID", 0);
|
Loading…
Add table
Add a link
Reference in a new issue