Jump to content
LaunchBox Community Forums
JoeViking245

Use different images in Pause Screen

Recommended Posts

I created platform device images that show the platform co ntroller and the corresponding buttons for my cab in which I incorporated into my main theme.1357377430_NintendoEntertainmentSystemController_proc.thumb.jpg.1b42af03353d2fd23ddb7aee13806c56.jpg1719522895_platformdevice.thumb.jpg.20d5af1a98f4faf802e634d4728b10b0.jpgI would like to be able to add that image to the pause screen which is (I'm pretty positive)  

<Image Source="{Binding Path=SelectedPlatform.DeviceImagePath}" />

I tried adding that in and it doesn't work.

<Image Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" Source="{Binding SelectedPlatform.DeviceImagePath}" VerticalAlignment="Center"
                HorizontalAlignment="Center" RenderOptions.BitmapScalingMode="HighQuality">
    <Image.Effect>
         <DropShadowEffect BlurRadius="10" Direction="-90" RenderingBias="Quality" ShadowDepth="1" />
    </Image.Effect>
</Image>

My guess is that once the game is loaded, the platform becomes irrelevant so is not stored.  Hopefully I'm wrong and just messed up the code.

As a workaround I know I can copy that image to all the game-names.png and put them into an "Arcade - Controls Information" folder for the given platform and just use SelectedGame.ArcadeControlsInformationImagePath.  This doesn't solve the issue of per-game controls for consoles which I agree would be an extreme undertaking and is not important to me.  It would be nice to be able to use the 1 image rather than creating a mess of duplicates.

Anyone have any thoughts?  Hopefully simply something I overlooked or missed

Share this post


Link to post
Share on other sites

Use the following binding if you are storing the images in the \LaunchBox\Images\Platforms\[Platform Name]\Device folder. Here it is working in an edit of a Pause theme I was messing with.

Source="{Binding Platform.DeviceImagePath}"

 

Capture.JPG

  • Thanks 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...