{"id":407825,"date":"2024-06-29T19:47:37","date_gmt":"2024-06-29T19:47:37","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=407825"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=407825","title":{"rendered":"<span>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u043e\u043d\u043b\u0430\u0439\u043d \u041c\u041c\u041e \u0438\u0433\u0440 \u043d\u0430 PHP \u0447. 7 \u2014 \u0418\u0433\u0440\u043e\u0432\u044b\u0435 \u043b\u043e\u043a\u0430\u0446\u0438\u0438 (\u0442\u0430\u0439\u043b\u043e\u0432\u044b\u0435 \u043a\u0430\u0440\u0442\u044b)<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043e \u0441\u0432\u043e\u0435\u043c <a href=\"https:\/\/habr.com\/ru\/users\/webrobot\/posts\/\" rel=\"noopener noreferrer nofollow\">\u043f\u0443\u0442\u0438 <\/a>\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u041f\u041e \u0434\u043b\u044f \u0434\u043e\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 \u0438\u0433\u0440\u0430\u0445 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0445\u043e\u0442\u0435\u043b \u0431\u044b \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u044b\u0445 \u043a\u0430\u0440\u0442\u0430\u0445 (\u043b\u043e\u043a\u0430\u0446\u0438\u044f\u0445). <\/p>\n<p>\u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 MMO RPG \u0438\u0433\u0440\u044b \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u0441\u0430\u043c\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u043a\u0430\u043a \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f &#8212; \u0442\u0430\u0439\u043b\u043e\u0432\u044b\u0435 \u043a\u0430\u0440\u0442\u044b. \u0412\u0441\u044f \u0438\u0445 \u0433\u0440\u0430\u0444\u0438\u043a\u0430 \u0440\u0430\u0437\u0431\u0438\u0442\u0430 \u043d\u0430 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u044b \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u0430 \u043a\u0430\u0440\u0442\u0430 &#8212; \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0438\u0437 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043e\u0432 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u0442\u0441\u044f (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0437\u0435\u043c\u043b\u044f, \u0432\u043e\u0434\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0440\u0430\u0437\u043c\u043d\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u044b \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 \u043d\u0430\u0431\u043e\u0440 \u0442\u0430\u0439\u043b\u043e\u0432)<\/p>\n<p>\u0412 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435 \u044f \u043d\u0430\u0448\u0435\u043b , \u0447\u0442\u043e \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043a\u0430\u0440\u0442\u0430\u043c\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 <a href=\"https:\/\/www.mapeditor.org\/\" rel=\"noopener noreferrer nofollow\">Tiled <\/a>&#8212; \u043e\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0438\u0437\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 (2.5D), \u0433\u0435\u043a\u0441\u043e\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0438 \u043e\u0440\u0442\u043e\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/432\/89e\/2ad\/43289e2adfa8a29e874c9babece5007b.png\" alt=\"\u0438\u0437\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043a\u0430\u0440\u0442\u044b\" title=\"\u0438\u0437\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043a\u0430\u0440\u0442\u044b\" width=\"1920\" height=\"1080\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/432\/89e\/2ad\/43289e2adfa8a29e874c9babece5007b.png\"\/><\/p>\n<div><figcaption>\u0438\u0437\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043a\u0430\u0440\u0442\u044b<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/30d\/7d8\/df1\/30d7d8df10f97e57d02788e4f649b2eb.png\" alt=\"\u0433\u0435\u043a\u0441\u043e\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b\" title=\"\u0433\u0435\u043a\u0441\u043e\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b\" width=\"1920\" height=\"1080\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/30d\/7d8\/df1\/30d7d8df10f97e57d02788e4f649b2eb.png\"\/><\/p>\n<div><figcaption>\u0433\u0435\u043a\u0441\u043e\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/fb4\/fdc\/21f\/fb4fdc21fecd3b8b1697edcd9fc259fc.png\" alt=\"\u043e\u0440\u0442\u043e\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b\" title=\"\u043e\u0440\u0442\u043e\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b\" width=\"1920\" height=\"1080\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fb4\/fdc\/21f\/fb4fdc21fecd3b8b1697edcd9fc259fc.png\"\/><\/p>\n<div><figcaption>\u043e\u0440\u0442\u043e\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b<\/figcaption><\/div>\n<\/figure>\n<p>\u041c\u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c \u0447\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u044b\u0433\u0440\u0443\u0437\u043a\u0443 xml , \u043a\u043e\u0442\u043e\u0440\u0430\u044f  \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043d\u0435\u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043e\u0431\u043b\u0430\u0441\u0442\u0438, VFX\u00a0 \u044d\u0444\u0444\u0435\u043a\u0442\u044b \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u043c  \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0430\u0432\u0442\u043e\u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 (\u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435)  \u0442\u0430\u0439\u043b\u043e\u0432 \u043f\u043e \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0443<\/p>\n<details class=\"spoiler\">\n<summary>\u043f\u0440\u0438\u043c\u0435\u0440 xml \u0444\u0430\u0438\u043b\u0430<\/summary>\n<div class=\"spoiler__content\">\n<pre><code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?> &lt;map version=\"1.5\" tiledversion=\"1.7.1\" orientation=\"orthogonal\" renderorder=\"right-down\" width=\"100\" height=\"100\" tilewidth=\"32\" tileheight=\"32\" infinite=\"0\" nextlayerid=\"5\" nextobjectid=\"4\">  &lt;tileset firstgid=\"1\" name=\"tmw_desert_spacing\" tilewidth=\"32\" tileheight=\"32\" spacing=\"1\" margin=\"1\" tilecount=\"48\" columns=\"8\">   &lt;image source=\"tmw_desert_spacing.png\" trans=\"4affea\" width=\"265\" height=\"199\"\/>  &lt;\/tileset>  &lt;tileset firstgid=\"49\" name=\"tmw_desert_spacing2\" tilewidth=\"32\" tileheight=\"32\" spacing=\"1\" margin=\"1\" tilecount=\"48\" columns=\"8\">   &lt;image source=\"tmw_desert_spacing.png\" trans=\"4affea\" width=\"265\" height=\"199\"\/>   &lt;tile id=\"0\">    &lt;objectgroup draworder=\"index\" id=\"2\"> &lt;object id=\"1\" x=\"5.76013\" y=\"7.63843\" width=\"16.2786\" height=\"16.9047\"\/>    &lt;\/objectgroup>   &lt;\/tile>  &lt;\/tileset>  &lt;layer id=\"1\" name=\"\u0421\u043b\u043e\u0439 \u0442\u0430\u0439\u043b\u043e\u0432 1\" width=\"100\" height=\"100\">   &lt;data encoding=\"csv\"> ...  &lt;\/data>  &lt;\/layer>  &lt;objectgroup id=\"3\" name=\"\u0421\u043b\u043e\u0439 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 1\">   &lt;object id=\"1\" gid=\"3221225473\" x=\"105.5\" y=\"66.5\" width=\"32\" height=\"32\" rotation=\"90\"\/>   &lt;object id=\"2\" gid=\"3221225503\" x=\"204.639\" y=\"72.6027\" width=\"58.5\" height=\"41\" rotation=\"324.844\"\/>  &lt;\/objectgroup> &lt;\/map><\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u042f \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b WEB \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 PHP \u043a\u0443\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0444\u043e\u0440\u043c\u0430\u0442\u0430 xml \u0434\u0430\u043d\u043d\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b .<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/1fc\/7e9\/6c9\/1fc7e96c916186cc2570159524e4d7b8.png\" alt=\"\u0434\u0435\u043c\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 http:\/\/my-fantasy.ru\" title=\"\u0434\u0435\u043c\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 http:\/\/my-fantasy.ru\" width=\"1920\" height=\"1080\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1fc\/7e9\/6c9\/1fc7e96c916186cc2570159524e4d7b8.png\"\/><\/p>\n<div><figcaption>\u0434\u0435\u043c\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 http:\/\/my-fantasy.ru<\/figcaption><\/div>\n<\/figure>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u0430\u0440\u0442\u044b \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u043b \u0441\u043e\u0431\u043e\u0439 \u043a\u043b\u0430\u0441\u0441 PHP (\u043d\u0430\u0437\u043e\u0432\u0435\u043c \u0438\u0445 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044f\u043c\u0438) \u0441 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0432 \u043d\u0435\u0433\u043e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0435\u0439. \u0411\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0434\u043e\u043b\u0436\u043d\u0430 \u0438\u043c\u0435\u0442\u044c \u043e\u0434\u043d\u043e\u0438\u043c\u0435\u043d\u043d\u044b\u0435 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044f\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0438 \u043f\u043e\u043b\u044f (\u0432\u0441\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442\u0441\u044f ORM \u043e\u0442 Doctrine).<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/3a3\/6b8\/e53\/3a36b8e53f48c6b7bcc0cfa794466c5e.png\" alt=\"\u043a\u043e\u0440\u043d\u0435\u0432\u0430\u044f \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c - \u043a\u0430\u0440\u0442\u0430\" title=\"\u043a\u043e\u0440\u043d\u0435\u0432\u0430\u044f \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c - \u043a\u0430\u0440\u0442\u0430\" width=\"1856\" height=\"936\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3a3\/6b8\/e53\/3a36b8e53f48c6b7bcc0cfa794466c5e.png\"\/><\/p>\n<div><figcaption>\u043a\u043e\u0440\u043d\u0435\u0432\u0430\u044f \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c &#8212; \u043a\u0430\u0440\u0442\u0430<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f91\/838\/192\/f91838192a8ddb6975740a05218a7e3c.png\" alt=\"\u0432\u043b\u043e\u0436\u0435\u043d\u043d\u0430\u044f \u0432 \u043a\u0430\u0440\u0442\u0443 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c - \u0441\u043b\u043e\u0439 \u043a\u0430\u0440\u0442\u044b\" title=\"\u0432\u043b\u043e\u0436\u0435\u043d\u043d\u0430\u044f \u0432 \u043a\u0430\u0440\u0442\u0443 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c - \u0441\u043b\u043e\u0439 \u043a\u0430\u0440\u0442\u044b\" width=\"1854\" height=\"936\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f91\/838\/192\/f91838192a8ddb6975740a05218a7e3c.png\"\/><\/p>\n<div><figcaption>\u0432\u043b\u043e\u0436\u0435\u043d\u043d\u0430\u044f \u0432 \u043a\u0430\u0440\u0442\u0443 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c &#8212; \u0441\u043b\u043e\u0439 \u043a\u0430\u0440\u0442\u044b<\/figcaption><\/div>\n<\/figure>\n<p>\u041d\u0430\u043a\u0438\u0434\u0430\u0432 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0432 \u0411\u0414 \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438\u0437 \u0431\u0434 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b xml \u0444\u0430\u043b\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 reflection, XMLReader , php attribute \u0432\u0441\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 xml \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0441\u0432\u0435\u043b\u0430\u0441\u044c \u043a \u0432\u044b\u0437\u043e\u0432\u0443 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u0432 \u043a\u043e\u0434\u0430 \u0432 php \u0432\u0438\u0434\u0430: <\/p>\n<pre><code>(new Tiled\\Xml\\Map($id))->parse(file_get_contents('1.tmx'))->save();<\/code><\/pre>\n<p>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438 \u0438\u043b\u0438 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0438\u0445 \u043f\u043e\u043b\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0438\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043a\u043b\u0430\u0441\u0441\u044b php \u043f\u0430\u043f\u043a\u0430\u0445. <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044f \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f php \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 GD \u0447\u0442\u043e \u0431\u044b \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u0438\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 \u0447\u0442\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0441\u044c \u0432 \u0411\u0414 \u0438 \u043f\u043e\u043d\u044f\u043b \u0447\u0442\u043e \u044d\u0442\u043e \u043f\u043b\u043e\u0445\u0430\u044f \u0438\u0434\u0435\u044f \u0442.\u043a. php \u043d\u0430 \u044d\u0442\u043e \u0442\u0440\u0430\u0442\u0438\u0442 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 . <\/p>\n<p>\u0412 \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u0435 \u044f \u0434\u0443\u043c\u0430\u044e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0430\u043d\u0430\u043b\u043e\u0433 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b Tiled, \u043d\u043e \u0432 \u0432\u0438\u0434\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0440\u0442\u044b, \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 Tiled \u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0438\u0433\u0440\u043e\u0432\u044b\u0435 \u043a\u0430\u0440\u0442\u044b \u043f\u0440\u044f\u043c\u043e \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 (\u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u0434\u0443\u0447\u0438\u0442\u044c JavaScript) \u0438 \u043d\u0430\u043f\u0438\u0448\u0443 \u043e\u0431 \u044d\u0442\u043e\u043c \u043d\u043e\u0432\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e. \u0412\u043e\u0442 \u043f\u0430\u0440\u0443 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432, \u0447\u0442\u043e \u044f \u043d\u0430\u0448\u0435\u043b \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/97a\/aea\/d76\/97aaead767df42cba43c18ea1662daba.png\" alt=\"https:\/\/victorribeiro.com\/tileEditor\/?example=01\" title=\"https:\/\/victorribeiro.com\/tileEditor\/?example=01\" width=\"1920\" height=\"1080\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/97a\/aea\/d76\/97aaead767df42cba43c18ea1662daba.png\"\/><\/p>\n<div><figcaption><a href=\"https:\/\/victorribeiro.com\/tileEditor\/?example=01\" rel=\"noopener noreferrer nofollow\">https:\/\/victorribeiro.com\/tileEditor\/?example=01<\/a><\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ee8\/9aa\/41c\/ee89aa41c550e6b9f67575a46cd536a3.png\" alt=\"https:\/\/blurymind.github.io\/tilemap-editor\/\" title=\"https:\/\/blurymind.github.io\/tilemap-editor\/\" width=\"1920\" height=\"1080\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ee8\/9aa\/41c\/ee89aa41c550e6b9f67575a46cd536a3.png\"\/><\/p>\n<div><figcaption><a href=\"https:\/\/blurymind.github.io\/tilemap-editor\/\" rel=\"noopener noreferrer nofollow\">https:\/\/blurymind.github.io\/tilemap-editor\/<\/a><\/figcaption><\/div>\n<\/figure>\n<p>PS. \u041a\u0430\u043a \u044f \u043f\u043e\u043d\u044f\u043b Tiled \u0431\u044b\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0430 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 open source \u0438\u0433\u0440\u044b The Mana World \u043a\u0430\u0440\u0442\u044b \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441 \u043b\u0435\u0433\u043a\u043e\u0441\u0442\u044c\u044e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0438\u0441\u044c \u0432 web \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 <\/p>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/6478aca57ddf71fbc1daf74f\" data-style=\"\" id=\"6478aca57ddf71fbc1daf74f\" width=\"\"><\/div>\n<p>\u0412 \u043c\u043e\u0435\u043c\u00a0<a href=\"https:\/\/habr.com\/ru\/users\/webrobot\/posts\/\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u043e\u0444\u0438\u043b\u0435<\/a>\u00a0\u0432\u044b \u043d\u0430\u0439\u0434\u0435\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0441\u0442\u0430\u0442\u044c\u0438 \u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u00a0<a href=\"http:\/\/mmogick.ru\/\" rel=\"noopener noreferrer nofollow\">http:\/\/mmogick.ru\/<\/a>  <\/p>\n<p>\u0418\u0441\u0442\u043e\u0440\u0438\u044f:<\/p>\n<ol>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/669996\/\" rel=\"noopener noreferrer nofollow\">\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/670050\/\" rel=\"noopener noreferrer nofollow\">\u041c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u043e\u0441\u0442\u044c \u0438 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0441\u0442\u044c<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/670296\/\" rel=\"noopener noreferrer nofollow\">WebSocket<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/671106\/\" rel=\"noopener noreferrer nofollow\">Redis<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/705806\/\" rel=\"noopener noreferrer nofollow\">LUA \u0438 JavaScript<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/706678\/\" rel=\"noopener noreferrer nofollow\">\u0412\u044b\u0431\u043e\u0440 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439, \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d Entity Component System<\/a><\/p>\n<\/li>\n<li>\n<p>\u0418\u0433\u0440\u043e\u0432\u044b\u0435 \u043b\u043e\u043a\u0430\u0446\u0438\u0438 (\u0442\u0430\u0439\u043b\u043e\u0432\u044b\u0435 \u043a\u0430\u0440\u0442\u044b)<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/739516\/\" rel=\"noopener noreferrer nofollow\">\u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043d\u0430 Unity<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/739576\/\" rel=\"noopener noreferrer nofollow\">\u0418\u0433\u0440\u043e\u0432\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0438<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/725466\/\" rel=\"noopener noreferrer nofollow\">\u041e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u0431\u0435\u0441\u0448\u043e\u0432\u043d\u044b\u0439 \u043c\u0438\u0440 \u0432 2D \u0438\u0433\u0440\u0435<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/725472\/\" rel=\"noopener noreferrer nofollow\">FPS, Ping, \u043f\u0430\u0443\u0437\u044b \u043c\u0435\u0436\u0434\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438, \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u044f \u0438 \u044d\u043a\u0441\u0442\u0440\u0430\u043f\u043e\u043b\u044f\u0446\u0438\u044f<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/725490\/\" rel=\"noopener noreferrer nofollow\">\u041e\u0447\u0435\u0440\u0435\u0434\u0438 \u0438 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 CPU<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/741734\/\" rel=\"noopener noreferrer nofollow\">Event-driven \u043f\u0430\u0442\u0442\u0435\u0440\u043d, JSON-RPC \u0438 \u043f\u043e\u0447\u0435\u043c\u0443 \u043d\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u0430\u044f (SOA) \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/742686\/\" rel=\"noopener noreferrer nofollow\">\u0421\u0435\u0442\u0435\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430 \u0438 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u043a\u0430\u0434\u0440\u0430 (Latency frame) \u043f\u043e RFC 2544 (1242)<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/780602\/\" rel=\"noopener noreferrer nofollow\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u043e\u043d\u043b\u0430\u0439\u043d \u041c\u041c\u041e \u0438\u0433\u0440 \u043d\u0430 PHP<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/814337\/\" rel=\"noopener noreferrer nofollow\">\u0413\u043e\u0442\u043e\u0432\u043e\u0435 MVP \u0441\u0435\u0440\u0432\u0438\u0441\u0430 2D MMO RPG \u0438\u0433\u0440 (realtime)<\/a><\/p>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/725470\/\"> https:\/\/habr.com\/ru\/articles\/725470\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043e \u0441\u0432\u043e\u0435\u043c <a href=\"https:\/\/habr.com\/ru\/users\/webrobot\/posts\/\" rel=\"noopener noreferrer nofollow\">\u043f\u0443\u0442\u0438 <\/a>\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u041f\u041e \u0434\u043b\u044f \u0434\u043e\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 \u0438\u0433\u0440\u0430\u0445 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0445\u043e\u0442\u0435\u043b \u0431\u044b \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u044b\u0445 \u043a\u0430\u0440\u0442\u0430\u0445 (\u043b\u043e\u043a\u0430\u0446\u0438\u044f\u0445). <\/p>\n<p>\u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 MMO RPG \u0438\u0433\u0440\u044b \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u0441\u0430\u043c\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u043a\u0430\u043a \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f &#8212; \u0442\u0430\u0439\u043b\u043e\u0432\u044b\u0435 \u043a\u0430\u0440\u0442\u044b. \u0412\u0441\u044f \u0438\u0445 \u0433\u0440\u0430\u0444\u0438\u043a\u0430 \u0440\u0430\u0437\u0431\u0438\u0442\u0430 \u043d\u0430 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u044b \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u0430 \u043a\u0430\u0440\u0442\u0430 &#8212; \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0438\u0437 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043e\u0432 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u0442\u0441\u044f (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0437\u0435\u043c\u043b\u044f, \u0432\u043e\u0434\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0440\u0430\u0437\u043c\u043d\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u044b \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 \u043d\u0430\u0431\u043e\u0440 \u0442\u0430\u0439\u043b\u043e\u0432)<\/p>\n<p>\u0412 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435 \u044f \u043d\u0430\u0448\u0435\u043b , \u0447\u0442\u043e \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043a\u0430\u0440\u0442\u0430\u043c\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 <a href=\"https:\/\/www.mapeditor.org\/\" rel=\"noopener noreferrer nofollow\">Tiled <\/a>&#8212; \u043e\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0438\u0437\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 (2.5D), \u0433\u0435\u043a\u0441\u043e\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0438 \u043e\u0440\u0442\u043e\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b.<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0438\u0437\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043a\u0430\u0440\u0442\u044b<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\">\n<div><figcaption>\u0433\u0435\u043a\u0441\u043e\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\">\n<div><figcaption>\u043e\u0440\u0442\u043e\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b<\/figcaption><\/div>\n<\/figure>\n<p>\u041c\u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c \u0447\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u044b\u0433\u0440\u0443\u0437\u043a\u0443 xml , \u043a\u043e\u0442\u043e\u0440\u0430\u044f  \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043d\u0435\u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043e\u0431\u043b\u0430\u0441\u0442\u0438, VFX\u00a0 \u044d\u0444\u0444\u0435\u043a\u0442\u044b \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u043c  \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0430\u0432\u0442\u043e\u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 (\u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435)  \u0442\u0430\u0439\u043b\u043e\u0432 \u043f\u043e \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0443<\/p>\n<details class=\"spoiler\">\n<summary>\u043f\u0440\u0438\u043c\u0435\u0440 xml \u0444\u0430\u0438\u043b\u0430<\/summary>\n<div class=\"spoiler__content\">\n<pre><code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?> &lt;map version=\"1.5\" tiledversion=\"1.7.1\" orientation=\"orthogonal\" renderorder=\"right-down\" width=\"100\" height=\"100\" tilewidth=\"32\" tileheight=\"32\" infinite=\"0\" nextlayerid=\"5\" nextobjectid=\"4\">  &lt;tileset firstgid=\"1\" name=\"tmw_desert_spacing\" tilewidth=\"32\" tileheight=\"32\" spacing=\"1\" margin=\"1\" tilecount=\"48\" columns=\"8\">   &lt;image source=\"tmw_desert_spacing.png\" trans=\"4affea\" width=\"265\" height=\"199\"\/>  &lt;\/tileset>  &lt;tileset firstgid=\"49\" name=\"tmw_desert_spacing2\" tilewidth=\"32\" tileheight=\"32\" spacing=\"1\" margin=\"1\" tilecount=\"48\" columns=\"8\">   &lt;image source=\"tmw_desert_spacing.png\" trans=\"4affea\" width=\"265\" height=\"199\"\/>   &lt;tile id=\"0\">    &lt;objectgroup draworder=\"index\" id=\"2\"> &lt;object id=\"1\" x=\"5.76013\" y=\"7.63843\" width=\"16.2786\" height=\"16.9047\"\/>    &lt;\/objectgroup>   &lt;\/tile>  &lt;\/tileset>  &lt;layer id=\"1\" name=\"\u0421\u043b\u043e\u0439 \u0442\u0430\u0439\u043b\u043e\u0432 1\" width=\"100\" height=\"100\">   &lt;data encoding=\"csv\"> ...  &lt;\/data>  &lt;\/layer>  &lt;objectgroup id=\"3\" name=\"\u0421\u043b\u043e\u0439 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 1\">   &lt;object id=\"1\" gid=\"3221225473\" x=\"105.5\" y=\"66.5\" width=\"32\" height=\"32\" rotation=\"90\"\/>   &lt;object id=\"2\" gid=\"3221225503\" x=\"204.639\" y=\"72.6027\" width=\"58.5\" height=\"41\" rotation=\"324.844\"\/>  &lt;\/objectgroup> &lt;\/map><\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u042f \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b WEB \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 PHP \u043a\u0443\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0444\u043e\u0440\u043c\u0430\u0442\u0430 xml \u0434\u0430\u043d\u043d\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b .<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0434\u0435\u043c\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 http:\/\/my-fantasy.ru<\/figcaption><\/div>\n<\/figure>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u0430\u0440\u0442\u044b \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u043b \u0441\u043e\u0431\u043e\u0439 \u043a\u043b\u0430\u0441\u0441 PHP (\u043d\u0430\u0437\u043e\u0432\u0435\u043c \u0438\u0445 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044f\u043c\u0438) \u0441 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0432 \u043d\u0435\u0433\u043e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0435\u0439. \u0411\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0434\u043e\u043b\u0436\u043d\u0430 \u0438\u043c\u0435\u0442\u044c \u043e\u0434\u043d\u043e\u0438\u043c\u0435\u043d\u043d\u044b\u0435 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044f\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0438 \u043f\u043e\u043b\u044f (\u0432\u0441\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442\u0441\u044f ORM \u043e\u0442 Doctrine).<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u043a\u043e\u0440\u043d\u0435\u0432\u0430\u044f \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c &#8212; \u043a\u0430\u0440\u0442\u0430<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\">\n<div><figcaption>\u0432\u043b\u043e\u0436\u0435\u043d\u043d\u0430\u044f \u0432 \u043a\u0430\u0440\u0442\u0443 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c &#8212; \u0441\u043b\u043e\u0439 \u043a\u0430\u0440\u0442\u044b<\/figcaption><\/div>\n<\/figure>\n<p>\u041d\u0430\u043a\u0438\u0434\u0430\u0432 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0432 \u0411\u0414 \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438\u0437 \u0431\u0434 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b xml \u0444\u0430\u043b\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 reflection, XMLReader , php attribute \u0432\u0441\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 xml \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0441\u0432\u0435\u043b\u0430\u0441\u044c \u043a \u0432\u044b\u0437\u043e\u0432\u0443 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u0432 \u043a\u043e\u0434\u0430 \u0432 php \u0432\u0438\u0434\u0430: <\/p>\n<pre><code>(new Tiled\\Xml\\Map($id))->parse(file_get_contents('1.tmx'))->save();<\/code><\/pre>\n<p>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438 \u0438\u043b\u0438 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0438\u0445 \u043f\u043e\u043b\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0438\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043a\u043b\u0430\u0441\u0441\u044b php \u043f\u0430\u043f\u043a\u0430\u0445. <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044f \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f php \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 GD \u0447\u0442\u043e \u0431\u044b \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u0438\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 \u0447\u0442\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0441\u044c \u0432 \u0411\u0414 \u0438 \u043f\u043e\u043d\u044f\u043b \u0447\u0442\u043e \u044d\u0442\u043e \u043f\u043b\u043e\u0445\u0430\u044f \u0438\u0434\u0435\u044f \u0442.\u043a. php \u043d\u0430 \u044d\u0442\u043e \u0442\u0440\u0430\u0442\u0438\u0442 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 . <\/p>\n<p>\u0412 \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u0435 \u044f \u0434\u0443\u043c\u0430\u044e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0430\u043d\u0430\u043b\u043e\u0433 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b Tiled, \u043d\u043e \u0432 \u0432\u0438\u0434\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0440\u0442\u044b, \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 Tiled \u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0438\u0433\u0440\u043e\u0432\u044b\u0435 \u043a\u0430\u0440\u0442\u044b \u043f\u0440\u044f\u043c\u043e \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 (\u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u0434\u0443\u0447\u0438\u0442\u044c JavaScript) \u0438 \u043d\u0430\u043f\u0438\u0448\u0443 \u043e\u0431 \u044d\u0442\u043e\u043c \u043d\u043e\u0432\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e. \u0412\u043e\u0442 \u043f\u0430\u0440\u0443 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432, \u0447\u0442\u043e \u044f \u043d\u0430\u0448\u0435\u043b \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435:<\/p>\n<figure class=\"full-width\">\n<div><figcaption><a href=\"https:\/\/victorribeiro.com\/tileEditor\/?example=01\" rel=\"noopener noreferrer nofollow\">https:\/\/victorribeiro.com\/tileEditor\/?example=01<\/a><\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\">\n<div><figcaption><a href=\"https:\/\/blurymind.github.io\/tilemap-editor\/\" rel=\"noopener noreferrer nofollow\">https:\/\/blurymind.github.io\/tilemap-editor\/<\/a><\/figcaption><\/div>\n<\/figure>\n<p>PS. \u041a\u0430\u043a \u044f \u043f\u043e\u043d\u044f\u043b Tiled \u0431\u044b\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0430 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 open source \u0438\u0433\u0440\u044b The Mana World \u043a\u0430\u0440\u0442\u044b \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441 \u043b\u0435\u0433\u043a\u043e\u0441\u0442\u044c\u044e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0438\u0441\u044c \u0432 web \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 <\/p>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/6478aca57ddf71fbc1daf74f\" data-style=\"\" id=\"6478aca57ddf71fbc1daf74f\" width=\"\"><\/div>\n<p>\u0412 \u043c\u043e\u0435\u043c\u00a0<a href=\"https:\/\/habr.com\/ru\/users\/webrobot\/posts\/\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u043e\u0444\u0438\u043b\u0435<\/a>\u00a0\u0432\u044b \u043d\u0430\u0439\u0434\u0435\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0441\u0442\u0430\u0442\u044c\u0438 \u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u00a0<a href=\"http:\/\/mmogick.ru\/\" rel=\"noopener noreferrer nofollow\">http:\/\/mmogick.ru\/<\/a>  <\/p>\n<p>\u0418\u0441\u0442\u043e\u0440\u0438\u044f:<\/p>\n<ol>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/669996\/\" rel=\"noopener noreferrer nofollow\">\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/670050\/\" rel=\"noopener noreferrer nofollow\">\u041c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u043e\u0441\u0442\u044c \u0438 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0441\u0442\u044c<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/670296\/\" rel=\"noopener noreferrer nofollow\">WebSocket<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/671106\/\" rel=\"noopener noreferrer nofollow\">Redis<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/705806\/\" rel=\"noopener noreferrer nofollow\">LUA \u0438 JavaScript<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/706678\/\" rel=\"noopener noreferrer nofollow\">\u0412\u044b\u0431\u043e\u0440 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439, \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d Entity Component System<\/a><\/p>\n<\/li>\n<li>\n<p>\u0418\u0433\u0440\u043e\u0432\u044b\u0435 \u043b\u043e\u043a\u0430\u0446\u0438\u0438 (\u0442\u0430\u0439\u043b\u043e\u0432\u044b\u0435 \u043a\u0430\u0440\u0442\u044b)<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/739516\/\" rel=\"noopener noreferrer nofollow\">\u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043d\u0430 Unity<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/739576\/\" rel=\"noopener noreferrer nofollow\">\u0418\u0433\u0440\u043e\u0432\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0438<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/725466\/\" rel=\"noopener noreferrer nofollow\">\u041e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u0431\u0435\u0441\u0448\u043e\u0432\u043d\u044b\u0439 \u043c\u0438\u0440 \u0432 2D \u0438\u0433\u0440\u0435<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/725472\/\" rel=\"noopener noreferrer nofollow\">FPS, Ping, \u043f\u0430\u0443\u0437\u044b \u043c\u0435\u0436\u0434\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438, \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u044f \u0438 \u044d\u043a\u0441\u0442\u0440\u0430\u043f\u043e\u043b\u044f\u0446\u0438\u044f<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/725490\/\" rel=\"noopener noreferrer nofollow\">\u041e\u0447\u0435\u0440\u0435\u0434\u0438 \u0438 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 CPU<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/741734\/\" rel=\"noopener noreferrer nofollow\">Event-driven \u043f\u0430\u0442\u0442\u0435\u0440\u043d, JSON-RPC \u0438 \u043f\u043e\u0447\u0435\u043c\u0443 \u043d\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u0430\u044f (SOA) \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/742686\/\" rel=\"noopener noreferrer nofollow\">\u0421\u0435\u0442\u0435\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430 \u0438 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u043a\u0430\u0434\u0440\u0430 (Latency frame) \u043f\u043e RFC 2544 (1242)<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/780602\/\" rel=\"noopener noreferrer nofollow\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u043e\u043d\u043b\u0430\u0439\u043d \u041c\u041c\u041e \u0438\u0433\u0440 \u043d\u0430 PHP<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/814337\/\" rel=\"noopener noreferrer nofollow\">\u0413\u043e\u0442\u043e\u0432\u043e\u0435 MVP \u0441\u0435\u0440\u0432\u0438\u0441\u0430 2D MMO RPG \u0438\u0433\u0440 (realtime)<\/a><\/p>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/725470\/\"> https:\/\/habr.com\/ru\/articles\/725470\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-407825","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/407825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=407825"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/407825\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=407825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=407825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=407825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}