GideonSam

Members
  • Content Count

    42
  • Joined

  • Last visited

1 Follower

About GideonSam

Recent Profile Visitors

1288 profile views
  1. add the bg to another group and mask only the tiles group
  2. Hi All , Phaser Developer available for hire , worked on games, educational games, flash to html5 conversions, playable ads and native games (packaged using Cordova) Please PM me for a demo of my works . Thanks
  3. Yeah I'm loading again, on reloading again it fires adnofill event due to rate limit
  4. I was unable to show ads more than One time, due to the rate limit issue. How to fix it
  5. Hi All, I'm a Phaser developer available for hire,( remote, full time, freelancing) , can show the works done on a PM Please PM me if u r in need of a developer Thanks
  6. Add the resource locally to a folder called assets and load it like this.load.image('boat', 'assets/boat.png');
  7. Try adding a image the center of the game using the game centerX,centerY property. if you are using group add it on the top most layer it should be visible clearly. if there is a black box with green line instead of the image, that means the image is not loaded properly and check console for more
  8. May be becuase of the auido played in the update loop if (hitFace){ this.sound2.play(); hitFace = false }
  9. this.game.onPause.add(this.yourGamePausedFunc, this); this.game.onResume.add(this.yourGameResumedFunc, this); yourGamePausedFunc: function () { this.game.input.mspointer.stop(); }, yourGameResumedFunc: function () { this.game.input.mspointer.stop(); } you should add key to overrride defaults keyactions this.upKey = game.input.keyboard.addKey(Phaser.Keyboard.UP); try this it worked for me
  10. When you are adding a tileset check the Embed in Map box
  11. Hi All I've been working on a top down endless runner , where the player jumps from one platform to another and should not leave the screen. How to make a platform move horizontally I'm spawning platforms and adding x and y velocity its working but is it a right of doing it ? if not how to make it look better this.initX = this.x; this.body.velocity.y = -200; platform.prototype.update = function () { if (this.moving) { if (this.x > (this.initX + this.width)) { this.speed = -200; } if (this.x < (this.initX)) { this.speed = 200; } this.body.velocity.x = this.speed; }
  12. Hi I have ported a flash box2d game into phaser box2d game It works fine on pc browser and android browser but the performance is very low when it comes to ios Any ideas please, I have been banging my head in these for few days
  13. Hi All, I'M learning Phaser 3 Matter physics. I have a static rectangle body with its angle rotated to make a slope. when i drop a ball from the top its slides in the slope , the ball is not rotating while moving down the slope. (it slides without rotating) kindly help var rectangle = _this.matter.add.rectangle(px, py, w, h, { restitution: 0.9 }); rectangle.isStatic = true Phaser.Physics.Matter.Matter.Body.setAngle(rectangle,a) var ball = _this.matter.add.sprite(320, 10, "ball"); ball.setCircle(); ball.setBounce(1);