Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to create textured vertex #276

Open
edwinsyarief opened this issue Mar 11, 2021 · 1 comment
Open

How to create textured vertex #276

edwinsyarief opened this issue Mar 11, 2021 · 1 comment

Comments

@edwinsyarief
Copy link

Hi @faiface, is it possible to render line with texture? I want to create rope with texture.

Thank you.

@jakubDoka
Copy link

you have two options, or you use repeating texture on multiple sprites and chain them together, assuming you already have phizycs for your rope, or you go deep into pixel source and learn how sprite works.

Breafly every vertex (called TriangleData in pixel) has texture position intensity and color, you care about texture, i recomend you to study some opengl, as what you are demanding is low level technical issue. I coudl do this for you but have no time rn and dont want to advertize my products here.

To sum it up pisxel is small lib that does as match with as little. You can easily use it as framework to create new functionality, all you have to do is not limit your self only to sprite and batch but dig deep into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants