Page 1 of 1

Multiple pieces made from same prototype with dynamic proper

PostPosted: May 24th, 2019, 9:07 pm
by zotz
Let's say I have two pieces:

Piece1
Piece2

Let's say each piece includes a Game Piece Prototype definition:

PieceVariables

Let's say that the PieceVariables prototype contains two dynamic Properties:

AttackStrenght
DefendStrength

OK, if I change the AttackStrength of Piece1, does the AttackStrenght of Piece2 get changed as well?

Put another way, does each piece get its own copy of dynamic variables it incorporated from a prototype definition?

drew

Re: Multiple pieces made from same prototype with dynamic pr

PostPosted: May 25th, 2019, 12:31 am
by zotz
I may have the answer myself.

It looks like they are independent.

drew