• Content count

  • Joined

  • Last visited

  1. Hello! In old version of Babylon the BitmapFontTexture looks good: But when I updated the babylon to preview version all my fonts looks very bad: And if I set to font opacity = 0.0, Ican still see font:
  2. Hi guys! I have small problem, If I dispose WorldSpaceCanvas2D, material from canvas stay on the scene Example, you need look in console, you can see after disposing canvas the material on scene "myCanvas_Material" How I can dispose this material? Thanks!
  3. I immediately thought about explosions with using the spheres like in old lowpoly games on sony playstaion1 or sega dreamcats, I will hold this idea to the future. In past I was going to do explosions with sprites, but now only SPS Oh, I did not know about profiling, I am just using console, Thank, now I will use profiling Yes, I making games for social networks, it is my basic pay That's why some changes I will make in updated version of my game maybe They will hear Okay, thanks, I got it, and now I will dicide what better for current situations in my game Most likely SPS it is good desicion, maximum counts of all particles emitted on scene at once it is 1-2k, as jerome said jerome, Thanks too! Very helpful info
  4. Wingnut, thank you, cool idea One question about perfomance - it is the main thing for what I am doing this. What better for perfomace on your opinion, 10 textures each one it is single file and using it for ParticleSystem or one big texture atlass and using it for SolidParticleSystem? Because I want that game working on the weak laptops and I am trying to maximal optimize my game, Thank you so much for help!
  5. Hi! How I can create paticleSystem with subPicture fromTextureAtlass? In past I used texture atlases for Sprite2D, but now I have many textures for my particles systems and I want combine all my textures in one big textures, but how I can get subTexture from my big atlas texture or it is imposible and atlases using only for Sprite2D? Thank for any information :)
  6. Hi all! My geme have a menu_1 with buttons, if you click some button, then over an old menu_1 creates a new menu_2 with new buttons, but buttons from menu_1 react for click even if it under of new menu_2. I mean, if my button have observable PointerUp and I am creates sprite over this button, then this button react for PointerUp anyway, even under sprite, how I can hide all Observable buttons under one big sprite, that it don't react for pointer, but when I am delete my big sprite, then buttons start react on poiter again? Thank
  7. Okay, it's helped, but if I am loading just texture - it is works, but if I am loading font, then no one error and nothing happening. I wrote in function onLoad console.log("font loaded") and nothing in console
  8. I got error on
  9. Where I can load my texture and font file, that I can load it in the playground?
  10. Hello all, I am using BitmapFontTexture for creating text messages, in browser chrome and opera all works fine, but in firefox I got white screen and error message: I tried to finding something in internet but still don't solved this problem. Thank.
  11. Thank! Good news, I thinked that I did something wrong and just unidted all font textures in one texture.
  12. Hi all, I tried to use several BitmapFontTexture, but I see all text have first font and second font haves some deformations var f1 = new BABYLON.BitmapFontTexture(scene, "fonts/bulletsNumbers32.fnt", "fonts/bulletsNumbers32_0.png", undefined, false, undefined, function() { new BABYLON.Text2D("123", { parent: canvas, id: "text1", bitmapFontTexture: f1, x:100, y: 100}); }); var f2 = new BABYLON.BitmapFontTexture(scene, "fonts/message.fnt", "fonts/message_0.png", undefined, false, undefined, function() { new BABYLON.Text2D("123", { parent: canvas, id: "text2", bitmapFontTexture: f2, x:100, y: 200}); }); If i load just one font separately then first font or second font looks ok. First font Second font
  13. Hi everyone! And question again How I can attach the WorldSpaceCanvas2D to some mesh on my scene? Something like WorldSpaceCanvas2D.parent = myMesh. Or I need changing a canvas position and rotation in every frame? Then next question, how I can change the WorldSpaceCanvas2D position and rotation in worldSpace? Thank!
  14. Hi all! I made map with buildings and trees. The map using 15 textures 512x512. What better for performance? Using 15 textures 512x512? Or combine all map textures in one big texture 2048x2048? and what the max size of the texture babylon is supports? Thank!