Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - walknight

Pages: [1]
1
Feature Requests / Suggestions / Auto pan effect on a large image
« on: May 08, 2020, 05:16:14 PM »
I want to show case some posters that do not fit entirely on the screen due to their aspect ratio. I'm using the following animation to zoom in and slowly pan around the large image.

Code: [Select]
<reloadableImage type="cover" alpha="1" width="2000" xOrigin="center" x="center" yOrigin="center" y="center" xOffset="-200" yOffset="-200" layer="2">
    <onIdle>
        <set duration="6">
            <animate type="xOffset" from="-200" to="200" algorithm="easeinquadratic"/>
        </set>
        <set duration="6">
            <animate type="yOffset" from="-200" to="200" algorithm="easeinquadratic"/>
        </set>
        <set duration="6">
            <animate type="xOffset" from="200" to="-200" algorithm="easeinquadratic"/>
        </set>
        <set duration="6">
            <animate type="yOffset" from="200" to="-200" algorithm="easeinquadratic"/>
        </set>         
    </onIdle>
</reloadableImage>

It looks great but if the images have different sizes, the displacement needs to be adjusted accordingly.
It would be nice if we can have an "auto-pan" image type that does this automatically.

2
Feature Requests / Suggestions / RetroFE on slow storage media
« on: April 09, 2020, 04:12:42 AM »
So I finally got RetroFE working off a USB drive connected through a USB 2.0 port. That's the only way to add external storage to this cab.

Due to the slow media, a game play video can take half a second to load. During this time, the scrolling wheel is non-responsive.
This creates a rather unsmooth user experience. On the other hand, if the user stops scrolling and waits to see the video, the half-second load time is totally acceptable.
It only becomes annoying in this scenario:
- User scrolls one time then pauses
- Video starts to load
- User decides to scroll more --- non-responsive until video loads.

I guess this is because opening a video is a blocking operation in current event loop. If that operation can be moved to a separate thread, such that UI rendering and other operations become fully asynchronous, it will make a much better experience on these systems with slow storage media.

Not sure how difficult to implement, just want to throw out the idea there for your consideration.

Pages: [1]