Two player Dink
Could it be possible to make Dink like you could play it with more than one person? Not that playing Dink with more people together would be that fun but I'm just interested in how it works.
As in 2 people playing on the same computer? As in a co-operative mode?
Or an online game?
Or an online game?
All of them or just one doesn't realy matter.
it's probably possible...you just copy the script with dink controls and apply it to another sprite?
There is no script for Dink's controls. All of Dink's movement is controlled by the fact that he's brain 1. So, sure, you could give another sprite brain 1, but then they'd follow the same exact movements as Dink, as there isn't any way to change which keys control Dink.
but is there a possibility to copy the dink sprite and rename it and then write your own script with asdw commands keys for the second player
No. Dink's movement is controlled by brain 1. Brain 1 is completely defined in dink.exe. There are no scripts involved. There is no way to re-define movement keys from scripts, nor to modify brain behavior.
Edit: You could try to use the key-##.c scripts for controlling movement for a second player, but you'd find that it doesn't work very well at all...
Edit: You could try to use the key-##.c scripts for controlling movement for a second player, but you'd find that it doesn't work very well at all...
Yeah tell me more I want to know if it's possible.
Hmmm... Just wondering... Would it be possible to have one brain 1 and one brain 13 running at the same time?
EDIT: Nope, that won't work...
EDIT: Nope, that won't work...
As I said, it doesn't work very well at all. The key-##.c scripts work well for one-press actions, like displaying a map. They don't work (at all) for continuous-press actions, like movement keys. You could try something like this:
//d2-left.c
void main(void)
{
sp_dir(&dink2, 4);
sp_mx(&dink2, -10);
wait(500);
sp_mx(&dink2, 0);
kill_this_task();
}
But you'd find that diagonals are pretty much impossible, and it would result in some of the jerkiest ovement imagineable.
//d2-left.c
void main(void)
{
sp_dir(&dink2, 4);
sp_mx(&dink2, -10);
wait(500);
sp_mx(&dink2, 0);
kill_this_task();
}
But you'd find that diagonals are pretty much impossible, and it would result in some of the jerkiest ovement imagineable.