{"id":53,"date":"2017-03-11T01:19:26","date_gmt":"2017-03-11T09:19:26","guid":{"rendered":"http:\/\/gmrgames.com\/blog\/?p=53"},"modified":"2022-07-25T03:06:42","modified_gmt":"2022-07-25T10:06:42","slug":"object-state-updates","status":"publish","type":"post","link":"https:\/\/rose.dev\/blog\/2017\/03\/11\/object-state-updates\/","title":{"rendered":"Object State Updates"},"content":{"rendered":"\n<p>Not much done graphically on RuneTale the past few days. Mostly behind the scenes code changes and additions. Also, added a pretty cool way to save object states.<\/p>\n\n\n\n<p>I have a SaveGame() event that fires whenever the game is saved. In each object you can interact with that is able to be saved, I have an object identifier and a key. When the delegate fires, all the objects save their own states. Objects individually load their states from the save upon game re-launch.<\/p>\n<hr>\r\nIt helps me if you share this post\r\n<br\/>\r\n<br\/>\r\nPublished 2017-03-11 01:19:26 ","protected":false},"excerpt":{"rendered":"<p>Not much done graphically on RuneTale the past few days. Mostly behind the scenes code changes and additions. Also, added a pretty cool way to save object states. I have a SaveGame() event that fires whenever the game is saved. In each object you can interact with that is able to be saved, I have &hellip; <a href=\"https:\/\/rose.dev\/blog\/2017\/03\/11\/object-state-updates\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Object State Updates<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-53","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":3,"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/posts\/53\/revisions"}],"predecessor-version":[{"id":2113,"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/posts\/53\/revisions\/2113"}],"wp:attachment":[{"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/media?parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/categories?post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/tags?post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}