• Content Count

  • Joined

  • Last visited

  1. @ivan.popelyshev I created a PR today to fix the docs. For everbody who is interested I also created a simple tilemap example: I also made progress with the shadows and textures on my tile-height-map. The code is pretty cluttered but for everybody who wants to have a look: For me this topic is kind of solved. Couldn't find an option to mark it as solved. If there is, please tell me.
  2. Ah okay, then I will try to work with SimplePlane and if I can come up with a short example I will make a PR. Just wanted to check with somebody who is more experienced with PixieJS. Thank you for the heaven mesh example. Looking forward when it becomes available in v5. I have not much experience in porting stuff but if I can assist you in any way, let me know
  3. Hi @ivan.popelyshev, thank you very much for your answer and some very cool hints. Already implemented nativeLine for debugging - much better now! For others I kind of already wrote my own implementations. I wasn't aware about PIXI.Runners so I build my own Game Class which is observed by GameManagers which implement an Observer interface. I guess it works the same way, not sure if they are as efficient as Runners. I might change my implementation to Runners in the future. Definitly good to know that they exist! Regarding the shadow: I might start by rendering triangles that face north-east or nort-west a little darker. That should already give a slight impression of depth but I will check other implementations as well. Regarding the documentation I was going to use the example given in the docs for (let i = 0; i < 20; i++) { points.push(new PIXI.Point(i * 50, 0)); }; let SimplePlane = new PIXI.SimplePlane(PIXI.Texture.from("snake.png"), points); but the constructor of SimplePlane requires a texture and 2 numbers and not an array of PIXI.Points. Can you maybe provide a correct example for SimplePlane and how to use it. That would be awesome Cheers, Tom
  4. Hi, I'm new to this forum so hi to everyone! :) Currently, I'm trying to build an isometric tilemap that also displays a certain height. Here is a demo: I have the following problems and maybe somebody could guide me in the right direction. 1. Shadows: When I remove the lineStyle, different heights and the depth of the scene are not really recognizable. I think this could be solved with proper lighting and shadows. Any suggestions on how to implement this? 2. Sprites & Performance: I'm currently calculating all vertices manually and then I draw a PIXI.Graphics-Polygon according to the vertices. Is there a more efficient way to do this. I'm not very experienced with PIXI.Mesh, SimpleMesh or SimplePlane. I wanted to use the PIXI.SimplePlane first but the documentation seems to be wrong... In addition to the mesh generation do you have any tips on how to properly cover the mesh with sprites, soften the edges and smoothly transition between different sprites. 3. Player movements & buildings: In the future I'd like to be able to add players and buildings. This is not so important right now but as the objects will heavily interact with the map, I'm happy if you have some guidance on this topic as well. Thank you very much! All the best Tom