All Activity

This stream auto-updates     

  1. Today
  2. Hi everyone! Coding question incoming... I have a number of loading functions (asset loading, world generation, things like that) and I want to have a loading screen running while loading. Something like a loading spinner or progress bar. But here's the thing, I understand JavaScript is single-threaded. So, how do I do simultaneous visuals and loading? Is there some way to run both tasks in parallel? Can I somehow create a CSS loading spinner and overlay it onto my JS canavs? (I have no experience with CSS) Thanks! -Wesley
  3. Thanks for your replies. I will continue the learning curve. Richard C
  5. hum make a flag in parent and when the child event are call , check if the parent event flag are true ? Maybe there is other solution, but I proceed in this way in complex situations.:) Link your objet with reference.
  6. A very interesting game, it made me relieve a lot of stress after every hour of work, besides I also play other games here run 3.
  7. It's a nice little game! Don't think I've seen design quite like this before, so kudos for getting your own twist in a platform puzzler. The visuals are really nice. Got through till level 14. If you want feedback/critique, I'd just say I'm not sure about the controls. Mouse and then keys, and then space. I've got big hands, and game a little bit but my having to use arrows + space with one hand, and then mouse is a bit awkward. Generally this type of game you might aim for a casual audience(or even think about making it work on a smart phone). The simpler the control schema, the better.
  8. is a platform to develop games intended to new coders. It comes with built in assets. drag-and-drop.mp4
  9. If I have a container and a child of it, and both have "interactable" set to true. I noticed that if I click on the child, both the child and its container get the event. How can I prevent the event from propagating to the parent? Ie. imagine the container is the play area, and on top of it there's objects. If I click the play area I expect the character to move there. If I click an object, I expect to interact with it, and stop the propagation there, so it doesn't get to the play area callback. Thanks!
  10. Yesterday
  11. Thanks!! I'll stay tuned for updates.
  12. Hi, Since yesterday I've been having problems accessing the API Docs ( The error reported is this: This site can’t be reached’s server IP address could not be found. Best, Rodrigo.
  13. Yeah, the hosting of pixi versions is down atm
  14. Right now none of the V5 example work anymore, the console shows "PIXI not defined" for every single ones.
  15. dont create many applications, thats why I pointed to I thought that article was enough to answer your question, @Richard C , did you read it once or did you try to reproduce it? Its very important to understanding how pixi works. Also, canvas can be added to whichever html elements , and im not the master of DOM so i cant help you with grid. Just be sure to resize canvas accordingly cell dimensions.
  16. Create your HTMLCanvasElement in each cell with their own ids and create as many PIXI.Application as you need and pass along those canvases, that's it. Personally I would consider other alternatives, do you really need WebGL in those cells? Is the content of those cells so specific that it requires WebGL?
  17. Hi Ivan Thanks for the prompt reply. The web-page is laid out as a responsive grid (css-grid) as per the attached image. I would like a different pixi canvas in the three grid cells as shown. Each cell is identified by the usual css case and ID. Any further help would be appreciated. I don't know hopw to put a canvas/stage in each cell Many thanks Richadr C
  18. Hello! I know several projects that focus both on DOM and PixiJS, and its a difficult . First, you have to be aware of limit on WebGL contexts. If you create too many, old ones will break. I don't entirely understand what do you want, but here is the answer on question that gets posted here *every week* myAwesomeCanvas = document.createElement('canvas'); const app = new PIXI.Application({ width: 800, height: 600, view: myAwesomeCanvas }); //same params as new PIXI.Renderer I would point you to our docs but it seems the site is down for today due to problems with AWS That option is in param list for "PIXI.Renderer" . Sources: Also since it seems that you are going to use multiple canvas or move a canvas around, please read , that 'll help you to track all of things that pixi does. The only exception is interaction plugin, it automatically registers when renderer is created and you have to wrestle with "renderer.plugins.interaction" to take control if you need it.
  19. I have now added new "FBXexample" scene to the example project of Three.js plugin. It shows you how to load one FBX model and play animation on it. It does have embedded texture.
  20. I'm new to pixi.js and struggling to find a solution in the pixi documents. I want to use a pixi stage on a canvas within a specific cell in css-grid. In fact, I should like to use different pixi effects in a number of cells in the grid which makes the entire web-page. Is this possible? All examples seem to add a canvas to the body tag which is not what I need obviously. I have researched previous questions in here but all seem to refer to earlier versions of pixi.js. A succint answer would be very much appreciated. Many thanks Richard C
  21. @enpu Apparently the fbx needs some extra data in the media folder, the bunny.fbx is asking for the http://localhost:3000/media/Tex_ColorPalette.jpg , so is that how it is supposed to work ? We need to save the FBX file without the embedded texture and have it into the media folder ? It will be very helpful if you could release the project of your bunny demo so we can check your implementation of the fbx loader into panda.
  22. @enpu thank you, we will give a try. I have a quick question about the implementation, fbx files can embed the graphics data as a files and do we need to have the files (textures) also in the media folder and the plugin will look for the name into the fbx file and load the graphic file or does the plugin extract the data out of the fbx file directly ?
  23. Last week
  24. There is But I don't know if they are supporting the produtct nowadays.
  25. There use to be a lot of different arcade portal scripts for flash games maybe you can use one of those?
  26. Would anyone know if there is any platform that provides templates built for HTML5 gaming portal? I would like to develop a website like this: I have not found much of it in Google. I'm not sure if doing this with Bootstrap meets my needs.
  27. The ideal way would be to do both. If the client is interpolating movement then it will not appear gittery with lag. Most likely you will have to write your own system for this. I am also researching the same and will post my results. Perhaps there is a phyics engine that does both client and server side.
  1. Load more activity