{"id":240,"date":"2015-11-16T20:13:12","date_gmt":"2015-11-16T19:13:12","guid":{"rendered":"https:\/\/inf.gymgmunden.at\/?p=240"},"modified":"2016-04-06T11:19:22","modified_gmt":"2016-04-06T09:19:22","slug":"tilemaps-erstellen","status":"publish","type":"post","link":"https:\/\/inf.gymgmunden.at\/index.php\/2015\/11\/16\/tilemaps-erstellen\/","title":{"rendered":"Tilemaps erstellen"},"content":{"rendered":"<p>Diese Woche im WPG Inf6:<\/p>\n<p>Wir besch\u00e4ftigen uns mit dem Datentyp Array und wenden diesen im Beispiel der Verwendung von Tilemaps an.<\/p>\n<p>Eine Tilemap ist eine kleine Grafik, die ihrerseits aus vielen kleinen, meist quadratischen, Teilgrafiken besteht. Diese kann man St\u00fcck f\u00fcr St\u00fcck aneinandersetzen und sie ergeben so eine gro\u00dfe Hintergrundgrafik, wie sie in Spielen verwendet werden.<\/p>\n<p>Zuerst spielen wir uns mit linearen Grafiken (oberes Beispiel; Anwendung z.B. beim bekannten Flappy Birds), anschlie\u00dfend konstruieren wir bereits zweidimensionale Maps (unterer Teil).<\/p>\n<div id='gallery-1' class='gallery galleryid-240 gallery-columns-3 gallery-size-thumbnail'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/inf.gymgmunden.at\/index.php\/2015\/11\/16\/tilemaps-erstellen\/php10\/'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/inf.gymgmunden.at\/wp-content\/uploads\/2016\/04\/php10-150x150.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/inf.gymgmunden.at\/index.php\/2015\/11\/16\/tilemaps-erstellen\/php11\/'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/inf.gymgmunden.at\/wp-content\/uploads\/2016\/04\/php11-150x150.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure>\n\t\t<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Diese Woche im WPG Inf6: Wir besch\u00e4ftigen uns mit dem Datentyp Array und wenden diesen im Beispiel der Verwendung von Tilemaps an. Eine Tilemap ist eine kleine Grafik, die ihrerseits aus vielen kleinen, meist quadratischen, Teilgrafiken besteht. Diese kann man St\u00fcck f\u00fcr St\u00fcck aneinandersetzen und sie ergeben so eine gro\u00dfe Hintergrundgrafik, wie sie in Spielen [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,10,4],"tags":[],"class_list":["post-240","post","type-post","status-publish","format-standard","hentry","category-php","category-programmieren","category-wpg-inf-6-mega-flops"],"_links":{"self":[{"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/posts\/240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/comments?post=240"}],"version-history":[{"count":1,"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/posts\/240\/revisions"}],"predecessor-version":[{"id":243,"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/posts\/240\/revisions\/243"}],"wp:attachment":[{"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/media?parent=240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/categories?post=240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/tags?post=240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}