Mesh + Graphics Render Issue
HTML5 Game Devs Forum
by
3y ago
This is related to my previous question: I have my meshes rendering perfectly. Each of my meshes are using two uint16 textures in a custom shader and I pass the textures as uniforms with a sampler type of "usampler2D". Now when I try to render any other PIXI.Graphics objects, the graphics objects will not render and I receive an error complaining that the texture being sampled is not of the correct format for the sampler type. If I remove one of the textures and only render one texture, then the graphics object will display. I'm sure my code is creating some issue with the WebGL state an ..read more
Visit website
[Phaser] Mix And Match Fashion - Fashion Dress Up Games
HTML5 Game Devs Forum
by
3y ago
Play It Now: https://cutedressup.com/game/mix-and-match-fashion/ Welcome to Mix And Match Fashion Game. Noah, Dee Dee, and Willow are adorable girls who inspired more by the latest fashion trends. They heard about a new upcoming contest called Mix and Match Fashion. Their wardrobes are already filled with the latest trends of outfits. But they need help to choose the better one. Join and help these girls.   ..read more
Visit website
Keep rendering while tab is hidden
HTML5 Game Devs Forum
by
3y ago
Hello, I am making a simple game using pixijs and have problem that animation stops when I hide the browser window and after showing the window the animation continutes from where it stopped. I simply need to keep animation going even in background. I use "app.ticker.add(loop);" and "loop" is a function where all the animation happens. Thank you ..read more
Visit website
Trying to distort a video textured plane
HTML5 Game Devs Forum
by
3y ago
Dear Pixi friends, I'm trying to distort a plane with a video texture on it, and I'm having the following trouble. ( Maybe breaking changes from PIXI.mesh.Plane to PIXI.SimplePlane ? ) It looks like something has changed when moving from PIXI4 class PIXI.mesh.Plane to PIXI5 class PIXI.SimplePlane that makes it unable to distort some kind of textures.  I used this Pen (https://codepen.io/osublake/pen/8785174690eabaf5ba99f785b9d3b64e) and I've changed it just  enough so it works on PIXI5. And I got it working. The changes are: Change 1: Original Code (Pixi 4): var grid = new Grid(ro ..read more
Visit website
Cannot find module '@pixi/filter-bloom' (TypeScript)
HTML5 Game Devs Forum
by
3y ago
Hello! I want to try out some additional filters, e. g. the bloom filter. I followed the instructions on npm - @pixi/filter-bloom. But when i add the import statement into my main.ts, i get the following error: "Cannot find module '@pixi/filter-bloom'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?"   This is a snippet from my main.ts:   The module appears under my node_modules directory and comes with a types.d.ts:           The module is listed in my package.json file:   Any idea how ..read more
Visit website
Switching textures: slight jump between them
HTML5 Game Devs Forum
by
3y ago
Hello. I want to transition between two textures on a sprite. My approach so far is this: The sprite has "texture1". When the sprite is clicked I apply a filter to it. This filter takes "texture2" as uniform and performs the transition between the two textures. When the transition is completed, I remove the filter and switch the texture of the sprite to "texture2". When the switch happens, the new texture has a small offset compared to the image drawed from the filter. I have created a simple example: https://www.pixiplayground.com/#/edit/KozVneSNjCuVZKi_fgNJa Maybe I should apply the filter ..read more
Visit website
How to change dragging point be mouse position ?
HTML5 Game Devs Forum
by
3y ago
When i dragging the Sprite or something in the pixijs, it will change the position  to Sprite Anchor point like 0.0, 0.5. But i want the dragging  point is where i dragging. And how can i do that?   ..read more
Visit website
Keep rendering while tab is hidden
HTML5 Game Devs Forum
by
3y ago
Hello, I am making a simple game using pixijs and have problem that animation stops when I hide the browser window and after showing the window the animation continutes from where it stopped. I simply need to keep animation going even in background. I use "app.ticker.add(loop);" and "loop" is a function where all the animation happens. Thank you ..read more
Visit website
Event interception
HTML5 Game Devs Forum
by
3y ago
Hello fellow gamemakers! I have a question about PIXI InteractionManager My Pixi version is 5.3.7. I'm testing on desktop Windows 10 and latest Chrome. Is it safe to interrupt InteractionEvent and change it's .currentTarget and .target properties? I have an object which on drag creates another object and calls it's .onDrag(event) method with event.target changed to new object, so drag can happen seamlessly. Like, for example, imagine a coin pile as a singular Sprite, that on drag creates one coin Sprite. So, for now it kinda works. But I read source code for InteractionManager and ..read more
Visit website
Transition between two textures in a filter: second texture gets scaled
HTML5 Game Devs Forum
by
3y ago
Hello. I'm trying to make a filter to transition between the current texture of a Sprite and a new one. I've put together a barebones example here: https://www.pixiplayground.com/#/edit/KozVneSNjCuVZKi_fgNJa When you click on the blue sprite, a filter is applied. Currently, this filter takes a new texture as uniform and uses it to sample the fragment color (I have removed all the blending code to make it clearer). And it seems as this texture is being upscaled? Both textures have the same size. As a reference, I have added a second sprite with the new texture being applied.   Thanx in adv ..read more
Visit website

Follow HTML5 Game Devs Forum on FeedSpot

Continue with Google
Continue with Apple
OR