The tsBridge object

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

The tsBridge object // New Users

1  |  

Post by PrimMac // Mar 6, 2006, 2:05am

PrimMac
Total Posts: 78
Hello everyone,


I have been looking at some strange commands I found in the Link Editor, as suggested to me by someone on another thread. You have to move Link Editor all the way up to the root level and it's right there in the Toolbar Prototypes Encapsulator. These commands have the functionality of most or all of the TS buttons. Most of them begin like "tsBridge.", meaning that they are part of an object called tsBridge.


My question is, is there some documentation on this object? What are it methods and attributes? Or is it some sort of Caligari trade secret? Many thanks for any info you can provide.

Post by tomasb // Mar 6, 2006, 3:53am

tomasb
Total Posts: 261
Modeler part behaves like plugin in new tS core. tsBridge & tsBehavior are dlls that perform the binding. old Modeler is based on a state machine, and contains one big state vector. if you set a state to old ts, it opens toolbars, initializes widgets,... . the bridge commands that you see in toolbar prototypes are the one that set state to modeler's state machine. It's mirroring functionality of old tS toolbars.


the state vector is also accessible thru tsx Api..

Post by PrimMac // Mar 6, 2006, 4:40am

PrimMac
Total Posts: 78
That's very interesting. I never thought that the modeller we are used to was like a plugin into the new architecture. It is obviously a very robust and well-thought design.


Will there be, in the future, documentation available for those who wish to extend TS's functionality through the use of these "low-level" objects?
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn