简体   繁体   中英

Does shiva support c++11 standard?

Does Shiva support the C++11 standard? I want to learn how to use a game engine and I already know C++ , so I prefer Shiva over Unity if it supports C++11 .

ShiVa engine development does support development C++ .

Please see here for more information.

One of the methods in the above link says:

In ShiVa, create a game with one main AIModel that will act as a "proxy" between the engine and your C++ code, let's call it "AIProxy".

In your "AIProxy", add for instance a handler named "onLoadScene", another one named "onMoveObject", etc.

Import your objects, create your scenes, and any other assets you'll need at runtime. Now, export your game as an STK file.

On the Mac side, open the ShiVa Authoring Tool and create an Xcode project from your STK file.

Now you can use the function "S3DClient_SendEventToCurrentUser" located in the "S3DClient_Wrapper.h" to call your "AIProxy" handlers from the C++ and/or Objective-C. For the opposite (calling the C++ from the Script you can use the hooks related functions).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM