Great video. Here are a few notes on how to improve testing. 1. Actor that represents cpp should be pure c++ class. Right now you have blueprint inherenting c++ code. You could spawn it from blueprint but I think the object class should be written in c++ 2. What you tested is Working with objects in this case a cast, but what about math? You could try to get a 1k calculations in both cpp and blueprint. From my expirince blueprint is good for 3 things beginning to learn ue4/5, level/game design( editor stuff), and prototyping.
@kevinbittner506912 күн бұрын
The question "Which is faster" Depends in the context. Blueprints are faster for prototyping things but if we are talking about performance then cpp that is faster but both are fine use what you are comfortable with. There are games made fully from bp and there are games fully made from cpp. If you want to know why cpp is faster on performance it is because cpp interacts directly with the hardware from the compiler. bp is a scripting language that has many steps before it can do the same thing even if you write them exactly the same bp just has many more steps to get to machine code that is just the nature of the beast. You will see more performance difference on heavy calculations you can check the unreal live where they did something similar like calc the Fibonacci sequence and show the difference. Hope that clears things up.
@tango-alpha-dev11 күн бұрын
Great commentary, thank you. I do remember watching that video! Unreal does some amazing presentations. Again, this wasn't scientific at all, however, just a fun thing I decided to waste time on. Again, thank you for the comment, cheers
@MaxStudioCG20233 күн бұрын
hey... i was always wondering ....can you pop some names of games made fully in blueprints? ... :D i only knnow blueprints (cpp never touch it more than press the build button sometimes haha)
@kevinbittner50693 күн бұрын
@@MaxStudioCG2023 Sorry don't know any off the top of my head atm but often you can see epic talking about it as well as if you search youtube enough you can find indie devs who have released games and devlogs and they only work in bp. I make my stuff soley with cpp but bp is really nice for prototyping. The only reason I use cpp is because I already know it if I didn't bp can do most of it. There are some small things that can only be done in cpp but it's not as important and if you are clever you can solve it in bp with some work arounds. Best of luck on your adventures! if you want to learn some cpp and need help I am more than willing to talk over discord this goes for anyone.
@dIancaster13 күн бұрын
I'm not certain if I'm reading this right. Blueprints are faster? Very interesting. Thank you for doing the research on this, too many people just kind of assume they know and evidently the results don't necessary line up with our intuitions.
@tango-alpha-dev11 күн бұрын
That is what it seemed mangarookie mentioned a pure cpp actor. I just posted that video here: kzbin.info/www/bejne/rpq8iZp3htypqMk
@jarnine-d9n11 күн бұрын
I'm writing this before I watch the video, I would think C++ would be faster without the extra bit of code blueprints need to work together.
@mangarookie13 күн бұрын
make the cpp actor pure cpp, like with no function calls in blueprint. what are the results for that?
@tango-alpha-dev13 күн бұрын
That is an interesting idea. I might have to play with that.
@mangarookie13 күн бұрын
@@tango-alpha-dev do it! do it now youtube person! >:@