Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
This is not exactly as the title says but comes close.
I have an object that creates another object when it hits a solid. What I want is the new object to have the same angle set (when created) that the father object has. how do I do that?
Develop games in your browser. Powerful, performant & highly capable.
New objects spawned from another object usually inherit the position and angle from the spawning object,
Just in case, you can Sprite->SetAngle to Parent.Angle right after you create it.
yes, it spawned in the same direction.
Just to know: Couldn't find how to use the second option you mentioned. can't find a way to refer to a parent object. Is it through expressions? when i am writing an expression it never suggests the word "parent".
Construct2 does not keep track of which object spawned which other object. If you want that information, you can store it yourself in an instance variable right after you spawn the second object.