~Hakurei Shrine~ > Rika and Nitori's Garage Experiments
My script is ugly and made of fail
<< < (2/3) > >>
Suikama:

--- Quote from: Garlyle on May 01, 2009, 03:40:24 AM ---When you have a saved replay of a script, after selecting the script you want to play, in addition to the "[moonrunes]Play" option that you normally select, any and all available replay files will appear beneath that which you can select.

--- End quote ---
Alright thanks
Naut:
Happy to help tonight <3
Infy♫:
My script is pretty and made of win :D
i remade SM. with a task. i hope this one gets close to the real spellcard.
EDIT: put in the more "efficient" version. More danmaku, more fun. Also, I noticed the cutin doesn't say this spellcard's name, but something like -1.IND00. why could it be?

--- Code: --- #TouhouDanmakufu
#Title[Evil Scarlet Sign "Scarlet Shoot"]
#Text[A clone of "Scarlet Shoot", made by CAsercan3]
#Image[]
#BackGround[IceMountain]
#Player[FREE]
#ScriptVersion[2]

script_enemy_main {
let frame = 100;
let deg = 0;
let rotvar = 0;
let frame2 = 0;
let frame3 = 0;
let frame4 = 0;
let BossImage = GetCurrentScriptDirectory ~ "huhu.gif";
let BossCutIn = GetCurrentScriptDirectory ~ "ss.jpg";
let Back = GetCurrentScriptDirectory ~ "Wormhole.jpg";
LoadSE(GetCurrentScriptDirectory ~ "tan01.wav");
    @Initialize {
        LoadGraphic(BossCutIn);
        LoadGraphic(BossImage);
        LoadGraphic(Back);
        SetLife(1500);
        SetDamageRate(10, 10);
        SetTimer(120);
        SetInvincibility(30);
        CutIn(YOUMU, "Scarlet Sign "\""Scarlet Meister"\", BossCutIn, 0, 0, 200, 600);
        SetScore(5000000);
        SetEnemyMarker(true);
        SetDurableSpellCard;
        Concentration01(120);
        Concentration02(60);
        MagicCircle(true);
        SetEffectForZeroLife(30, 100, 1);
        SetX(GetCenterX() +100);
        SetY(80);
    }

    @MainLoop {
        SetCollisionA(GetX, GetY, 32);
        SetCollisionB(GetX, GetY, 24);
frame++;
yield;
//MotionBlur(SHOT,2,0);
if(frame == 450){
frame = 0;
ScarletShoot(1);
}
if(frame == 300){
ScarletShoot(0);
}
}
    @DrawLoop {
SetTexture(BossImage);
        DrawGraphic(GetX, GetY);

    }

    @Finalize {
DeleteGraphic(BossImage);
DeleteGraphic(BossCutIn);
DeleteGraphic(Back);
    }

    @BackGround {
rotvar += 1;
SetGraphicAngle (0,0,rotvar);
SetTexture (Back);
SetGraphicRect (0,0,1024,768);
DrawGraphic (GetCenterX(), GetCenterY());
    }
task ScarletShoot(d){
let frame = 0;
let frame2 = 0;
let frame3 = 0;
SetMovePosition03(rand_int(GetCenterX -50,GetClipMaxX -50),rand_int(50,GetCenterY -100),25,2);
let deg = GetAngleToPlayer;
while(frame < 68 && frame > -1){
yield;
frame++;
CreateShot01(GetX,GetY,rand(7,1),deg + rand(-60,60),RED01,1);
CreateShot01(GetX,GetY,rand(7,1),deg + rand(-60,60),RED01,0);
CreateShot01(GetX,GetY,rand(6,1),deg + rand(-60,60),RED01,0);
CreateShot01(GetX,GetY,rand(6,1),deg + rand(-60,60),RED01,0);
CreateShot01(GetX,GetY,rand(7.5,1),deg + rand(-60,60),RED01,0);
if(rand_int(1,3) == 3){
CreateShot01(GetX,GetY,rand(8,2),deg + rand(-40,40),RED02,0);
}
if(frame3 > 8){
CreateShot01(GetX,GetY,rand(6,2),deg + rand(-60,60),RED01,0);
CreateShot01(GetX,GetY,rand(7,3),deg + rand(-50,50),RED01,0);
CreateShot01(GetX,GetY,rand(7.5,3),deg + rand(-50,50),RED01,0);
//CreateShot01(GetX,GetY,rand(5,3),deg + rand(-50,50),RED01,0);
CreateShot01(GetX,GetY,rand(7,1),deg + rand(-60,60),RED01,0);
}
frame2++;
if(frame2 == 4){
frame3++;
PlaySE(GetCurrentScriptDirectory ~ "tan01.wav");
frame2 = 0;
CreateShot01(GetX,GetY,8,deg,RED03,0);
if(frame3 < 5){
deg = GetAngleToPlayer;
}
if(frame3 > 4){
if(d == 1){
deg += 360/12;
}
if(d == 0){
deg -= 360/12;
}
}
}
}
}
}
}
--- End code ---
Naut:
Because we don't have "shots.txt", your script doesn't load any bullets, so all we see is white delay clouds being tossed around. If you use your own shot data, be sure to .rar or .zip your whole file directory, including the shot data properly referenced in the script (plus, if you're doing this, you can include sounds effects and images as well). I can't see why your script name would be displayed incorrectly at the moment, but if you batch your script files togather I'll have a first-hand look at it.
Infy♫:
ah well, i didnt intend this to be a separate spell card, anyway. It will be part of a survival spell. that's why that shots thing was in there... it's not required. the sprites and background are just unneccesary, it's all about the danmaku.  it requires no files.
Navigation
Message Index
Next page
Previous page

Go to full version