Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Textures on Objects (T2 1.088 Beta)

Author
Message
ManOfActionTM
13
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 12th Feb 2013 20:52
So I'm pretty sure the answer to this is no, but I just want to make sure...

Is there any way to place an animated texture on a box object, but only on one side?

I'm attempting to use sprite sheets on a 3D object, and currently, the sprite sheet gets applied on every side of the box.
ManOfActionTM
13
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 12th Feb 2013 20:53
In fact, as an additional question...can you put animating textures on objects at all?
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 12th Feb 2013 21:21
You would have to manually set the texture each time you wanted to use a different frame of animation currently. There are no commands to change the image for individual faces either at the moment but perhaps if the object is just a box you could just use planes instead?


this.mess = abs(sin(times#))
ManOfActionTM
13
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 12th Feb 2013 21:41
Yeah, baxslash, I was thinking of using planes, but then I saw the animated textures weren't animating.

So, the current solution to this problem is to just change the image on the face of the plane every x frames to simulate an animated texture?
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 12th Feb 2013 22:08
Yes, that's how I would do it. I started converting some 3D explosion code from DBPro to AppGameKit that way but haven't finished it yet


this.mess = abs(sin(times#))
ManOfActionTM
13
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 12th Feb 2013 22:16
Yeah, that sounds a little too risky considering our project will look fine in 2D.

So there really is no ETA on animated textures or animated objects?
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 12th Feb 2013 22:28
Not that I'm aware of but I'm not really involved in the AppGameKit roadmap I'm afraid. I just get updates as and when I need them


this.mess = abs(sin(times#))

Login to post a reply

Server time is: 2024-11-24 07:27:51
Your offset time is: 2024-11-24 07:27:51