A.D. Vanderstein
Active member
Good, I think that I have every version of this game so far. I will try it this weekend.
anim jump
loop 0
delay 25
offset 74 84
bbox 59 22 37 54
Landframe 4
sound Data/CHARS/Vector/yo.wav
@cmd changeentityproperty getlocalvar("self") "Subject_to_Platform" 1
frame data/chars/Vector/Jump1.gif
frame data/chars/Vector/jump2.gif
[color=red]frame data/chars/Vector/jump3.gif[/color]
delay 200
frame data/chars/Vector/jump3.gif
loop 0
delay 18
offset 74 84
frame data/chars/Vector/Get.gif
anim walk
@script
void self = getlocalvar("self");
int b = getentityproperty(self, "base");
int a = getentityproperty(self, "a");
if(a > b){
performattack(self, openborconstant("ANI_JUMP"), 0);
changeentityproperty[color=red](self, "animpos", 2);[/color]
}
@end_script
loop 1
delay 13
offset 74 84
bbox 62 47 50 37
frame data/chars/Vector/Walk0.gif
@cmd changeentityproperty getlocalvar("self") "Subject_to_Platform" 1
delay 10
frame data/chars/Vector/Walk1.gif
frame data/chars/Vector/Walk2.gif
delay 13
frame data/chars/Vector/Walk3.gif
delay 10
frame data/chars/Vector/Walk4.gif
frame data/chars/Vector/Walk5.gif
####animationscript function main#####
# data/chars/Vector/Vector2D.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==452)
{
if(frame==0)
{
changeentityproperty(getlocalvar("self"), "Subject_to_Platform", 1);
}
return;
}
if(animhandle==453)
{
if(frame==0)
{
changeentityproperty(getlocalvar("self"), "Subject_to_Platform", 0);
}
if(frame==5)
{
changeentityproperty(getlocalvar("self"), "Subject_to_Platform", 1);
}
return;
}
if(animhandle==454)
{
if(frame==0)
{
changeentityproperty(getlocalvar("self"), "Subject_to_Platform", 1);
}
return;
}
if(animhandle==455)
{
if(frame==0)
{
shoot("VeMusic1", 0, 0, 0);
}
if(frame==1)
{
shoot("VeMusic1", 0, 0, 0);
}
if(frame==2)
{
shoot("VeMusic1", 0, 0, 0);
}
if(frame==3)
{
shoot("VeMusic1", 0, 0, 0);
}
if(frame==4)
{
shoot("VeMusic2", 0, 0, 0);
}
if(frame==5)
{
shoot("VeMusic2", 0, 0, 0);
}
return;
}
if(animhandle==456)
{
if(frame==0)
{
shoot("VeFire1", 0, 0, 0);
}
if(frame==1)
{
flip(1)();
}
if(frame==1)
{
shoot("VeFire1", 0, 0, 0);
}
if(frame==2)
{
flip(0)();
}
if(frame==2)
{
shoot("VeFire1", 0, 0, 0);
}
if(frame==3)
{
flip(1)();
}
if(frame==3)
{
shoot("VeFire1", 0, 0, 0);
}
if(frame==4)
{
flip(0)();
}
if(frame==4)
{
shoot("VeFire2", 0, 0, 0);
}
if(frame==5)
{
flip(1)();
}
if(frame==5)
{
shoot("VeFire2", 0, 0, 0);
}
if(frame==6)
{
flip(0)();
}
return;
}
if(animhandle==457)
{
if(frame==0)
{
shoot("Bubble", 0, 0, 0);
}
return;
}
if(animhandle==463)
{
void self = getlocalvar("self");
int b = getentityproperty(self, "base");
int a = getentityproperty(self, "a");
if(a > b){
performattack(self, openborconstant("ANI_JUMP"), 0);
changeentityproperty(self, "animpos", 2);
}
if(frame==1)
{
changeentityproperty(getlocalvar("self"), "Subject_to_Platform", 1);
}
return;
}
if(animhandle==464)
{
if(frame==0)
{
changeentityproperty(getlocalvar("self"), "Subject_to_Platform", 1);
}
return;
}
if(animhandle==465)
{
if(frame==0)
{
changeentityproperty(getlocalvar("self"), "Subject_to_Platform", 1);
}
return;
}
if(animhandle==466)
{
if(frame==0)
{
changeentityproperty(getlocalvar("self"), "Subject_to_Platform", 1);
}
return;
}
if(animhandle==475)
{
void self = getlocalvar("self");
int b = getentityproperty(self, "base");
int a = getentityproperty(self, "a");
if(a > b){
performattack(self, openborconstant("ANI_JUMP"), 0);
changeentityproperty(self, "animpos", 2);
}
if(frame==1)
{
changeentityproperty(getlocalvar("self"), "Subject_to_Platform", 1);
}
return;
}
if(animhandle==477)
{
if(frame==1)
{
shoot("VeSP1", 0, 0, 0);
}
if(frame==1)
{
shoot("VeSP2", 0, 0, 0);
}
if(frame==2)
{
shoot("VeSP1", 0, 0, 0);
}
if(frame==2)
{
shoot("VeSP2", 0, 0, 0);
}
if(frame==3)
{
shoot("VeSP1", 0, 0, 0);
}
if(frame==3)
{
shoot("VeSP2", 0, 0, 0);
}
if(frame==4)
{
shoot("VeSP1", 0, 0, 0);
}
if(frame==4)
{
shoot("VeSP2", 0, 0, 0);
}
if(frame==5)
{
shoot("VeSP3", 0, 0, 0);
}
if(frame==5)
{
shoot("VeSP4", 0, 0, 0);
}
return;
}
if(animhandle==479)
{
void self = getlocalvar("self");
int b = getentityproperty(self, "base");
int a = getentityproperty(self, "a");
if(a > b){
performattack(self, openborconstant("ANI_JUMP"), 0);
changeentityproperty(self, "animpos", 2);
}
if(frame==1)
{
changeentityproperty(getlocalvar("self"), "Subject_to_Platform", 1);
}
return;
}
}