[Stencyl 3.5/4.0.x] Away3D Extension

mdotedot

  • Posts: 1606
Excellent. I will update the extension repository with this extension.

Thank you for your report and help.

Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

NerdinaNutshell

  • *
  • Posts: 251
Is there a way to change how textures get applied to objects, more specifically keep them from stretching on certain sides of objects such as cubes/make the texture repeat on each side? Thanks.

Edit (answer to my own question): You can use normal and specular maps, the Away3D_V96 has a behavior that demonstrates this.

« Last Edit: April 02, 2020, 10:53:55 am by NerdinaNutshell »
*Puff*

mdotedot

  • Posts: 1606
Not sure if I understand you correctly. The texture is repeated automatically.

Maybe you mean how you can control each face independently?


The same image is applied to a plane and a cube. The plane gets a spriteanimator so it acts kind of like an animation.
The Away3D Demo game has also a spriteanimator in it.

Here is the source stencyl file: http://photoquesting.com/stencyl/switchscene.stencyl
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.