Hi,
I thought that free entities and actors lived in the main layer (as confirmed by
this thread) but when I tried to play a video in the foreground it got hidden by a free entity.
Here's what I did: I created a foreground layer (same dimensions as main layer, not set as 'close-up' and placed after 'main' in the layer list) and placed an anchor region at the position the video should play. Then in the scene script I call
var my_video = Scene.GetNode("video_region");
my_video.PlayTheora("scenes\video.ogg", 1);
The video is partly hidden by a free entity with a higher Y position (well, lower in space but higher in value).
Is there a way to ensure that something will always be in the foreground ?
Thanks,
Olivier