ProUI - Collection of Addons for UI

6 favourites
From the Asset Store
Old school pixels for your UI! Over 800 assets for all you needs!
  • Aekiro I've been trying to use the scrollview addon for some dialogue stuff, for some reason I'm unable to make it work, does it have support for text/Spritefont objects?

  • What you can do is put the text on a content container like this: https://gofile.io/d/gbCrsH

    Salman_Shh << see above

  • > What you can do is put the text on a content container like this: https://gofile.io/d/gbCrsH

    Salman_Shh << see above

    WOOPS my bad, this helps a bunch! thank you!

  • Hi Aekiro, I'm using Scroll View to display a very long list of over 400 clickable items (each item has the button behaviour attached). When I scroll the list using either touch or mouse clicks a button click is often registered, which then triggers an action and prevents scrolling through the rest of the list. Also, the scroll speed is fine using touch controls, but far too fast using the middle mouse button.

    1. Is it possible to detect whether the scroll list is moving so that I can disable button clicks whilst scrolling?

    2. Can I control the scroll speed when using the middle mouse button?

    Thanks,

    Steve.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi Aekiro, I'm using Scroll View to display a very long list of over 400 clickable items (each item has the button behaviour attached). When I scroll the list using either touch or mouse clicks a button click is often registered, which then triggers an action and prevents scrolling through the rest of the list. Also, the scroll speed is fine using touch controls, but far too fast using the middle mouse button.

    1. Is it possible to detect whether the scroll list is moving so that I can disable button clicks whilst scrolling?

    2. Can I control the scroll speed when using the middle mouse button?

    Thanks,

    Steve.

    How did you do that as I want to do something - similar I have data in a database and how would I create an object for each column in the database and make it so it scrolls?

  • I use a PHP file to get the data out of a mySQL database using the JSON_ENCODE function, for example:

    https://www.opentechguides.com/how-to/article/php/100/mysql-to-json.html

    Then I used the following tutorial to create the scrolling list of items with ProUI:

    https://www.youtube.com/watch?v=WvQsGNlp-4Y&t=324s

  • srenshaw

    Thank you!

  • srenshaw

    1. Is it possible to detect whether the scroll list is moving so that I can disable button clicks whilst scrolling?

    That's supposed to be done automatically. I'll investigate more about this issue.

    2. Can I control the scroll speed when using the middle mouse button?

    Not currently, it's supposed to scroll at a "normal" speed without having to fiddle with a speed property.

    I agree that the scrolling is too fast using the middle mouse button for huge lists. it's bad design from my side.

    I've made some changes. Reach me on discord so I can give you the new version.

  • Hi Aekiro,

    I've noticed a strange bug with the scrolling GridView. The first time you visit the layout everything works ok. However, if you leave the layout then return to it, you can actually click grid items that are not yet visible at the bottom of the list. This can be seen on your own demo - I've created a quick video to show what I mean:

    https://www.youtube.com/watch?v=SAy9PZzvRyc

    Steve.

  • Hi Aekiro, have you had chance to look at the bug mentioned above? Invisible grid items can also be clicked above the scolling list when you visit the layout for a second time (this can also be seen on your demo).

  • srenshaw

    Bug was fixed; sorry for the delay.

  • Hi Aekiro,

    I'm getting the following error in the browser console:

    Uncaught (in promise) TypeError: Cannot read property 'ContainsPoint' of null at aekiro_buttonInstance.isInsideScrollView (504afc9b-f51a-417f-a8cb-0cbe721cf437:1051) at aekiro_buttonInstance.isClickable (504afc9b-f51a-417f-a8cb-0cbe721cf437:1036) at aekiro_buttonInstance.OnMouseEnter (504afc9b-f51a-417f-a8cb-0cbe721cf437:822) at aekiro_buttonInstance.OnAnyInputMove (504afc9b-f51a-417f-a8cb-0cbe721cf437:756) at aekiro_buttonBehavior._OnInputMove (4e0264b4-9025-4c4b-8031-68a7ad825abf:50) at aekiro_buttonBehavior._OnPointerMove (4e0264b4-9025-4c4b-8031-68a7ad825abf:24) at Array.<anonymous> (4e0264b4-9025-4c4b-8031-68a7ad825abf:11) at a.Event.Handler._FireAndWaitAsyncSequential (handler.js:1) at a.Event.Dispatcher.dispatchEventAndWaitAsyncSequential (dispatcher.js:1) at C3.Runtime._OnEventFromDOM (runtime.js:1)

    I've created a stripped down version of my project in order to demonstrate the problem here:

    https://www.dropbox.com/s/m246j2g5beyyfvb/ProUI_Test02.c3p?dl=0

    The following steps trigger the error:

    - Click the Menu button and select 'Option 1'

    - Click the Back button

    - Click the Menu button and hover the mouse over any of the menu options

    Thanks,

    Steve.

  • I found a couple of bugs on your Dialog Plugins, if you use the Scale Up and Scale Down animations for opening and closing a dialog respectively, the whole texture of the layer is re-scaled and displaced, which causes the image of the layout to displace incorrectly and leave the blank background visible. Can you take a look at this bug? Thanks

  • Thanks for reporting the bugs.

    Please update to the latest version.

  • Hello, how is this installed? Will it work when using Contruct on a tablet?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)