Jump to content


  • Content Count

  • Joined

  • Last visited

About digitsensitive

  • Rank
    Advanced Member

Recent Profile Visitors

1565 profile views
  1. Have a look at the official Phaser 3 examples: http://labs.phaser.io, for example the Twirl example (http://labs.phaser.io/edit.html?src=src\game objects\container\twirl 6.js) this.tweens.add({ targets: containers, angle: { value: 360, duration: 6000 }, scaleX: { value: 0.1, duration: 3000, yoyo: true, ease: 'Quad.easeInOut' }, scaleY: { value: 0.1, duration: 3000, yoyo: true, ease: 'Cubic.easeInOut' }, repeat: -1, delay: function (i, total, target) { return i * 64; } });
  2. @Mike018 Thank you for sharing your personal story. One more story about a successful digital nomad. Very inspiring!
  3. Hello there! I recently published a simple and lightweight 2D game framework written in TypeScript for making tiny pixel style HTML5 Games. The structure of Juno is similar to that of fantasy consoles with a simple API. Creating prototypes is very easy. You can use Javascript or Typescript. Framework: https://github.com/digitsensitive/juno Examples: https://github.com/digitsensitive/juno-examples The framework is in a very early stage of development, still you can already make the first games. Maybe something for your next gam jam? Or just to try and play around? This is the fir
  4. @B3L7 Great job you have done with this repo! Very helpful. I am currently making out of this a new example in TypeScript in my repo (https://github.com/digitsensitive/phaser3-typescript). Thanks again.
  5. That is not an easy task. If you google for "how to match 3 game" you will find some tutorials and examples.
  6. hello there! if interest, I have a new game on my repo: asteroid clone. You can see the full source code and hopefully it will help you with your projects. https://github.com/digitsensitive/phaser3-typescript/blob/master/src/games/asteroid/asteroid.md
  7. Hello there! I would like to create an asteroid clone, intentionally I do not want to work with sprites but rather use geom objects (triangle for the ship and polygons for the asteroids). Is it possible to create f.e. a Phaser.Geom.Triangle object an push that into the game objects factory, so that I could use f.e. overlap functions? If not, I guess I will have to handle position, velocity and acceleration myself ... or should I use Matter Physics? I am grateful for any input!
  8. Hello @NhatNM and welcome to the world of Phaser! In fact, in contrast to Phaser 2, there are currently less available learning resources (tutorials, videos, examples, etc.). But if you want to develop HTML5 games, Phaser 3 is the right framework and I would stick to it and don't use Phaser 2 (personal opinion). Daily new learning resources are being published and Phaser 3 is constantly being optimized. It is certainly an advantage that you already have programming experience. When developing games with Phaser 3 you will have to learn Javascript or TypeScript in parallel. I would rec
  9. I just updated my repo with a new game (flappy bird). You can see the full source code and hopefully it will help you with your projects. https://github.com/digitsensitive/phaser3-typescript/blob/master/src/games/flappyBird/flappyBird.md
  10. Hello there! Up to now, I accessed the desired gameobjects directly in the update function and called their update function. Is it not possible that these are updated automatically? Shouldn't exactly the setActive() function of gameobjects take over this task (if set to true, processed by the scenes UpdateList)? But this seems not to work (is set to true by default anyway). Or did I misunderstand or overlook something? Thank you!
  11. @jasper1990 cant see the problem right now. break down the problem a bit, put some console.log() inside the functions and check whether the code ever gets there. check the console for that. and if there is an error in the console, report it.
  12. Hello there! I am not sure if there is already a function to center a text (f.e. BitmapText)? If not, this might be helpful. The function could be quite simple I guess (not tested): getCenterX: function () { return sys.canvas.width / 2 - this._bounds.global.width / 2 } EDIT (28.04.2018): Just saw that there is a getCenter() function in the GetBounds component. Maybe BitmapText could extend GetBounds too?
  • Create New...