Plugins on CVS

Forum for plugin, effect and behavior programmers. Please use the Help & Support forum for help using Construct.

Post » Mon Oct 13, 2008 10:36 pm

We now have the full sources to two plugins on the CVS, and we plan on adding more soon.

3D Box is an interesting plugin because it demonstrates how to render 3D from a plugin. However, much of the code may be subject to change. The way it renders 3D is certainly sub-optimal; the engine may change in future to make 3D more efficient - so be aware of this if you plan your own 3D plugin. 3D Box's code is a little messy, but gets the job done and hopefully you can make sense of it (if you have any questions just ask). 3D Box was developed by David and I.

XAudio2 is a non-layout object like Mouse & Keyboard, which doesn't do any drawing. It provides a complete game audio engine. I have tried to write the code to be as clean and well designed as possible. XAudio2 should be considered a model plugin for interested developers: it uses the SDK in a well structured and effective way. The ACE functions are thin wrappers to the underlying CXAudio2 class, errors are handled by exceptions and passed to the debugger, and serialization of setup parameters is handled by a class inheriting CXAudio2's setup parameters. When the documentation and examples are also finished and it is out of beta, these also are intended to be ideal examples for other developers (and hopefully where all official plugins will end up). Edit: documentation subsequently completed

Hope the code helps potential developers, more on the way soon!
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Wed Jan 07, 2009 1:44 pm

It would be nice to have one of the movement behaviors on CVS next. I'd be particularily interested in extending the RTS behavior.
B
2
S
1
G
3
Posts: 71
Reputation: 1,142

Post » Wed Jan 07, 2009 4:18 pm

Yeah, I'll see what we can do. Eventually all objects and behaviors will be on CVS, but it's a lot of work.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544


Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests