Reply to Re: New D-Mod: An Age Of Darkness
If you don't have an account, just leave the password field blank.
*edit* well, forget it, it would just be strange... you would get lost...
nope but it's pretty complex... here's a short invisible wall script:
void main()
{
sp_nodraw(¤t_sprite, 1);
sp_touch_damage(¤t_sprite, -1);
}
void touch()
{
int &dinkx = sp_x(1, -1);
&dinkx += 10;
move_stop(1, 6, &dinkx, 1);
say("Mirage wall!", 1);
}
Depending on where the wall is, you'd wanna change sp_x(); to sp_y(); and decrease pixels instead of adding them and change the direction Dink moves to. (just say if you didn't understand. )
nope but it's pretty complex... here's a short invisible wall script:
void main()
{
sp_nodraw(¤t_sprite, 1);
sp_touch_damage(¤t_sprite, -1);
}
void touch()
{
int &dinkx = sp_x(1, -1);
&dinkx += 10;
move_stop(1, 6, &dinkx, 1);
say("Mirage wall!", 1);
}
Depending on where the wall is, you'd wanna change sp_x(); to sp_y(); and decrease pixels instead of adding them and change the direction Dink moves to. (just say if you didn't understand. )