Giter VIP home page Giter VIP logo

Comments (3)

gotwig avatar gotwig commented on May 28, 2024

Btw you said "No specific ties to any in game class, simple use Blueprints (or C++) to create a new "BluEye" object and grab its material instance, then you can paint it on anything!" , thats not true..

from blui.

gotwig avatar gotwig commented on May 28, 2024

Ok heres an easier solution, for people with blueprint projects:
Add a new BP Function library. Open the .h file. After Generated_Body() gets called, write this:

Public:
UFUNCTION(BlueprintCallable, Category = "CustomLibrary")
static void CefLoop();

Now on the .cpp file add the following code:
At the very top add " #include "Blu/Public/BluManager.h".
Now to implement your new function, add this:
void UUBP_FuncLib::CefLoop()
{
BluManager::doBluMessageLoop();
}

To run the loop in your game, call the "CefLoop" node, if you want it all the time, add a new event tick, like in the readme, for your game mode bp, and after that call the CefLoop node.

It works now fine, sry for the confusion before.. it just wasnt very clear to me, I would be glad if you could add this information to the Wiki of the project or something like this. Thanks for your awesome plugin!

from blui.

ashea-code avatar ashea-code commented on May 28, 2024

Thanks for the snippet! Would you like to make a pull request with these changes? I'd really appreciate it.

I'm not sure how a bluepring tick call escaped my ideas

from blui.

Related Issues (20)

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.