Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

[75% off] MarkLight - Declarative Design for Unity (XUML)

Discussion in 'Assets and Asset Store' started by exmakina, May 13, 2016.

  1. exmakina

    exmakina

    Joined:
    Sep 10, 2012
    Posts:
    60
    MarkLight available at the AssetStore

    Source and documentation also available on github: https://github.com/ex-makina/marklight

    What is MarkLight?

    MarkLight is framework for Unity that offers XUML (eXtensible Unity Markup Language) a declarative design language similar in syntax to HTML but instead of defining the contents of a webpage it is used to design scenes in Unity.

    XUML can be used to create views and define their relationship to the underlying game logic. Views are modular building blocks that can represent anything in the scene (UI widgets, meshes, lights, etc).

     
    Last edited: Mar 4, 2019
  2. StevenPicard

    StevenPicard

    Joined:
    Mar 7, 2016
    Posts:
    651
    I am looking into either purchasing MarkLight or XmlLayout. Both seem very nice and somewhat similar. MarkLight has binding but XmlLayout supports table layout. Having developed several years in Silverlight I do like the XAML style binding but the table layout is very nice and I would make great use of this. Is table layout something you plan to support? Also, am I able to display 3D objects within MarkLight (ex. a shop or inventory display that displays 3D objects in grid where each item can rotate and scale? Also, particle article effects so that if, for example, I select an object a particle effect is be displayed? Lastly, I understand that the layout is responsive, which is nice in order to support different screen resolutions, but can the text and any images, etc. be scaled (if desired) proportionally?

    Also, is there a demo of the UI I can try?

    Thank you.
     
    Last edited: Aug 25, 2016
  3. exmakina

    exmakina

    Joined:
    Sep 10, 2012
    Posts:
    60
    Hi Steven

    Unfortunately there is no demo available, but I'll try answer your questions and if you want to ask the community questions there is a chat here: https://marklight.herokuapp.com

    You can achieve table/grid layout through the DataGrid view. I'm considering adding a Grid view that is only to be used for creating layout grids, e.g. a more light-weight version than the DataGrid. The DataGrid also features selection logic, table headers, etc. (that can be turned off).

    If you're interested when this feature will be implemented you can follow the issue here:
    https://github.com/ex-makina-b/marklight-issues/issues/9

    Yes, you can create custom MarkLight views that presents and displays 3D objects (like meshes). You can then add them in anywhere in the UI. I also plan on adding a feature so you can add and nest gameobjects not created through marklight inside the marklight hierarchy and they will persist as the marklight objects are (re)generated.

    Have a nice day,
    Patrik
     
  4. StevenPicard

    StevenPicard

    Joined:
    Mar 7, 2016
    Posts:
    651
    Thanks for taking the time to respond. I plan on purchasing this today.
     
    exmakina likes this.
  5. StevenPicard

    StevenPicard

    Joined:
    Mar 7, 2016
    Posts:
    651
    I purchased this way back before it became free (almost a year ago) and I'm sure there's no longer any support for this but I'm hoping someone can answer these questions (some users who know this asset well may consider them stupid, lol.) I was using another UI framework but I figured it's about time I use this instead and I love it.

    Anyways:
    1.For image views I need the aspect ratio preserved and scaled inside its parent view (container). I know background images have this ability but does the image view? I need to show them in a list item (in order to create a grid of images) but I need the aspect ratio preserved.
    2. Is there way to for the UI to scale with the screen (I've tried percentages but this doesn't seem to be supported correctly across UI elements.)
    3. Is there a way to show a prefab inside a view? (I'm thinking of 3D objects.)

    This is really an awesome asset. It's a shame the developer did not get the success it deserved.

    Thanks!
     
    benzsuankularb likes this.
  6. Red_Dragon69

    Red_Dragon69

    Joined:
    Sep 7, 2015
    Posts:
    65
  7. exmakina

    exmakina

    Joined:
    Sep 10, 2012
    Posts:
    60
    srkhan83 and Red_Dragon69 like this.
  8. Red_Dragon69

    Red_Dragon69

    Joined:
    Sep 7, 2015
    Posts:
    65
  9. SubMan_

    SubMan_

    Joined:
    Dec 30, 2017
    Posts:
    1
    Did you ever find an answer to this question? I would also like to know how to scale elements to screensize.