Jump to content
LaunchBox Community Forums

viking

Members
  • Content Count

    492
  • Joined

  • Last visited

  • Days Won

    8

viking last won the day on January 18 2018

viking had the most liked content!

Community Reputation

555 Excellent

About viking

  • Rank
    32-Bit GPU

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. As soon as I can ! I must be around 200 hours of hard work. Almost all Photoshop montage done.
  2. @EgoBizarro thx ! I dont make make any more Nostalgia video. See the download page But I work on a new community platform video set, in the same spirit, but better. Stay tune, I will post first videos soon (few weeks)
  3. You Can try BarTop theme. I design this theme for my 4:3 cabinet with a 17" 1280x1024. I dont know if it fit well on your CRT...
  4. Hello community. I have a new question! 😇 On my theme, Platform page, I want to put the max player number. With 2 lines of text: - Binding: MaxControllers - Fixed text: "Player" The code is simple and it works well: <TextBlock Text="{Binding Path=ActivePlatform.MaxControllers}" x:Name="TotalPlayersCount" /> <TextBlock Text="Player" x:Name="TotalPlayersText" /> But I would like to add to the fixed text: If the number of controller : unknown or 1 = "Player" If the number of controller : 2 or more = "Players" (with an S) How to do that? Any ideas ?
  5. @eatkinola Man ! Your plugin is amazing ! It works perfectly !!! If it can help others, here is how I adapted it to my theme: <UserControl xmlns:aox="clr-namespace:Ao.Bigbox.Converters;assembly=Ao.Bigbox.Themer.v3_9_3" xmlns:sys="clr-namespace:System;assembly=mscorlib"/> <UserControl.Resources> <aox:DimensionW3840Converter x:Key="DimensionW3840Converter"/> <sys:Double x:Key="ConvertVideoSlideRight">722</sys:Double> <Storyboard x:Key="ChangePlatform"> <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="X" TargetName="PlatformVideoAnim"> <EasingDoubleKeyFrame KeyTime="0:0:0.00" Value="0" /> <EasingDoubleKeyFrame KeyTime="0:0:1.00" Value="{Binding Source={StaticResource ConvertVideoSlideRight}, Converter={StaticResource DimensionW3840Converter}}" /> </DoubleAnimationUsingKeyFrames> </Storyboard> </UserControl.Resources> By the way, I have almost finished my new theme. Around 90%. 😎
  6. OK, new blocking point for me ... 😕 I'm trying to animate the platform video. With a simple TranslateTransform on X. - State 1: Video centered, fullscreen. - State 2: video slide to the right by 25% A simple slide to the right. But impossible to use the percentage. So I'm in the same situation as for the text. I have to give a pixel value, which is only valid for a single screen resolution. Here is my current code. It works fine, but only for 1080p. In other resolution, the video goes too far or not sow. <UserControl d:DesignHeight="1080" d:DesignWidth="1920" /> <UserControl.Resources> <!-- ANIMATION - PLATFORM VIDEO - RIGHT SLIDE --> <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="X" Storyboard.TargetName="PlatformVideoAnim"> <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0" /> <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="350"> </UserControl.Resources> <Canvas Name="Canvas"> <Grid Height="{Binding ElementName=Canvas, Path=ActualHeight}" Width="{Binding ElementName=Canvas, Path=ActualWidth}"> <Grid.ColumnDefinitions> <ColumnDefinition Width="5*" /> <ColumnDefinition Width="5*" /> </Grid.ColumnDefinitions> <Grid ClipToBounds="False" Grid.Column="0" Grid.ColumnSpan="12" Grid.Row="0" Grid.RowSpan="11" > <transitions:TransitionPresenter x:Name="PlatformVideo" TransitionSelector="{Binding ImageVideoTransitionSelector}" Content="{Binding ImageVideoView}" IsContentVideo="True" Visibility="Visible" Margin="0,0,0,0" Width="{Binding ElementName=Canvas, Path=ActualWidth}" Height="{Binding ElementName=Canvas, Path=ActualHeight}"> <transitions:TransitionPresenter.RenderTransform> <TranslateTransform x:Name="PlatformVideoAnim" X="0" /> </transitions:TransitionPresenter.RenderTransform> </transitions:TransitionPresenter> </Grid> </Grid> </Canvas> I searched everywhere on the internet, but I cannt find any clear answer. Some talk about creating a converter. But I dont know how to do that! Any ideas to give a relative value to X that works for any resolution?????
  7. @eatkinola @faeran I just took a look at Retrotastic. And YESSSSSS !!! This is it ! Is here your code : <aoc:AutoscaleTextBlock Name="ScrollNotes" TargetFontSize="20" TargetScreenHeight="1080" FontFamily="{StaticResource ExoFont}" Foreground="WhiteSmoke" Grid.Row="6" Grid.Column="1"> <Canvas ClipToBounds="True" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="{Binding ElementName=ScrollNotes, Path=ActualWidth}" Height="{Binding ElementName=ScrollNotes, Path=ActualHeight}"> <controls:ScrollableTextBlock Text="{Binding Path=Notes}" Width="{Binding ElementName=ScrollNotes, Path=ActualWidth}" TextWrapping="Wrap" ScrollBeginDelay="8" ScrollSpeed="3" ScrollAutoReverse="True" ScrollEndDelay="8" ReverseScrollSpeed="0.5"> <controls:ScrollableTextBlock.Effect> <DropShadowEffect BlurRadius="0" Direction="255" ShadowDepth="1" Color="#000000" RenderingBias="Quality" /> </controls:ScrollableTextBlock.Effect> </controls:ScrollableTextBlock> </Canvas> </aoc:AutoscaleTextBlock> And it works perfectly !!! Now, ALL my text is responsive !! thanks guys 😎
  8. @y2guru Thx man ! I'm trying asap your system. For my current theme, I will finish it by hand. It already completed 99% @eatkinola Your plugin works perfectly !!!! This TargetFontSize function should be integrated into BigBox out the box ! 😍 However, I dont find how to apply this function to a simple vertical scroll text ... An idea???
  9. @faeran That's all my problem! For this theme, I use multiline text and scroll ... @eatkinola It seems to be EXACTLY what I need !! I do some test immediately! 😍
  10. @faeran With your example, the text fits and fill its grid area. Unfortunately, it doen't keep the proportion fixed in the code. It erases the TextSize = "xx" to fill the space. And it doesn't seem to work on vertical scroll text.
  11. @faeran This is exactly the principle used in my theme. Like the default theme. But it doen't work. The grid are perfectly scaled, but not the text. No matter the resolution of the screen, the text remains at FontSize="500". (for exemple) I want to fixe FontSize, according a fix screen resolution. And all that simply zooms together, depending the reel screen resolution. A simple zoom in/out effect, with all in place. Not a responsive effect which reorganizes the elements according to the available space. For now, I have this principle (like Default Theme) : <UserControl d:DesignHeight="1080" d:DesignWidth="1920" /> <Canvas Name="Canvas"> <Grid Height="{Binding ElementName=Canvas, Path=ActualHeight}" Width="{Binding ElementName=Canvas, Path=ActualWidth}"> <Grid.ColumnDefinitions> <ColumnDefinition Width="5*" /> <ColumnDefinition Width="5*" /> <ColumnDefinition Width="5*" /> </Grid.ColumnDefinitions> <TextBlock Text="BIG TEXT" FontSize="67" Grid.Column="1" /> <TextBlock Text="small text" FontSize="25" Grid.Column="2" /> </Grid> </Canvas> Result: The grid, spaces, ... everything fits very well to any screen resolution. Good. Except the text, which remains fixed to the sizes given by FontSize = "xx", design for a resolution of 1080p. Result : too big in 720p / good in 1080p / too small in 4K An idea of how to do that? @Jason Carr ?
  12. Yes, the whole theme is built on a grid. The whole structure and images: everything works well and adapts to the resolution of the screen. I'm not a specialist, but my grid is based on Canvas, not on a Viewport. In fact, I kept the structure of the Default Theme. (Maybe I say something stupid!) My "size" problem is only for the FontSize. I want to fix the font size in the code, according to a resolution set in "UserControl" (or elsewhere). And that all "zoom" simply to fit the screen. (720px, 1080px, 4K) No placement change ! Like that :
  13. @eatkinola Yes, I am very interested in any solution for this trick! The problem is that I do not know how to integrate all that into the code. I do not even know how to create a BigBox plugin ... If you want to share your solution (or another solid solution) and quickly documented the integration, it will be great! 😍
  14. To @Jason Carr @Grila and all the other code specialist ! OK, I have a question about font size management. I would like the font sizes be fixed in the code, to fit the screen resolution. My next theme is designed for TV screens. And I would like the display to be correct from 720p to 4K. It does not work out-the-box. I searched everywhere on the internet and found nothing. Except this example. https://stackoverflow.com/questions/3193339/tips-on-developing-resolution-independent-application (first response) But I do not know if it can work in BigBox. And if so, how to integrate? Plugin ? If so, how to create it? Please HELP !!! 😙
×
×
  • Create New...