{"id":531,"date":"2025-08-07T13:10:49","date_gmt":"2025-08-07T11:10:49","guid":{"rendered":"https:\/\/sora.fshcloud.de\/?p=531"},"modified":"2025-08-07T13:10:50","modified_gmt":"2025-08-07T11:10:50","slug":"makecode-tutorial-7-npcs","status":"publish","type":"post","link":"https:\/\/sora.fshcloud.de\/?p=531","title":{"rendered":"MakeCode Tutorial 7: NPCs"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">\ud83d\udd38 <strong>Ziel: Erstelle einen animierten NPC und bringe ihn auf&#8217;s Spielfeld<\/strong><\/h3>\n\n\n\n<p>\ud83e\udde0 <strong>Was ist ein NPC?<\/strong><br>Ein <em>NPC<\/em> (Non-Playable Character) ist eine Figur, die du nicht steuerst \u2013 sie ist Teil der Welt.<br>\u00dcberlege:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Wie sieht dein NPC aus?<\/li>\n\n\n\n<li>Was macht ihn besonders?<\/li>\n\n\n\n<li>Wie unterscheidet er sich von der Spielfigur?<\/li>\n<\/ul>\n\n\n\n<p>\ud83c\udfa8 <strong>Aufgabe:<\/strong><br>Erfinde einen NPC f\u00fcr dein Spiel. Er soll nicht einfach nur dastehen, sondern eine kleine Bewegung machen \u2013 vielleicht schaut er sich um oder wippt leicht mit dem Kopf.<\/p>\n\n\n\n<p>\ud83d\udca1 <strong>Tipps zum Forschen:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Du brauchst einen <strong>Sprite<\/strong>, der <strong>nicht<\/strong> \u201ePlayer\u201c ist.<\/li>\n\n\n\n<li>Gib dem NPC einen anderen Namen<\/li>\n\n\n\n<li>Suche nach einem Block, mit dem du eine Animation mit mehreren Bildern abspielen kannst<\/li>\n\n\n\n<li>Achte darauf, dass sich dein NPC nicht \u00fcber das Feld bewegt, aber trotzdem lebendig wirkt. Er k\u00f6nnte zum Beispiel &#8222;auf- und abwippen&#8220;&#8230;<\/li>\n<\/ul>\n\n\n\n<p>\ud83d\udd0d <strong>Beobachtung:<\/strong><br>Was passiert, wenn du mehrere NPCs erstellst? Kannst du ihnen unterschiedliche Animationen geben?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udd38 Ziel: Erstelle einen animierten NPC und bringe ihn auf&#8217;s Spielfeld \ud83e\udde0 Was ist ein NPC?Ein NPC (Non-Playable Character) ist eine Figur, die du nicht steuerst \u2013 sie ist Teil&hellip;<\/p>\n","protected":false},"author":1,"featured_media":532,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,31,13],"tags":[],"class_list":["post-531","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-allgemein","category-makecode-arcade","category-tutorial"],"_links":{"self":[{"href":"https:\/\/sora.fshcloud.de\/index.php?rest_route=\/wp\/v2\/posts\/531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sora.fshcloud.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sora.fshcloud.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sora.fshcloud.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sora.fshcloud.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=531"}],"version-history":[{"count":1,"href":"https:\/\/sora.fshcloud.de\/index.php?rest_route=\/wp\/v2\/posts\/531\/revisions"}],"predecessor-version":[{"id":533,"href":"https:\/\/sora.fshcloud.de\/index.php?rest_route=\/wp\/v2\/posts\/531\/revisions\/533"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sora.fshcloud.de\/index.php?rest_route=\/wp\/v2\/media\/532"}],"wp:attachment":[{"href":"https:\/\/sora.fshcloud.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sora.fshcloud.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sora.fshcloud.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}