{"id":36,"date":"2025-06-06T19:56:21","date_gmt":"2025-06-06T19:56:21","guid":{"rendered":"https:\/\/cyberwraith.rainydays-games.com\/?p=36"},"modified":"2025-06-06T20:02:29","modified_gmt":"2025-06-06T20:02:29","slug":"game-mechanics","status":"publish","type":"post","link":"https:\/\/cyberwraith.rainydays-games.com\/?p=36","title":{"rendered":"Game mechanics"},"content":{"rendered":"\n<p>Original date: <time datetime=\"2021-12-05T13:18:00-08:00\"><em>December 05, 2021<\/em><\/time><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/img\/a\/AVvXsEhexPg5fVfFf2cO-TXm2EhDf-HeQO_kZUb_5eVfLqlDaNsfKKAOCtZ-G8b1weZfRvKYXUFsz8RqJOiSv5ERL30_bVHZSH371vUyQEili3vCGH3QgSKNLPH2ZnHP_GluWqGxfA8lpChKwEvBmLEkoTSrDYg0Pb7KM9pdjf0yKcItuY2qTQNWOrtpnf2R=w618-h348\" alt=\"\"\/><\/figure>\n<\/div>\n\n\n<p>&nbsp;I&#8217;ve had enough of the red walls so I changed the graphics. I used this opportunity to take a look at Godot&#8217;s tileset editor. The wall tiles are not final, I&#8217;m just not very good at designing tiles. Getting the patterns to line up was frustrating and there&#8217;s still errors. Maybe I&#8217;ll find someone to do that for me at some point, but it works for now.<\/p>\n\n\n\n<p>There&#8217;s a couple of new things. There&#8217;s doors now. Choosing lightning arcs may not be the best idea for doors, likely players will expect them to cause damage on contact, but I liked the idea. They&#8217;re harmless, actually. Just regular doors. Some can be opened simply by approaching them and hitting the &#8220;activate&#8221; key, some can only be opened via switch (the square with the 0, not final graphic of course) and some require the player to collect a specific key card.<\/p>\n\n\n\n<p>There&#8217;s also teleporters now, that disc on the left. That was a doozy. The original idea was to simply move the player. That is, change the coordinates from current to the coordinates of the destination. However, Godot&#8217;s physics engine prevents moving objects in this way. It will correct the movement and reset the coordinates.<br>The only way that worked was to delete the original player and spawn a new one in at the destination. However, that comes with a bunch of issues, mainly scripts that were looking for an object &#8220;player&#8221; no longer finding said object because the newly spawned player has a different name which is heck knows what. So I had to alter a couple of scripts to accomodate this.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Original date: December 05, 2021 &nbsp;I&#8217;ve had enough of the red walls so I changed the graphics. I used this opportunity to take a look at Godot&#8217;s tileset editor. The wall tiles are not final, I&#8217;m just not very good at designing tiles. Getting the patterns to line up was frustrating and there&#8217;s still errors. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-36","post","type-post","status-publish","format-standard","hentry","category-uncategorized","post-preview"],"_links":{"self":[{"href":"https:\/\/cyberwraith.rainydays-games.com\/index.php?rest_route=\/wp\/v2\/posts\/36","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyberwraith.rainydays-games.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cyberwraith.rainydays-games.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cyberwraith.rainydays-games.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cyberwraith.rainydays-games.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=36"}],"version-history":[{"count":2,"href":"https:\/\/cyberwraith.rainydays-games.com\/index.php?rest_route=\/wp\/v2\/posts\/36\/revisions"}],"predecessor-version":[{"id":48,"href":"https:\/\/cyberwraith.rainydays-games.com\/index.php?rest_route=\/wp\/v2\/posts\/36\/revisions\/48"}],"wp:attachment":[{"href":"https:\/\/cyberwraith.rainydays-games.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cyberwraith.rainydays-games.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cyberwraith.rainydays-games.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}