Comments (2)
Sorry, what's the issue exactly? The screenshot doesn't look like the pen, which seems to be running fine without poly-decomp.
from matter-js.
Yes, I was having trouble getting the pen to load poly decomp.
The problem is that the texture is loaded multiple times for the given body for some reason. You can see the simple texture in the original post, and in the screenshot you can see a single object that has the same texture loaded multiple times, including the expected location and then more locations around it.
I'll push what I have so you can see it in action: https://suika-adventure.netlify.app
If the code helps: https://github.com/CorrugatedGames/suika-adventure/blob/master/src/app/pages/suika/suika-game/suika-game.component.ts but it's far from a minimal example unfortunately.
from matter-js.
Related Issues (20)
- Why might there be such an error? HOT 1
- Simple Polygon Physics Issues HOT 1
- How to add project to the Wiki gallery ?
- How to scale the world? HOT 2
- [Phaser 3] Position of matter sprite's image not correct in container HOT 1
- loss of sprite quality on mobile HOT 1
- `Composite.translate` didn't move the bodies included
- Create Matter.Bodies.fromVertices with rounded vertices
- MouseConstraint preventing clicks on buttons on mobile. HOT 2
- Vulnerability related to the formula of universal gravitation
- Body with high mass and low inertia behaves erratically
- The startdrag event of dragging a body does not trigger after losing focus.
- How to move camera in matter.js world?
- How to use matter.js on a web worker?
- Moving objects penetrate each other. HOT 1
- How to remove the opacity change while using isSleeping option true? HOT 2
- Is it possible to implement sprite looping animation?
- How to increase sprite quality? HOT 1
- Circle and svg in one body
- Converting gyroscope values consistently across Android and iOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matter-js.