{"id":64,"date":"2017-10-21T13:56:36","date_gmt":"2017-10-21T13:56:36","guid":{"rendered":"http:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/making-a-game\/instancing-properties"},"modified":"2022-03-13T11:44:40","modified_gmt":"2022-03-13T11:44:40","slug":"instancing-properties","status":"publish","type":"docs","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/making-a-game\/instancing-properties","title":{"rendered":"Sharing properties"},"content":{"rendered":"<h3>WHATS ITS FOR:<\/h3>\n<p>An important concept of the SHMUP Creator is <strong>shared properties<\/strong>.<br \/>\nIf you create an enemy, you will adjust a lot of properties: its collisions, its score, its health points etc. Each time you are placing this enemy in a level, you don&#8217;t want to start again from the start. This is why some properties are shared, like the enemy score or health points.<br \/>\nNote that those properties are shared on every level of a game.<\/p>\n<p>Some properties are unique to the enemy instance: for example, the item is spawned when it&#8217;s dead, its animation or its path.<\/p>\n<p>To know what properties are shared and what properties are not, look for the &#8220;*&#8221; sign before a property name. It means that this property is shared between all instances from this object in every level of the current game.<\/p>\n","protected":false},"featured_media":0,"parent":35,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-64","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=64"}],"version-history":[{"count":6,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/64\/revisions"}],"predecessor-version":[{"id":1671,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/64\/revisions\/1671"}],"up":[{"embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/35"}],"next":[{"title":"Paths and waypoints","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/making-a-game\/paths-and-waypoints","href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/132"}],"wp:attachment":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=64"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}