Reply to Re: Dink RTS tech demo
If you don't have an account, just leave the password field blank.
Hey, uh... how do you make touchers hurt the other enemies without hurting the player. I saw boncas target and hit pillbugs but those pillbugs cant hurt the bonca. sp_touch_damage only sets the damage when dink touches them.
//my silly uneducated idea
void td( void )
{
hurt(¤t_sprite, 1);
}
//this is called externally by another script that uses this code when it is touched.
The problem is the active sprite seems to take the damage only when dink touches it.
Also, I've tried the "MouseDink dev's demonstration" where i saw that you can control the cursor sprite by the mouse, not by arrow keys.
I just dont get how to make mine like THAT.
Any form of help will be much appreciated. So, any ideas?
BTW, im sooooo busy.
//my silly uneducated idea
void td( void )
{
hurt(¤t_sprite, 1);
}
//this is called externally by another script that uses this code when it is touched.
The problem is the active sprite seems to take the damage only when dink touches it.
Also, I've tried the "MouseDink dev's demonstration" where i saw that you can control the cursor sprite by the mouse, not by arrow keys.
I just dont get how to make mine like THAT.
Any form of help will be much appreciated. So, any ideas?
BTW, im sooooo busy.