{"id":295,"date":"2025-11-21T16:23:25","date_gmt":"2025-11-21T16:23:25","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/k_rai\/?p=295"},"modified":"2025-11-21T16:23:25","modified_gmt":"2025-11-21T16:23:25","slug":"2d-godot","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/k_rai\/2025\/11\/21\/2d-godot\/","title":{"rendered":"2D Godot"},"content":{"rendered":"\n<p>Today I went back on Godot and tried our the functions and how the button works <\/p>\n\n\n\n<p>The saving and some aspects are very similar to python but I still struggled with all the new Unfamiliar buttons<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"1080\" style=\"aspect-ratio: 1920 \/ 1080;\" width=\"1920\" controls src=\"https:\/\/theroyalscode.com\/students\/k_rai\/wp-content\/uploads\/2025\/11\/2025-11-21-10-10-19.mkv\"><\/video><\/figure>\n\n\n\n<p>What I showed was That when you click on the big exit button on the screen the game exits out<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"541\" src=\"https:\/\/theroyalscode.com\/students\/k_rai\/wp-content\/uploads\/2025\/11\/2D-Godot--1024x541.png\" alt=\"\" class=\"wp-image-297\" srcset=\"https:\/\/theroyalscode.com\/students\/k_rai\/wp-content\/uploads\/2025\/11\/2D-Godot--1024x541.png 1024w, https:\/\/theroyalscode.com\/students\/k_rai\/wp-content\/uploads\/2025\/11\/2D-Godot--300x159.png 300w, https:\/\/theroyalscode.com\/students\/k_rai\/wp-content\/uploads\/2025\/11\/2D-Godot--768x406.png 768w, https:\/\/theroyalscode.com\/students\/k_rai\/wp-content\/uploads\/2025\/11\/2D-Godot--1536x812.png 1536w, https:\/\/theroyalscode.com\/students\/k_rai\/wp-content\/uploads\/2025\/11\/2D-Godot-.png 1890w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The get_Tree(). quit() code Basically connects to the Quit button to exist out of the game (This will help the player exit out out the game and not only by clicking the X button. <\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"1080\" style=\"aspect-ratio: 1920 \/ 1080;\" width=\"1920\" controls src=\"https:\/\/theroyalscode.com\/students\/k_rai\/wp-content\/uploads\/2025\/11\/2025-11-21-10-16-05.mkv\"><\/video><\/figure>\n\n\n\n<p>I Played with some buttons and made adjustments and played with a button called TOOLTIP that adds comments when you hover over the texts buttons ( This has to be the most important Tool I&#8217;ve encountered so far )<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"1080\" style=\"aspect-ratio: 1920 \/ 1080;\" width=\"1920\" controls src=\"https:\/\/theroyalscode.com\/students\/k_rai\/wp-content\/uploads\/2025\/11\/2025-11-21-11-17-16.mkv\"><\/video><\/figure>\n\n\n\n<p>I did a adjustments where when you click the play button the button takes you to another part called the world I did this by connecting the Main to the play button to make this happen<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I went back on Godot and tried our the functions and how the button works The saving and some aspects are very similar to python but I still struggled with all the new Unfamiliar buttons What I showed was That when you click on the big exit button on the screen the game exits [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":300,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-295","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-free-friday"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/k_rai\/wp-json\/wp\/v2\/posts\/295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/k_rai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/k_rai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/k_rai\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/k_rai\/wp-json\/wp\/v2\/comments?post=295"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/k_rai\/wp-json\/wp\/v2\/posts\/295\/revisions"}],"predecessor-version":[{"id":301,"href":"https:\/\/theroyalscode.com\/students\/k_rai\/wp-json\/wp\/v2\/posts\/295\/revisions\/301"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/k_rai\/wp-json\/wp\/v2\/media\/300"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/k_rai\/wp-json\/wp\/v2\/media?parent=295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/k_rai\/wp-json\/wp\/v2\/categories?post=295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/k_rai\/wp-json\/wp\/v2\/tags?post=295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}