VitaZheltyakov

Members
  • Content count

    184
  • Joined

  • Last visited

About VitaZheltyakov

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male
  • Location
    Russia, Volgograd

Recent Profile Visitors

1,022 profile views
  1. Problem with colllide group vs itself

    player.body.mass = 1; animal.body.mass = 999;
  2. Immovable objects

    sprite1.body.mass = 99999999; sprite2.body.mass = 99999999;
  3. best resolution for playstore and applestore ?

    Use code: var configuration = { 'render' : Phaser.CANVAS, // Render type 'canvas_width_max' : 2048, // The maximum width of the canvas 'canvas_width' : 1000, // The width of the canvas 'canvas_height_max' : 2048, // The maximum height of the canvas 'canvas_height' : 650, // The height of the canvas 'scale_ratio' : 1, // Scaling factor 'aspect_ratio' : 1, // Aspect ratio }; // Calculate the scaling factor and the aspect ratio configuration.canvas_width = window.screen.availWidth * window.devicePixelRatio; configuration.canvas_height = window.screen.availHeight * window.devicePixelRatio; configuration.aspect_ratio = configuration.canvas_width / configuration.canvas_height; if (configuration.aspect_ratio < 1) configuration.scale_ratio = configuration.canvas_height / configuration.canvas_height_max; else configuration.scale_ratio = configuration.canvas_width / configuration.canvas_width_max; game = new Phaser.Game(configuration.canvas_width, configuration.canvas_height, configuration.render, 'gamewindow', { preload: preload, create: create, update: update, render: render }); player = game.add.sprite(game.world.centerX, game.world.centerY, 'player'); player.scale.set(configuration.scale_ratio);
  4. Arcade physics circle body scale

    setCircle(45); It sets new size and ignores the scale. You need use: setCircle(45*scaleValue);
  5. How to create rounded corner rectangle?

    https://github.com/VitaZheltyakov/phaser-nine-patch-plugin
  6. Phaser with Cordova ?

    What does the server?
  7. Supporting diffrent phone size

    Use the forum search. This topic has been discussed a thousand times.
  8. It is possible that a problem in audio decoding
  9. They have approximately the same performance.
  10. Phaser 2.6.0 Released (+ 2.6.1)

    Performance is almost the same.
  11. AddMoveCallBack cannot detect isUp

    Yes, 'addMoveCallBack' not detect 'pointer.isUp'
  12. Direction circle

    The angle of the Body in radians
  13. Zoom

    https://github.com/photonstorm/phaser-examples/blob/master/examples/camera/zooming%20the%20camera.js
  14. Arcade Physics acting differently on different mobile devices

    I can assume that the problem is associated with different screen sizes. The relative sizes of the player are the same?
  15. low FPS on mobile, problem with performance

    Do as described in the commentary above. And turn off the GPU-backlist in Crosswalk