A clean, direct splash screen for our transition into the Open 3D Engine or the games made for it.
since aesthetic plays a role in the first impression of the engine I liked to do a little thing and also thanks to @sacred willow for their consult.
we at Chogan license most of our material under CC so its licensed under CC BY-SA 4.0
https://creativecommons.org/licenses/by-sa/4.0/
#O3DE Splash Screen
1 messages · Page 1 of 1 (latest)
Looks great! It kicks!
Resources
Looks REALLY manual:
#sig-graphics-audio message
From what I can find:
You take this gem: https://www.docs.o3de.org/docs/api/gems/videoplaybackframework/class_video_playback_framework_1_1_video_playback_asset
Then inherit from some of its classes.
You make your own VideoPlaybackSystemComponent inheriting from the one in the framework, include a custom "AZ::EntityId GetVideoPlaybackComponentEntity()" method.
In source code it just says //put your logic here
Source Code Path: Gems/VideoPlaybackFramework/Code/Source/VideoPlaybackFrameworkSystemComponent.h
Then, I think just through including your video in the project the Asset Processor should give you a VideoPlaybackAsset
Set up a render texture in the UI as a target image destination. (You can refer to the camera -> render to texture workflow)
Then with a utility script:
Get the reference to the PlaybackSystemComponent (it has all the functionality for playback.) using your custom GetPlaybackComponentEntity
With the SystemComponent reference: Set the VideoPathName to your video.
With the SystemComponent reference: Set the PlaybackDestinationTextureName to your image texture.
Call Play from your System Component. And all the other Request Events you want:
But this is just what I read looking at what comes up in the api.
if we want it integrated it cant be a gem
Nope, it's gotta be semi-core. I'm not exactly sure.
A toggle, but where is the question.
im thinking a part of the engine it self
maybe using atom
Actually, it could really be its own gem.
It would literally be set up to start runtime with that splash and then proceed.
If you want to rep o3de then you enable it. Otherwise, you leave it and it has no effect on your systems.
One could set it up as a splash reel gem and allow custom graphics, with a boolean for o3de splash along with the customs.
you can do it with Atom and FFmpeg or GStreamer