making changes to the parallax component
by M.B. · in Torque X Platformer Kit · 06/19/2010 (9:55 am) · 6 replies
I'm making alot of changes to the parallax component so it can handle more realist 3d positioning of the scrolling background items. I've got it more or less working but I need to be able to add more values to the component though torque builder.
Anyone have any idea how to update the values being displayed in the builder for a component? I have a feeling it has something to do with the [TorqueXmlSchemaType(DefaultValue = "1")]. Is there line an xml file somewhere I have to edit?
Thanks.
I'm really starting to dig Torque even thoug hI've only had it for a day haha :D
Anyone have any idea how to update the values being displayed in the builder for a component? I have a feeling it has something to do with the [TorqueXmlSchemaType(DefaultValue = "1")]. Is there line an xml file somewhere I have to edit?
Thanks.
I'm really starting to dig Torque even thoug hI've only had it for a day haha :D
About the author
#2
I'd like to see the code, not because I'm using 3D yet per-se, but I'm trying to go in that direction with normal maps, and this might be very useful :)
06/20/2010 (10:42 am)
Yeah, I think people post here from time to time, their code. It can't hurt because it's a private forum, and its a very partial part of the platformer source that's being exposed usually. Then if people like it, sometimes the writer will post it in the resources, which is also a private resource. I'd like to see the code, not because I'm using 3D yet per-se, but I'm trying to go in that direction with normal maps, and this might be very useful :)
#3
06/20/2010 (10:44 am)
I should add, don't post the entire class, just the part you modified.
#4
not sure how i would go about just posting the changes? since i've modifed almost everything haha
06/20/2010 (5:20 pm)
cool! Well i did change alot of the class and its still not 100% done yet. still have a few issues.not sure how i would go about just posting the changes? since i've modifed almost everything haha
#5
06/21/2010 (11:06 pm)
You can use a program like "win-merge" to examine the difference between your class, and the original. Just create a new project, and use that as a reference.
#6
06/22/2010 (6:15 pm)
Yup, any decent patching tool should be able to give you a shareable patch.
Torque Owner M.B.
I actualy made a pretty big change to the class. Are we allowed to post the entire class with the code changes on the forum here? Because I would definitly like to post it to see what you guys think.