Giter Site home page Giter Site logo

xscript's People

Contributors

daphnis-kau avatar legend0221 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

xscript's Issues

about debug

你好, 请问一下如何用vs code调试lua脚本?能否详细介绍一下

about print

您好,感谢您将这么厉害的工作开源,
我在使用测试时,想使用print打印变量,但是并没有显示在控制台上,所以想向您咨询一下。

Different script engines with single C++ object

您好,这是一个很棒的项目,谢谢!
是否有机会同时使用具有不同脚本引擎的单个 C++ 类(例如 CApplication)?
以下测试失败并出现以下错误:assert( pScript->IsVirtualTableValid(pVObj) ) at CClassInfo.cpp:296

int main(int argc, const char * argv[])
{
    if (1) {
        auto scriptJs = std::unique_ptr<CScriptBase>(CreateScript<CScriptJS>("js/test.js"));
        for (auto i = 0; i < 2; ++i) {
            scriptJs->RunFunction(nullptr, "StartApplication", "sampler", 12345);
            std::this_thread::sleep_for(std::chrono::milliseconds(10));
        }
    }

    if (1) {
        auto scriptLua = std::unique_ptr<CScriptBase>(CreateScript<CScriptLua>("lua/test.lua"));
        for (auto i = 0; i < 2; ++i) {
            scriptLua->RunFunction(nullptr, "StartApplication", "sampler", 12345);
            std::this_thread::sleep_for(std::chrono::milliseconds(10));
        }
    }

    return 0;
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.