Game Development Community

new project while waiting for CE // anti piracy

by michael · in Torque 3D Beginner · 09/30/2012 (11:59 pm) · 4 replies

Hi
I might start a new project on Vista while waiting for the CE. It should later run on Ubuntu (and only maybe on other os)

What about physics, I'd need bullet which is in the CE. How to prepare for later updating, if I start a new project now?

Are there any antipiracy functions etc. that I haven't spotted so far?

Thanks for hints etc.
Cheers Michael

#1
10/01/2012 (12:54 am)
Quote:
What about physics, I'd need bullet which is in the CE.
Bullet can be enabled in the exact same way in which PhysX is enabled in the physics templates: Look inside of the project.conf file within the ./buildFiles/config directory. Instead of:
// Include PhysX physics over Torque's.
includeModule( 'physx' );
We use:
// Include Bullet physics over Torque's.
includeModule( 'bullet' );
The includeModule statement depends on modules that are setup for use in the Project Generator -- totally nifty way of configuring an engine build for custom use, learn it, love it.

Note: If the Bullet library is updated, the default bullet.inc module will have to be updated as well due to directory changes in the library.

Scriptside, I *think* that the Full Template already contains all of the necessary physics start/stop calls, but you will need some Physics Shapes examples if you intend to use either physics system. These shapes and datablocks can be found within the PhysX Template.

Quote:
How to prepare for later updating, if I start a new project now?
Keep track of your changes. Some people recommend - and it's very useful for beginners - to 'tag' each change with some unique identifier that makes it easier to find when you're looking to move custom code to a newer version. For me personally, version control with commit history and file comparison is a wonderful, and less messy thing.

Since you show a desire to eventually use the CE you can follow it on Github in order to keep up with it's porting progress. Currently the cumulative changes to Bullet are done with the exception of the Physics Constraint Resource.

Quote:
Are there any antipiracy functions etc. that I haven't spotted so far?
I have no idea what you mean here.
#2
10/01/2012 (2:29 am)
Oh, the CE version is released. Many thanks. I'll have a look at bullet and maybe get back.
Saw some Mac files...should that compile for Mac? Hence I might try on Ubuntu later.

#3
10/01/2012 (2:44 am)
No, not released, it's a work in progress transparent port -- I'd say it's about ~5% done. The only changes you'll see there so far are for bullet, and a few other minor things.

The Mac files you see are the same standard platform files present in the official repository. It has limited Mac support
#4
10/02/2012 (2:44 am)
Hmm, added bullet 2.8 and now it says x64 no such project or something alike.
If I would build also for 64bit, what would I need to change? Have been using only Eclipse for a long time, hence many thanks.