In this video that we or that I saw which we were supposedly watch as a class (Mr. Florez), He taught us was that a parent objects copy their code to the child objects.
If you don't put an action under an event the event will be destroyed. By giving an object a parent object it will inherit actions from the parent object.
you can make sprites as parents to smaller sprites. when the parents "die" it can spawn the "child" sprite child sprites share the same coding as the parent sprites unless changed.
. We learned how parenting works . When a child spawns it carries the same coding as the parent . You can change the child sprite to have different coding
Parenting a sprite is useful when you have to have many actions. Simply taking a sprite and making it the parent of 5 or 6 different ones is a smart move.
In this video that we or that I saw which we were supposedly watch as a class (Mr. Florez), He taught us was that a parent objects copy their code to the child objects.
ReplyDeleteI learned how to write the code so that when a big asteroid is destroyed it spawns two little ones i also leaned how parenting and object works.
ReplyDeleteIf you don't put an action under an event the event will be destroyed. By giving an object a parent object it will inherit actions from the parent object.
ReplyDeleteyou can spawn other sprites as another dies, and it will have the same traits as the one its replacing
ReplyDeleteit is interesting that a child sprite carries the code from the parent unless you overwrite it
ReplyDeleteSpawn new sprites with the same coding as the parent sprite who died.
ReplyDeleteyou can make sprites as parents to smaller sprites.
ReplyDeletewhen the parents "die" it can spawn the "child" sprite
child sprites share the same coding as the parent sprites unless changed.
. We learned how parenting works
ReplyDelete. When a child spawns it carries the same coding as the parent
. You can change the child sprite to have different coding
If you assign a parent to an object, it will take on the same actions as the parent.
ReplyDeleteI learned how parenting works with objects. If the parent dies it will spawn a child if that is what you want.
ReplyDeleteI learned how parenting works with objects. If the parent dies it will spawn a child if that is what you want.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteYou can spawn new sprites with the same code as the parent sprite who died.
ReplyDeleteparent actions go down the "ancestral" line
ReplyDeleteyou can call upon parent actions manually
parent actions can be used automatically
Parenting a sprite is useful when you have to have many actions. Simply taking a sprite and making it the parent of 5 or 6 different ones is a smart move.
ReplyDeleteI know how to set objects as "parent" and have other objects known as "child" objects.
ReplyDeleteparenting is spawning a new object or objects from a in game action. the spawned objects will have the same trates.
ReplyDeleteI learned how parenting works with objects. If the parent dies it will spawn a child if that is what you want.
ReplyDeleteI learned how parenting works with objects. If the parent dies it will spawn a child if that is what you want.
ReplyDeletei learned what a perint is and what it does and how to properly use it
ReplyDeletespawning new objects that have the same trates
ReplyDelete