Jump to content

ddabrahim

Members
  • Content Count

    14
  • Joined

  • Last visited

  1. Thanks a lot. Adding "hud" to my search indeed worked. I have a lot more interesting results now and the ones you mentioned also looks interesting. Thank you. 👍
  2. Hi. Thank you for the suggestions. The problem with gui libs of certain rendering libs like Pixi.js is that, often the libs are out of date and not compatible with the latest version and usually, such libs are using the drawing functions of the rendering library and not able to draw outside the canvas. I was wondering if there is any lib that would allow me to create a button, input, checkbox..etc and position it anywhere even over the canvas using DOM manipulation and CSS maybe but without the complexity involved using simple JS functions. The two libs I have linked are very close to wha
  3. Hi. I'm looking for a GUI library to create gui elements like buttons, check boxes, sliders..etc over the canvas element so I can use it with any framework. I was searching on the internet but mostly I find libs that require editing HTML and CSS manually to add gui elements. I would prefer something that I can use from JavaScript only and to be easy to use for someone with little JS knowledge. I did find 2 libs that is similar to what I'm looking for: dat.gui.js: https://github.com/dataarts/dat.gui quicksettings.js: https://github.com/bit101/quicksettings I am not ent
  4. Hi I get the following error message with Phaser 3.1.2 when trying to run the project from this tutorial: http://phaser.io/tutorials/making-your-first-phaser-3-game
  5. Hi. I'm currently developing a single player game in Phaser and occurred to me to make it online multiplayer instead but I would prefer not to run my own server and wondering what solutions are out there for hosting online multiplayer games? I searched the web and did come across 4 solutions. PlayerIO, AppWarp, Photon and using platforms like Heroku and Amazon.... At the moment I'm more likely go with PlayerIO because the pricing is better, the free package allow me to get started with no obligations and the paid packages also seems cheap compared to other hosts but I would
  6. Yes TexturePacker would be a lot easier I can see that but I'm only getting started with Phaser and doing it this way is going to be useful at least to get to know Phaser better then I might end up using TexturePacker anyway. Thanks.
  7. Thank you for the replies and suggestions, it sounds promising. I'll give it a try
  8. Hi. I made a game using an other engine and would like to port the game over to Phaser but it is using individual images for all sprite animations. I was wondering if is there any way to create a sprite animation from individual images inside Phaser? I was searching the web and everyone seems to offer to pack all images on to a single texture then use an atlas in phaser. It could be the best way to do it, but I'm really would like to know if it possible to create sprite animation inside Phaser without using any 3rd party tools? To give an explanation, I would like to attempt to import the
  9. Thank you for the links and the tip. I'm appreciate it.
  10. Thank you for the reply. I tried calling updateZ on the group but didn't work, I get the same results. I tried simply just using group.updateZ() and also passing the children as argument group.updateZ(group.children[index].z). Also tried in both the create and the update function. No effect. I'm also note sure how to use the move methods. If I have 4 sprites and I want the rendering order ascending, should I call moveUp() 2 times for the 2nd sprite and 3 times for the 3rd one? According to the documentation I should be able to change the Z directly. Many people mentioning on the
  11. Hi. I'm new to Phaser and would like to ask for some help with sorting Z depth of sprites using a custom Z value. I know the same question have been asked a million times on the forum but in most case the replies are link to examples and tutorials that explains only that we need to add our sprites to a group and use the sort() method to get the sprites Z depth sorted. I understand that, but I'm really would like to use a custom Z values to sort my sprites. What I'm trying to do, after added all my sprites to a group, I loop through all the children in the group and set their Z v
  12. Hi. I'm new to phaser and to this forum. I have a problem that I would like to ask for some help with. I'm trying to import a level from a JSON file exported from a 3rd party level editor that is not meant to be used with Phaser or any other 3rd party engine. It is just me trying to use the JSON coming from the editor to load the level in Phaser and I have some problem with rotation and scale of the sprites. The level editor rotate the sprites around a center point and scale the sprites from the origin point. In Phaser, I set the position of the anchor point to match the position of
×
×
  • Create New...