This revision introduces a new method of importing assets to be included into the game package. By adding the constructor "bpy_extras.io_utils.ImportHelper" to the "class PublishAddAssetPath(bpy.types.Operator)" we benefit of a custom file importer that can be modified to suite our needs. This upgrade let's us import a list of assets files all at once instead of adding a field and setting the path manually.
Details
Diff Detail
- Repository
- rBA Blender Add-ons
Event Timeline
In general, the execute function could be cleaned up quite a bit:
def execute(self, context):
for file in self.files:
asset = context.scene.ge_publish_settings.asset_paths.add()
path = os.path.join(self.directory, file.name)
if context.user_preferences.filepaths.use_relative_paths:
asset.name = bpy.path.relpath(path)
else:
asset.name = bpy.path.abspath(path)
self.report({'INFO'}, "Asset path: %s" % asset.name)| game_engine_publishing.py | ||
|---|---|---|
| 445 | This could be outside of the if, and just display asset.name. | |
UPBGE died when its merge was rejected from Blender fundation ...
It's time to move on.
Looking at the UpBGE github page, last commits were 7 days ago. It appears to be a working fork of Blender 2.7.
There was 3 developers. Panzergame, youle and me. Panzergame and me abandoned it some time ago. Youle maintains a branch with eevee for its own purpose. The main branch was updated seven days ago to generate a stable build but there have been no developments for months.
upbge is not dead - youle just updated / rebased - also the branch ge_23a_youle removed scenegraph refactor (it broke libload) and openColor(crashes/ instability) and added 'patterns' to GLSL nodes (cycles nodes that work in bge)
the branch ge_23a_youle_render attachments is stable and ready for SSR.
I am busy for 5 more weeks - should resume work then.
<@&438645847778000897> Blender Talk - Invite > https://discord.gg/blender <
youle is usually here with the bge users in the bge chatroom here.
there is also a upbge dev server
https://discord.gg/v488TWs
Well, it seems I was wrong. Sorry for the extra noise and a lot of encouragement to continue the project.
it's slow going anyway - I won't have time for 4 weeks or so to code,
when I do it will likely be adding templates to GLSL section.
Thank you for all your work @Jorge Bernal (lordloki) !!
we miss you :D