c++ programming?

This forum is currently in read-only mode.
  • I heard construct classic was integrated with c++ programming? how does that work? IF I put some C++ programming code in the python scripter will it work?

  • You can use c++ to make plugins. You can download the sdk from here:

    http://sourceforge.net/p/construct/code/HEAD/tree/

    Youll need to use visual studio since the sdk uses CString. Their was a wiki with a guide, but it seems to have disappeared. You can look at the source for other plugins as examples, also you can find a lot of info here:

    construct-engineering_f168

    You could use c++ from python but it would require a python lib that allows you to use c++, or you could compile a dll and access it from python with ctypes. You'd have to use python to interface with anything in the engine though.

    I have done some expiriments with accessing sprites from c in a dll, but its tricky and still needs python to call the dll.

  • i'm new to c++ can you tell me which to file to download?http://sourceforge.net/p/construct/code/HEAD/tree/ in here?

  • all the tutorials seem to be deleted can you upload a new one?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I think you just need the common and sdk folders and everything in them. Visual studio is then needed to compile the templates in the sdk folder. Open the *.sln files with visual studio. I've used visual studio 2008 successfully, but I don't know if newer ones will work.

    Once the project is open there is a dropdown to select between:

    Release, runtime, debug release, and debug runtime.

    Release is the edittime portion of the plugin and runtime is the one added to cc games.

    I don't recall off hand where the built ctx files are put but you can find out where by poking around the settings. You can also set it to build directly in the plugins folder of construct. Just be sure to change the filename used.

    You probably will want to download the other folders as well to get the source for other plugins since most of the info you'll need about the sdk will be learned by example.

    Also in order to build any plugin that uses graphics or sound such as caudio2 you'll also need the directx sdk.

    In short it can be done, but if you've never used visual studio or c++ before it will be a rough start.

    What do you plan on doing? Python is probably much easier to work with.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)