All Activity

This stream auto-updates     

  1. Past hour
  2. Today
  3. I would love to do it! But just haven't had the time yet, unfortunately.
  4. I´m getting the same problem and I´m not being able to fix it, did you find any solution to this? Access to XMLHttpRequest at 'https://cdn.*********.png?v=1.0' from origin 'http://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
  5. Same problem here, did you find any solution?
  6. I am using v4 I have changed the formula a little bit and it is exact match with photoshop now Currently, I just hard code the alpha in the frag. Is there any way I can pass a uniform into mapFilterBlendModesToPixi? const overlayFrag = ` varying vec2 vTextureCoord; varying vec2 vMapCoord; varying vec4 vColor; uniform sampler2D uSampler[2]; uniform vec4 uColor; uniform float alpha; %SPRITE_UNIFORMS% vec3 colorBurn(vec3 lower, vec3 upper, float opacity){ return 1.0 - (( 1.0 - lower ) / ( 1.0 + opacity * upper - opacity )); } void main(void) { %SPRITE_CODE% vec4 source = texture2D(uSampler[0], textureCoord) * uColor; vec4 target = texture2D(uSampler[1], vMapCoord); //reverse hardlight if (source.a == 0.0) { gl_FragColor = vec4(0, 0, 0, 0); return; } vec3 Cb = source.rgb/source.a, Cs; if (target.a > 0.0) { Cs = target.rgb / target.a; } gl_FragColor = vec4(colorBurn(Cs, Cb, 1.0 - alpha), 1.0); } `;
  7. Yesterday
  8. Here is a new demo. You can login with usernames computer and science, both with password 1234. https://cs1-facility.glitch.me/
  9. Previous topic regarding normalized input coords is here: https://github.com/pixijs/pixi.js/issues/6266 Basically, pixi optimizes memory in case you request big number of filters, it uses pow2-temporary textures and not the size of filter. Same size is used ONLY if its fullscreen , to be compatible with old v3 filters, that makes everything easier. Use that trick with "filterArea=screen" if you dont need to deal with strange pow2 textures.
  10. Got it. You are doing things in input normalized coords, not filter normalized coords. I explain it people every time, they should use conversion functions. "this.app.stage.filterArea = this.app.screen" makes it full-screen , when input coords = filter coords and solves the problem. In that case your waves work in left and right, and in center they dont because they are 0 in shader computations Please use the line i gave you OR read / https://github.com/pixijs/pixi.js/wiki/v5-Creating-filters https://github.com/pixijs/pixi.js/wiki/v4-Creating-filters and apply conversion function "vTextureCoord * inputSize.xy / outputFrame.zw" , which converts input normalized coords (and input size is kinda pow2 and not screen) to filter normalized coords.
  11. I'm sorry, your code is too big for 2 AM night. I can check it in weekend, or you can make it smaller. I looked for 5 minutes or so, i think it should work. things like "this.app.stage.filterArea = this.app.screen" didnt work
  12. I want to apply the filter to the whole scenario, but the result is not what I expected, it only applies to a certain part of the scenario, I don't know if the problem is in the texture size that are sprite made with ctx2d https://codepen.io/AlainBarrios/pen/KKwzLVd?editors=0010 this is the pen
  13. Nicely made, but I found it frustrating to play - many levels felt impossible, and those that weren't seemed to favour luck over skill? Sorry for the negative review - perhaps some level redesign can add more fun and salvage what is an otherwise well put-together game? Good luck.
  14. Well, I did that and just received the follwing reply: Now the one thing left is waiting for them to respond the ticked someday...
  15. @d13 Hi. When we can see this book?)
  16. Hi, if you are looking for cool html5 games at a cheap price. I'll suggest you Freakxapps. We offer html5 game development services. We love what we do. It's not just our work, it's our passion. We have expertise in html5 games. We are here for you if you need some customization in games, a game from scratch or reskin an existing html5 game. You can check out some of our awesome work here - https://freakxapps.com/buy-html5-games/ As we all know it's a season of Christmas. So we also created an amazing game on Santa "Thank You Santa". Just look out the game once. You will get to know the quality of our service - https://freakxapps.com/demo/me/thank-you-santa1/ If you have any query, then you can freely email us - info@freakxapps.com or harish@freakxapps.com
  17. Hi, if you are looking for cool html5 games at a cheap price. I'll suggest you Freakxapps. We offer html5 game development services. We love what we do. It's not just our work, it's our passion. We have expertise in html5 games. We are here for you if you need some customization in games, a game from scratch or reskin an existing html5 game. You can check out some of our awesome work here - https://freakxapps.com/buy-html5-games/ As we all know it's a season of Christmas. So we also created an amazing game on Santa "Thank You Santa". Just look out the game once. You will get to know the quality of our service - https://freakxapps.com/demo/me/thank-you-santa1/ If you have any query, then you can freely email us - info@freakxapps or harish@freakxapps
  18. I don’t know if anyone else has noticed this, but in the original code the attack animation had false as the last parameter of the animation. Based on my experiences with this problem, if you change that false to true, it should play the whole animation. this.sprite = this.game.add.sprite(64, 64, 'playerSprites');this.sprite.animations.add('idle', [0, 1, 2, 3], 4, true);this.sprite.animations.add('run', [8, 9, 10, 11], 8, true);this.sprite.animations.add('attack', [16, 17], 4, false); ⬆️⬆️⬆️
  19. On this Christmas, Freak X Apps added one more cool Santa game in its Santa Series. Santa is on his duty to make the children happy by giving them their desired gifts. But some monsters are stopping Santa to give gifts to the children. He only has 3 chances to distribute all the gifts. Play "Thank You Santa" and help him in distributing gifts. Click on the following link to check the demo of Thank You Santa - https://freakxapps.com/demo/me/thank-you-santa1/
  20. Hello, Are you still looking for someone? I can help you with the game development. With the customization as per your requirement. Please check PM. Regards, Sofia G
  21. I'll post my version of color-burn later and we'll check it Can you make some tests in photoshop that we can reproduce in pixi? With alpha=0.25 , 0.5, 0.75
  22. There is a website called Freak X Apps, which have so many cool h5 games. You can check out them here - https://freakxapps.com/buy-html5-games/
  23. don't create new canvas, change old one and call "sprite.texture.update()"
  24. Hi, I think you can add one more cool h5 game developer in your list - Freak X Apps
  25. Lets see: https://www.w3.org/TR/compositing-1/#blendingcolorburn vec3 backdropRGB, sourceRGB, resultRGB; resultRGB = colorBurn(backdropRGB, sourceRGB); resultRGB = backdropRGB * (1.0-alpha) + alpha * resultRGB; where colorBurn is the formula from my link. Also, its strange that you dont divide rgb by alpha, all our textures are premultiplied. do you use pixi-picture with v4? I didnt port it to v5 yet, im that lazy.
  26. Hi, If you are looking for cool h5 games then you should really check out this portal once. You will find a wide range of cool h5 games here - https://freakxapps.com/buy-html5-games/
  1. Load more activity