I'd like to build a eco-system simulation:
- Define a variable 'number of nice fishes'
- Define a variable 'number of shark'
- Create instances of sharks and ants as specified by numbers
- All should get controlled by the same script
If a shark hits a 'nice fish', the fish disappears.
If two shapes of the same kind meet, they create a new of the same kind.
Q: Can I dynamically create new instances of sprites?
Offline
No you can't create new instances dynamically in scratch.
See the Suggestions Forum for the many times this has been suggested.
To get your simulation done quickly, try StarLogo, which is optimized for this sort of task.
http://education.mit.edu/starlogo/
Offline