![]() ![]() Parent scripts are used to birth (create instances of) an object into a variable using the new command.They are available throughout the program (movie) and are especially useful for holding global handlers and initializing global variables at the start or end of the movie. Movie scripts are not attached to sprites nor can they be instantiated as Objects.They can also control or interact with other sprites, making them a true object. Behaviors make it easy to program in an object-oriented way, as you can directly see the relationship between the programming and the item they are attached to. Frame behaviors can be used to create a pause or delay within a certain frame in the score. Sprite behaviors are often used to give control of the sprite's properties and movement. Behavior scripts are attached to a sprite or inserted into a frame. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |