Some game UI questions

  • So I'm making a strategy RPG game and I'm going to need some very hefty UI elements. Anyone have some tips or examples I can use so I'm not reinventing the wheel?

    Like here's a screenshot of what I need, except there's no behavior attached to any of this: Do I need to have a "on start of loadout" event to pin all of these objects together? I don't see any native support for scrollbars, so should I use this tutorial ( ) or is there a plugin I can use?

    Edit: Huh, my URLs got deleted. I attached the picture I was referencing. The tutorial is scirra /tutorials/1217/custom-scrollbar-or-slider

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is how I would do it:

    Add drag and drop behavior to the scrollbar, in it's properties select Vertical only under Axes.

    Now set its limits (So it can't be dragged off the screen) likes this:

    ScrollBar | Compare Y > Lower Scrolling Limit --> Set ScrollBar Y to Lower Scrolling Limit

    ScrollBar | Compare Y < Upper Scrolling Limit --> Set ScrollBar Y to Upper Scrolling Limit

    You can then read the Scrollbars' Y coord and use it for whatever you want.

    Here is a .CAPX example: dropbox.com/s/5797oxx04wmk5z4/ScrollBar.capx?dl=0

    (Can't post clickable links yet)

    Sorry for bumping an old thread, but I thought it might be usefull to some.

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