Sprite question...
Posted: Tue Feb 28, 2012 10:19 pm
Hi,
I've a simple question:
Why that work:
But that doesnt:
???
Since I cant delete the linked sprites was messy to remember all the created sprite...
Or there was a siompler way to create multiframe sprites from single brushes?
I've a simple question:
Why that work:
Code: Select all
brush1 = LoadBrush(Nil, "ram:brush1")
brush2 = LoadBrush(Nil, "ram:brush2")
CreateSprite(1, #BRUSH, brush1)
CreateSprite(2, #BRUSH, brush2)
sprite = CreateSprite(Nil, #SPRITE, 1, 2)
Code: Select all
brush1 = LoadBrush(Nil, "ram:brush1")
brush2 = LoadBrush(Nil, "ram:brush2")
sprite1 = CreateSprite(Nil, #BRUSH, brush1)
sprite2 = CreateSprite(Nil, #BRUSH, brush2)
sprite = CreateSprite(Nil, #SPRITE, sprite1, sprite2)
Since I cant delete the linked sprites was messy to remember all the created sprite...
Or there was a siompler way to create multiframe sprites from single brushes?