Director: Just add a little moves

When we learn how to to deal with Director objects, our aim will be to build a structure, that can execute animations.

For this purpose, three working classes were established.

Sprite – information about position, size and reference to cast data.

Frame – set of sprites and information about tempo, delay, palette.

Score – just set of frames.

Information about score data is located in fourCC ‘VWSC’. This also provides information for our timeline.

So, if we use it well for our DIB casts, we get well-suited result:test

As you may have noticed, there are some problems related with transparency sprites. So bad.

In addition to this issue, some cast information, like sprite rectangle  will be needed in the future. I also hope, that by next post I get to show  implementation FPS.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s