Making a tank combat game, but I can't get both tanks to move at once (one is on WASD controls, the other is arrow keys). Is there a way to have parallel control like that? I remember hearing something about being able to do it with a multi-core processor. I have a Core i7 on a Macbook Pro.
Offline
You should be able to get both tanks to move at once regardless of the processor you have! Try a script like this:
When Flag Clicked
{
Forever
{
If(key "right arrow" pressed)
{
change x by 5
}
If(key "left arrow" pressed)
{
change x by -5
}
If(key "up arrow" pressed)
{
change x by 5
}
If(key "down arrow" pressed)
{
change x by -5
}
}
}You can copy that to another tank and change the arrow keys to WASD.

Offline