-
Content Count
42 -
Joined
-
Last visited
About digitsensitive
-
Rank
Advanced Member
Recent Profile Visitors
1516 profile views
-
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; } });
-
blade2xs reacted to a post in a topic: Basic Menus/Classes/Scenes
-
@Mike018 Thank you for sharing your personal story. One more story about a successful digital nomad. Very inspiring!
-
WiLD11 reacted to a post in a topic: Juno: 2D game framework in TypeScript.
-
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
-
B3L7 reacted to a post in a topic: Tilemap & File Pack Project Template
-
@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.
- 8 replies
-
- tilemap
- boilerplate
-
(and 2 more)
Tagged with:
-
How to check for objects near other objects or in a given position
digitsensitive replied to MZuex's topic in Phaser 3
That is not an easy task. If you google for "how to match 3 game" you will find some tutorials and examples. -
digitsensitive reacted to a post in a topic: Multiplayer RPG Online Demo
-
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
-
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!
-
NhatNM reacted to a post in a topic: is Phaser 3 not for newbie?
-
Thank you @samme!
- 2 replies
-
- setactive
- updatelist
-
(and 2 more)
Tagged with:
-
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
-
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
- 1 reply
-
- flappy bird
- game
-
(and 1 more)
Tagged with:
-
digitsensitive reacted to a post in a topic: center text on screen
-
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!
- 2 replies
-
- setactive
- updatelist
-
(and 2 more)
Tagged with:
-
@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.
-
@b10b Absolutely, thank you.
-
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?