{"id":284267,"date":"2017-03-31T22:55:02","date_gmt":"2017-03-31T18:55:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=284267"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=284267","title":{"rendered":"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0432\u0430\u0448\u0435\u0439 \u043f\u0435\u0440\u0432\u043e\u0439 \u0438\u0433\u0440\u044b \u043d\u0430 Phaser. \u0427\u0430\u0441\u0442\u044c 3 \u2014 \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043c\u0438\u0440\u0430"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ac6\/49b\/3bd\/ac649b3bd0174bedac8751a92e42a65d.png\" alt=\"Phaser\"\/><\/p>\n<p>  <\/p>\n<h2 id=\"oglavlenie\">\u041e\u0433\u043b\u0430\u0432\u043b\u0435\u043d\u0438\u0435<\/h2>\n<p>  <\/p>\n<p><strong>0<\/strong>. <a href=\"https:\/\/habrahabr.ru\/post\/324894\/\">\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a \u0440\u0430\u0431\u043e\u0442\u0435<\/a><br \/>  <strong>1<\/strong>. <a href=\"https:\/\/habrahabr.ru\/post\/324896\/\">\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/a><br \/>  <strong>2<\/strong>. <a href=\"https:\/\/habrahabr.ru\/post\/325220\/\">\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432<\/a><br \/>  <strong>3<\/strong>. \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043c\u0438\u0440\u0430 [<code>\u0412\u044b \u0442\u0443\u0442<\/code>]<br \/>  <strong>4<\/strong>. (<em>wip<\/em>) \u0413\u0440\u0443\u043f\u043f\u044b<br \/>  <strong>5<\/strong>. (<em>wip<\/em>) \u041c\u0438\u0440 \u0444\u0438\u0437\u0438\u043a\u0438<br \/>  <strong>6<\/strong>. (<em>wip<\/em>) \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435<br \/>  <strong>7<\/strong>. (<em>wip<\/em>) \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0446\u0435\u043b\u0435\u0439<br \/>  <strong>8<\/strong>. (<em>wip<\/em>) \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0448\u0442\u0440\u0438\u0445\u0438<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u0448\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u043c\u0438\u0440 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u0440\u0430, \u0447\u0442\u043e\u0431\u044b \u0433\u043b\u0430\u0432\u043d\u043e\u043c\u0443 \u0433\u0435\u0440\u043e\u044e \u0431\u044b\u043b\u043e \u0433\u0434\u0435 \u0436\u0438\u0442\u044c \u0438 \u0435\u0433\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435 \u0438\u043c\u0435\u043b\u043e \u0445\u043e\u0442\u044c \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0441\u043c\u044b\u0441\u043b.<\/p>\n<p>  <\/p>\n<p>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u0447\u0438\u0442\u0430\u0442\u044c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u0432 \u043a\u043e\u0434\u0435, \u043e\u043d\u0438 \u0432\u0430\u0436\u043d\u044b!<\/p>\n<p>  <\/p>\n<p>\u0412\u0435\u0441\u044c \u043a\u043e\u0434, \u043a\u0430\u043a \u0438 \u0432 \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0440\u0430\u0437, \u043b\u0435\u0436\u0438\u0442 \u0432 <a href=\"https:\/\/github.com\/SuperPaintman\/phaser-typescript-tutorial\">Github \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438<\/a> \u0441 \u0442\u0435\u0433\u043e\u043c <code>part-3<\/code>.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<h2 id=\"sozdanie-igrovogo-mira\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043c\u0438\u0440\u0430<\/h2>\n<p>  <\/p>\n<p>\u041c\u044b \u0443\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043c\u0435\u0442\u043e\u0434 <code>this.game.add.sprite()<\/code> \u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u0443\u0440\u043e\u043a\u0435 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0437\u0432\u0435\u0437\u0434, \u043d\u043e \u043f\u043e\u043c\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u043f\u0440\u0430\u0439\u0442\u0430 \u0432 \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u043c\u0438\u0440, \u044d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 <code>Phaser.Sprite<\/code> \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0445 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0439 \u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u043c \u0441\u043f\u0440\u0430\u0439\u0442\u043e\u043c.<\/p>\n<p>  <\/p>\n<p>\u0418\u0433\u0440\u043e\u0432\u043e\u0439 \u043c\u0438\u0440 \u0432 <strong>Phaser<\/strong> \u2014 \u044d\u0442\u043e \u043c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 \u0436\u0438\u0432\u0443\u0442 \u0432\u0441\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430\u043c\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u044b, \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u0441\u043e \u0441\u0446\u0435\u043d\u043e\u0439 \u0432 <strong>ActionScript 3<\/strong>. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u043c\u0438\u0440 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0442\u0447\u0438\u0449\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0441\u043c\u0435\u043d\u0435 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441\u0442\u0435\u0439\u0442\u0430 \u0438\u0433\u0440\u044b.<\/p>\n<p>  <\/p>\n<blockquote><p>\u0418\u0433\u0440\u043e\u0432\u043e\u0439 \u043c\u0438\u0440 \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0438 \u043c\u043e\u0436\u0435\u0442 \u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u0442\u0441\u044f \u0432\u043e \u0432\u0441\u0435\u0445 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u0445, \u0430 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b <code>0<\/code>, <code>0<\/code> \u2014 \u044d\u0442\u043e \u0446\u0435\u043d\u0442\u0440 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043c\u0438\u0440\u0430. \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 <strong>Phaser<\/strong> \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u0442 \u0432\u0435\u0440\u0445\u043d\u044e\u044e \u043b\u0435\u0432\u0443\u044e \u0442\u043e\u0447\u043a\u0443 \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u043a\u0430\u043c\u0435\u0440\u044b \u0432 \u0446\u0435\u043d\u0442\u0440 \u043c\u0438\u0440\u0430, \u043d\u043e \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u0434\u0432\u0438\u0433\u0430\u0442\u044c \u043a\u0430\u043c\u0435\u0440\u0443 \u0432 \u043d\u0443\u0436\u043d\u043e\u0435 \u0432\u0430\u043c \u043c\u0435\u0441\u0442\u043e.<\/p><\/blockquote>\n<p>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043e\u0431\u044a\u0435\u043a\u0442\u0443 \u043c\u0438\u0440\u0430 \u0447\u0435\u0440\u0435\u0437 \u0441\u0441\u044b\u043b\u043a\u0443: <code>this.game.world<\/code>. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u0435 \u0432\u044b \u043d\u0430\u0439\u0434\u0435\u0442\u0435 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 (\u0422\u0430\u043a\u0438\u0445 \u043a\u0430\u043a \u0432\u044b\u0441\u043e\u0442\u0430 \u0438 \u0448\u0438\u0440\u0438\u043d\u0430 \u043c\u0438\u0440\u0430, \u043c\u0430\u0441\u0441\u0438\u0432 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0432 \u0438\u0433\u0440\u0443 \u0438 \u0442.\u0434.), \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043c\u043e\u0433\u0443\u0442 \u0432\u0430\u043c \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0442\u044c \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0432 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u043c\u0438\u0440\u0435, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435.<\/p>\n<p>  <\/p>\n<p>\u0410 \u043f\u043e\u043a\u0430 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043a \u043a\u043e\u0434\u0443. \u0423\u0434\u0430\u043b\u0438\u043c \u0432\u0441\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430\u043c\u0438 \u0440\u0430\u043d\u0435\u0435 \u0437\u0432\u0435\u0437\u0434\u044b \u0438\u0437 <code>MainState<\/code> (<code>src\/states\/main.state.ts<\/code>), \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u044d\u0442\u043e\u0442 \u0441\u0442\u0435\u0439\u0442 \u0444\u043e\u043d \u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b:<\/p>\n<p>  <\/p>\n<pre><code>'use strict'; \/** Imports *\/ import State from '.\/state';  \/\/ \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0441\u0442\u0435\u0439\u0442 \u0438\u0433\u0440\u044b export default class MainState extends State {   sky: Phaser.Sprite; \/\/ \u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0441\u043f\u0440\u0430\u0439\u0442 \u043d\u0435\u0431\u0430    platforms: Phaser.Group; \/\/ \u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0433\u0440\u0443\u043f\u043f\u0443 \u0441\u043f\u0440\u0430\u0439\u0442\u043e\u0432 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c    create(): void {     \/\/ Phaser \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0440\u0430\u0437\u043d\u044b\u0435 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u0432\u0438\u0436\u043a\u0438 (p2, box2d, ninja \u0438 arcate).     \/\/ \u0414\u043b\u044f \u043d\u0430\u0448\u0435\u0439 \u0438\u0433\u0440\u044b \u043d\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u0430 \u0441\u043b\u043e\u0436\u043d\u0430\u044f \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0438\u043c\u0443\u043b\u044f\u0446\u0438\u044f, \u0442\u0430\u043a \u0447\u0442\u043e \u0432\u044b\u0431\u0435\u0440\u0435\u043c     \/\/ \u0430\u0440\u043a\u0430\u0434\u043d\u0443\u044e \u0444\u0438\u0437\u0438\u043a\u0443.     this.game.physics.startSystem(Phaser.Physics.ARCADE);      \/\/ \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0430 \u0444\u043e\u043d \u0441\u043f\u0440\u0430\u0439\u0442 \u043d\u0435\u0431\u0430     this.sky = this.game.add.sprite(0, 0, 'sky');      \/\/ \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0433\u0440\u0443\u043f\u043f\u0443 \u0434\u043b\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c     this.platforms = this.game.add.group();      \/\/ \u0438 \u0432\u043a\u043b\u044e\u0447\u0438\u043c \u0444\u0438\u0437\u0438\u043a\u0443 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0432 \u044d\u0442\u0443 \u0433\u0440\u0443\u043f\u043f\u0443     this.platforms.enableBody = true;      \/\/ \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0441\u043f\u0440\u0430\u0439\u0442 \u043f\u043e\u043b\u0430     const ground = this.platforms.create(       0,       this.game.world.height - 64,       'platform'     );      \/\/ \u0440\u0430\u0441\u0442\u044f\u043d\u0435\u043c \u0435\u0433\u043e \u0432 2 \u0440\u0430\u0437\u0430 \u043f\u043e \u0432\u044b\u0441\u043e\u0442\u0435 \u0438 \u0448\u0438\u0440\u0438\u043d\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u043e\u0433\u043d\u0430\u0442\u044c \u043f\u043e\u0434 \u0440\u0430\u0437\u043c\u0435\u0440\u044b     \/\/ \u0438\u0433\u0440\u044b (\u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u044b \u0441\u043f\u0440\u0430\u0439\u0442\u0430 - 400x32, \u0430 \u0448\u0438\u0440\u0438\u043d\u0430 \u043c\u0438\u0440\u0430 800)     ground.scale.setTo(2, 2);      \/\/ \u0438 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0435\u0433\u043e \u043d\u0435\u043f\u043e\u0434\u0432\u0438\u0436\u043d\u044b\u043c (\u0418\u043d\u0430\u0447\u0435 \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u043f\u0430\u0434\u0430\u0442\u044c, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u044b\u0433\u0430\u0442\u044c     \/\/ \u043d\u0430 \u043d\u0435\u0433\u043e).     ground.body.immovable = true;      \/\/ \u0422\u0430\u043a\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0434\u0432\u0430 \u0443\u0441\u0442\u0443\u043f\u0430 \u043f\u043e \u043a\u0440\u0430\u044f\u043c \u044d\u043a\u0440\u0430\u043d\u0430     const ledge1 = this.platforms.create(400, 400, 'platform');     ledge1.body.immovable = true; \/\/ \u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u043f\u043e\u043b\u0443, \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0435\u0433\u043e \u043d\u0435\u043f\u043e\u0434\u0432\u0438\u0436\u043d\u044b\u043c      const ledge2 = this.platforms.create(-150, 250, 'platform');     ledge2.body.immovable = true; \/\/ \u0438 \u0432\u0442\u043e\u0440\u043e\u0439 \u0442\u043e\u0436\u0435.   } }<\/code><\/pre>\n<p>  <\/p>\n<p>\u0421\u0434\u0435\u043b\u0430\u043b\u0438 \u0432\u0441\u0435 \u0432\u0435\u0440\u043d\u043e? \u0422\u043e\u0433\u0434\u0430 \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u0430\u0440\u0442\u0438\u043d\u0443 \u0443 \u0441\u0435\u0431\u044f \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435:<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/534\/f9f\/815\/534f9f815a2643ea8782a313b99bed8c.png\" alt=\"Screenshot 1\"\/><\/p>\n<p>  <\/p>\n<p>\u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u0432\u044b \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438 \u0447\u0442\u043e \u043c\u044b \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u0433\u0440\u0443\u043f\u043f\u0430\u043c\u0438 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f, \u043e\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043e\u0434\u0438\u043d\u043e\u0447\u043d\u043e\u0433\u043e \u0441\u043f\u0440\u0430\u0439\u0442\u0430. \u042f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0432\u0430\u043c \u043e \u0438\u0445 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0438 \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0445 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0447\u0430\u0441\u0442\u0438.<\/p>\n<p>  <\/p>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043c \u0434\u0430\u043d\u043d\u044b\u0439 \u0443\u0440\u043e\u043a.<\/p>\n<p>  <\/p>\n<p><strong>Github Repo<\/strong>: <a href=\"https:\/\/github.com\/SuperPaintman\/phaser-typescript-tutorial\">https:\/\/github.com\/SuperPaintman\/phaser-typescript-tutorial<\/a><\/p>\n<p>  <\/p>\n<p><a href=\"#oglavlenie\"><strong>\u041a \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044e<\/strong><\/a><\/p>\n<p> \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:\/\/habrahabr.ru\/post\/325384\/\"> https:\/\/habrahabr.ru\/post\/325384\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ac6\/49b\/3bd\/ac649b3bd0174bedac8751a92e42a65d.png\" alt=\"Phaser\"\/><\/p>\n<p>  <\/p>\n<h2 id=\"oglavlenie\">\u041e\u0433\u043b\u0430\u0432\u043b\u0435\u043d\u0438\u0435<\/h2>\n<p>  <\/p>\n<p><strong>0<\/strong>. <a href=\"https:\/\/habrahabr.ru\/post\/324894\/\">\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a \u0440\u0430\u0431\u043e\u0442\u0435<\/a><br \/>  <strong>1<\/strong>. <a href=\"https:\/\/habrahabr.ru\/post\/324896\/\">\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/a><br \/>  <strong>2<\/strong>. <a href=\"https:\/\/habrahabr.ru\/post\/325220\/\">\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432<\/a><br \/>  <strong>3<\/strong>. \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043c\u0438\u0440\u0430 [<code>\u0412\u044b \u0442\u0443\u0442<\/code>]<br \/>  <strong>4<\/strong>. (<em>wip<\/em>) \u0413\u0440\u0443\u043f\u043f\u044b<br \/>  <strong>5<\/strong>. (<em>wip<\/em>) \u041c\u0438\u0440 \u0444\u0438\u0437\u0438\u043a\u0438<br \/>  <strong>6<\/strong>. (<em>wip<\/em>) \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435<br \/>  <strong>7<\/strong>. (<em>wip<\/em>) \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0446\u0435\u043b\u0435\u0439<br \/>  <strong>8<\/strong>. (<em>wip<\/em>) \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0448\u0442\u0440\u0438\u0445\u0438<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u0448\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u043c\u0438\u0440 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u0440\u0430, \u0447\u0442\u043e\u0431\u044b \u0433\u043b\u0430\u0432\u043d\u043e\u043c\u0443 \u0433\u0435\u0440\u043e\u044e \u0431\u044b\u043b\u043e \u0433\u0434\u0435 \u0436\u0438\u0442\u044c \u0438 \u0435\u0433\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435 \u0438\u043c\u0435\u043b\u043e \u0445\u043e\u0442\u044c \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0441\u043c\u044b\u0441\u043b.<\/p>\n<p>  <\/p>\n<p>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u0447\u0438\u0442\u0430\u0442\u044c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u0432 \u043a\u043e\u0434\u0435, \u043e\u043d\u0438 \u0432\u0430\u0436\u043d\u044b!<\/p>\n<p>  <\/p>\n<p>\u0412\u0435\u0441\u044c \u043a\u043e\u0434, \u043a\u0430\u043a \u0438 \u0432 \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0440\u0430\u0437, \u043b\u0435\u0436\u0438\u0442 \u0432 <a href=\"https:\/\/github.com\/SuperPaintman\/phaser-typescript-tutorial\">Github \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438<\/a> \u0441 \u0442\u0435\u0433\u043e\u043c <code>part-3<\/code>.<\/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-284267","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/284267","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=284267"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/284267\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=284267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=284267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=284267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}