so with upbge 0.3.0 / upbge 0.2.5 the bpy and py api are GPLāD
Logic tree are considered āprogram outputā same as eevee shader graphs.
we can use bpy module to access and load external caches in ANY format and use scene.convertBlenderObject() as a form of uber libload.
side note - one could edit a copy of a blenderObject ā convert it and replace the original with it in game
(add logic bricks etc)
@Villi89 and @SterlingRoth, thanks for the info, and actuallly Iām not too bothered about the actual protection of assets because I agree, any game can be hacked anyway. I was thinking more along the lines of how easy and clean it is.
For example, if I made a game and wanted to upload it for people to download, it would be nice if they only had to download one file regardless of what platform it was for, so that they can just click on it to run or install the game.
Anyway, itās really good to hear of UPBGE being developed. I was really annoyed when they removed the game engine from Blender, because I had just started getting into that logic screen where you connect the game logic blocks. If they had not removed the game engine, I might still have been into trying to make games, so Iāll definitely download it and see whatās what with UPBGE - cheers
I thought bpy in standalone was 0.3.0 only?
Yep, just tested. Canāt import bpy in standalone, not in 0.2.5.
With access to it in legacy I could just use my encoding for textures and meshes, then decode at runtime. Thatād be cool, I can get better compression that way.
But the real problem for me is the only viable way to write logic in C is recompiling the engine, and even at that level youāre still dealing with whatās essentially python objects whenever you want to as much as set a coordinate. Not a fan.
Though to be fair my usecase is a bit nuts. I want about a thousand agents so of course Iām going to need something custom-made, thereās simply no way around it.
support for compute shader was added to blender itself,
this can be leveraged to do GPU armature skinning I think.
currently itās used mostly for hair but they plan on using it for more things over time.
You could get sued if you release an open source game with assets that use copyrighted textures. Because itās like sharing copyrighted photos and that hurts the business of websites like textures.com. Itās mildly infuriating, all these damn laws. I just want to make a game with decent textures & I donāt want to have to make the entire thing from scratch. What, do they expect me to go to mine and collect aluminum ore to craft my own computer, write a new OS, and make a bunch of seamless PBR textures with my handmade DSLR too? Even then, Iād probably get sued because Iād have to make computer hardware thatās identical to copyrighted hardware to even be compatible. Copyright sucks.
If there isnāt a way to release games under a closed source license, then games wonāt be able to use high quality textures from many websites because theyāre copyrighted photos. As a result, it becomes much harder to create realistic games with good graphics in UPBGE. Sure, you still have CC0 textures, but their library is very small compared to textures.com which introduces severe limitations. Itās in our best interest to allow releasing closed source games. Like, I personally have zero problem releasing an open source game, Iād like to actually, but these texture companies will sue if you release their textures open source. And having high quality textures in games is extremely important to me. And Iām trying to design games, not get out the camera and start my own textures website.
It was a while ago but from what I recall the crashes with my GPU skinning came from a synchronization issue. All the support I got was ācheck the backlogā so I never bothered to figure it out, but since nothing like it ever popped up when I tried it on my engine (which is single threaded) I concluded it wasnāt *just* my code at fault.
Now, I have not tried out compute shaders, only transform feedback. Iād suppose if the modifier needs to read the data CPU-side that itād be a similar deal.
For legacy UPBGE right now the fastest thing Iāve tested is making dll calls from ctypes for heavier calculations and then having objects pick up values through a componentās update. Itās not the best possible thing but it beats recompiling Blender, thatās for sure.
Embedded Blender is still available in the archives 2.79b
Downloads - Circumnavigation - Past Ages and Bygone Times - 2020 - Game Engine / Works in Progress and Game Demos - Blender Artists Community
B
Many embedded games or simulation can be made using 2.79b
I made about 50 but various software problems not blender related scuppered many of the routes.
15 terraint true to life, based on real terrain still available for download, possibly more as about 10 seperate pages over the years.
Any amount of ship simulations can be/could have been made with what is available in 2.79b. Blender unfortunately has changed tack and original aims of Blender are now completely different.
Barry
I love all of the nautical slang in this post.
very on brand.