I want to make a sprite that gradually grows and split in 2 after 10 seconds...
Basically I was planing to do that by changing the scale of the sprite every tick, destroying it after 10 seconds, while at the same time, 2 new sprites spawn and loop the behavior from there. Anyone knows how I could do that?
The purpose is to make it behave in a similar way than living cells do.
UPDATE:
so far this is what I have to make the behavior
//this makes it grow
Every tick:
Plant: set height to Plant.Height+0.1
Plant: set width to Plant.Width+0.1
From here I'm thinking maybe I make it record the size of the height or width and once it gets to a precise number, I make it split in two or something?
Yeah it took a while but I think I figured most of it out.
If you are curious to see how it turned out: https://www.scirra.com/arcade/other-gam ... on=updated