mOOnpunk's Recent Forum Activity

  • SDK updates

    Add editor/runtime renderer methods to set/remove scissor rectangle

    Nice! Will have to give it a try.

  • I know its not the same but i made this addon to do the same thing within the current sdk constraints.

    It uses blend modes but sets it up automatically for you.

    You can clip the inside or outside of an object.

    construct.net/en/make-games/addons/1641/easymask

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley

    Do you intend to add 3d shader support to construct at some point?

    It would be neat to do things like water.

  • I'm testing the plugin with a free ui kit i found on itch.io.

    https://ci.itch.io/cartoon-ui-pack

    It has highlighted some issues, so i've been going over each element and adding missing features, like scale properties for high res graphics, to make it as easy as possible.

    I've also added headers, which you use with actions Begin header, elements, End header. It allows to ignore clipping and offset its xy position so you can create banners and irregular shapes, all while respecting the easy layout system.

    Menus can now also be dragged, unless its set to not draggable, or the menu is locked.

  • Great video. Can't wait to see how it progresses.

  • Too many projects lol.

    The weakest link for me has always been ui.

    Its predominately for myself, but I'll release it for anyone else who might find it useful.

    I'm open to suggestions or feature requests.

  • You can now add "juice" to menu objects.

    Since objects like buttons are made up of components, you select them first by the element name, then an index, so index 0 is usually the background, or trackbar, index 1 might be the thumb, and index 2 might be the text etc, depending on the element.

    Simply set the scale or x/y offset on the hover or pressed state, tween type and duration.

    -> eui: Set element "tab1" component 1 juice (Hover: 1.2x, 0x/0y | Press: 1.2x, 0x/0y | Dur: 0.15s, Back Out)
    -> eui: Set element "tab1" component 3 juice (Hover: 1.0x, 0x/10y | Press: 1.0x, 0x/10y | Dur: 0.15s, Back Out)
    -> eui: Set element "tab1" component 4 juice (Hover: 1.0x, 0x/10y | Press: 1.0x, 0x/10y | Dur: 0.15s, Back Out)
    -> eui: Set element "tab1" component 5 juice (Hover: 1.0x, 0x/10y | Press: 1.0x, 0x/10y | Dur: 0.15s, Back Out)

    I also added menu transitions, those are optimal effects when a menu opens or closes. For now just fade. I set it slow to make it more apparent in the video.

    -> eui: Set menu "Menu2" transition to Fade over 0.5s
  • Added tab areas as an optional addition to tab slider buttons (which can be used without it as regular buttons).

    simply add Begin tab area action, then Begin tab page (specifying the button option id), use all the existing actions for adding text, images, buttons, rows etc, then End page, End tab area, and the content appears in its own clipped area.

    You can either specify the area hight by the tallest content page, or set a max height, and use a scroll bar.

    -> eui: Add Tabs "tab1" '"tab 1,tab two,tab three"' (Start: 0, Dur: 0.2s) using Track:track, Thumb:thumb, Text:menu_text, Overlay:track2 (Use: True) [Grow: True, Margin: 20] (Text Gap: 40, Gap: 30, L: 20, R: 40)
    -> eui: Begin Tab Area linked to "tab1" using track (Mode: Fixed with Scrollbar, Height: 300px) (Scrollbar Track:track Thumb:thumbButton W:40 Anims: "default"/"hover"/"pressed") (Padding: T:0 B:0 L:20 R:40, Gap Above: 20)
    -> eui: Begin Tab Page for "tab 1"
    -> eui: Add text "Text inside tab 1." & newline & "Some more text goes here."& newline & "Some more text goes here."& newline & "Some more text goes here."& newline & "Some more text goes here."& newline & "Some more text goes here."& newline & "Some more text goes here." (Gap: 20, Left: 60, Right: 40) using menu_text
    -> eui: End Tab Page
    -> eui: Begin Tab Page for "tab two"
    -> eui: Add text "Text inside tab two." & newline & "Some more text goes here."& newline & "Some more text goes here."& newline & "Some more text goes here."& newline & "Some more text goes here."& newline & "Some more text goes here."& newline & "Some more text goes here." (Gap: 20, Left: 60, Right: 40) using menu_text
    -> eui: End Tab Page
    -> eui: End Tab Area (Gap Below: 20)
  • Added Begin column and End column actions to complete the layout system. These allow you to continue adding ui elements under each other when in a row.

    Example

    Begin Row, add text, Begin column, add text, add text (would place the 2 text in a column), End column, End row.

    -> eui: Begin horizontal row with columns: "1,1"
    -> eui: Add text "Text for first in row." & newline & "Some more text goes here." (Gap: 50, Left: 60, Right: 40) using menu_text
    -> eui: Begin column (Gap L: 0, R: 30)
    -> eui: Add text "text for second in row" (Gap: 50, Left: 20, Right: 30) using menu_text
    -> eui: Add text "This text goes below the second text in the row, they share a column." (Gap: 50, Left: 20, Right: 30) using menu_text
    -> eui: End column
    -> eui: End horizontal row

    Also added a Dial button, which allows you to click and cycle through a series of options, each with their own default, hover and press animations.

    -> eui: Add Dial "dialbtn1" using dial_button and menu_text (Text: '"dial button text test."&newline', Pos: Left of Dial, Show Val: True) (Options: '"dial1,dial2,dial3"', Start: 0) (Suffixes: Hover '"_hover"', Press '"_pressed"') (Gap: 50, L: 50, R: 70)

    Also added a Slider Tab button, allowing you to create a series of button options like "menu1 Menu2 Menu3" and have an image slide to the selected text option.

    -> eui: Add Tabs "tab1" '"tab 1, tab two, tab three"' (Start: 0, Dur: 0.2s) using Track:track, Thumb:thumb, Text:menu_text, Overlay:track2 (Use: True) [Grow: True, Margin: 20] (Text Gap: 40, Gap: 30, L: 20, R: 40)

    Lastly i did a lot of changes to the framework, making it a single global object, so i could handle multiple menus easily.

    There are actions to lock menus, and focus them.

  • You've made some great plugins for 3d so far, and for free, its a shame you don't get more appreciation from the community for your hard work. I thought your Box3d plugin in particular would have gotten more interest.

    Anyway thanks.

  • Thanks.

    Honestly i dont think a tool is needed, its so simple to use. You just run the game and see the results.

    One of my main aims is to move away from having to design the ui in a visual way like in the layout, and have it done procedurally. I guess it wont suit everyone.

mOOnpunk's avatar

mOOnpunk

Early Adopter

Member since 29 Mar, 2017

Twitter
mOOnpunk has 8 followers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

19/44
How to earn trophies