Loading/Changing 3D Box Textures at Runtime

New releases and general discussions.

Post » Sun Feb 07, 2010 8:44 am

Howdo people,

First off, I'd like to thank everyone involved in the creation of Construct and the community here; even though this is my first post, I've browsed this forum a lot, and it's helped me no end. So, cheers.

I've been working on a game for the last 10 months or so in version 98.9 (Pitch/Yaw needed; I know there's a fix in the Plugin section, but haven't tried it yet), and since a total restart at Christmas, it's really coming together.

My request is, is there any way (through a plugin, Python, anything really) that loading the 3D boxes faces can be changed at runtime? It doesn't really matter if it's from a sprite using Image Manipulator, from a canvas, from a .png or .jpg, anything really.

I'm talking about something along the lines of On X Pressed, Load 3D Box Face ('Left') from Apppath & "face/1.png". Or something like that.

I don't want to give too much away about the game, but *if* this feature could be implemented, it's the difference between the game having 50+ layouts for levels and 1. If not, 50 layouts it is :wink:

Thanks,

-Mark
B
4
G
3
Posts: 20
Reputation: 865

Post » Thu Feb 25, 2010 1:13 pm

There used to be an ability for the 3D Box to steal sprite images as textures, but I think it was changed/fixed at some point.
B
3
S
2
G
3
Posts: 628
Reputation: 2,531

Post » Thu Feb 25, 2010 5:23 pm

I could take a crack at modifying this. I know well enough how the sprite object handles it, so it shouldn't be to hard.
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817

Post » Fri Feb 26, 2010 7:55 am

[quote="linkman2004":3tswr7c0]I could take a crack at modifying this. I know well enough how the sprite object handles it, so it shouldn't be to hard.[/quote:3tswr7c0]

That would be fantastic if you could have a try. I've tried a million different things to make it look passable; we must be talking around 20 hours of trying to figure out a decent workaround :lol:

I haven't shown anyone outside my friends the game yet, but if you'd like to take a look, I can send a private video.

Thank you for trying.

-Mark
B
4
G
3
Posts: 20
Reputation: 865


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 3 guests