In my game i have a ship that is several parts and each part is positioned specificaly, so what is the best way to position each object, because if i do on create it will be about 30 actions to just position the objects
A. Match all their origin points together.
B. Use imagepoints, and spawn objects on imagepoints.
C. Use position each object individually. Nothing wrong with 30 actions.
Develop games in your browser. Powerful, performant & highly capable.
If you really want to refactor your actions, you can set x/y offset instance variables for each piece, then loop through each piece to set their position based on their instance variable.