Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Mad Level Manager - Level chooser and manager

Discussion in 'Assets and Asset Store' started by genail, Jul 13, 2013.

  1. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    If MLM loses the track of your current level name, please make sure that:

    1. You're running your game from the first game scene - running it from the middle of the game may interpret level name incorrectly.
    2. Please make sure that you comply to these rules: http://madlevelmanager.madpixelmachine.com/doc/latest/basics/the_rules.html
     
  2. shoni-wheeler

    shoni-wheeler

    Joined:
    Oct 25, 2014
    Posts:
    102
    Hi Piotr,

    Ok, using the mutiple backgrounds example, I want to control the slideright icon.

    So user cannot get to next select scene unless satisfy some condition, where are you controlling this from,
    would also probably need to disable any swipe effect events.?


    John
     
  3. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    Currently there's no easy method of controlling when swipe icons are visible. They just appear as there are more levels on the screen. This is easy thing to implement, so please write to me to support@madpixelmachine.com with your invoice/order No. and I will send you updated unitypackage of MLM that will allow to do that :)

    Cheers!
    Piotr
     
  4. FireMutant

    FireMutant

    Joined:
    Sep 2, 2013
    Posts:
    49
    Hi @genail,
    Any ETA on when Mad Level Manager will be updateded for Unity v5.3? I'm going crazy with all of the 3rd party assets with "Obsolete" warnings. :eek: Fills up the console and I can't see my own errors/warnings.

    Thanks!
     
  5. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    Please write to me to support@madpixelmachine.com with your invoice no. I will send you the package :)
     
  6. DalerHakimov

    DalerHakimov

    Joined:
    Mar 14, 2014
    Posts:
    302
    Hey,

    Thx for this great asset. I remember a while ago you said you will convert it to use completly all new Unity's UI.. so we will not have to create some bmfonts, textures and etc things.. Cuz to use custom fonts we have to create a texxture first and those textures are big enough..

    So, do u still have a plan to convert it to use only Unity's new UI??
     
  7. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    Hi!

    Yes, I am still planing to make a Unity UI conversion. I'm sorry it is taking so long. I cannot make any promises about when it will be available though.

    Cheers!
    Piotr
     
  8. cygnusprojects

    cygnusprojects

    Joined:
    Mar 13, 2011
    Posts:
    766
    Would be much appreciated ;-)
     
  9. chaseholton

    chaseholton

    Joined:
    Dec 17, 2012
    Posts:
    77
    I have a probably already asked question that I may have overlooked, but here goes:

    How does one go about making branching paths in their game? For instance, if the player goes to exit X, then level X opens up on the level select map. If they go to exit Y, then level Y opens up on the level select! Is this possible, and if so, how does one go about doing that? Is there something in the documentation I missed?

    Sorry if this has been asked before... This is the best plugin I have used in my game yet. Seriously, great work!

    Take care,

    Chase
     
  10. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    Hello Chase,

    What I can think of is that you can achieve this using groups.

    http://madlevelmanager.madpixelmachine.com/demos/groups.html
    http://madlevelmanager.madpixelmachine.com/doc/latest/advanced/level_groups.html

    It has some limitations, but it should be OK. You will have to script some logic (should be simple) on top of that to make it work as expected.

    I'm very happy to hear that you're satisfied! :) Please let me know if you will need anything else to know!

    Cheers!
    Piotr
     
  11. chaseholton

    chaseholton

    Joined:
    Dec 17, 2012
    Posts:
    77
    Oh I didn't think about making it separate groups! I have various zones like a factory/forest/mountains that you travel through throughout the gameplay, so I have those in different groups. But I didn't think about groups within a different map. Smart. SMART! Thanks a ton!
     
  12. sygaki786

    sygaki786

    Joined:
    Jan 26, 2014
    Posts:
    142
    I am following the Basic Tutorial on Unity 5.3.1. When I run Tools - Initialize MLM, a grid is created but both the icons are locked whereas in the PDF the 1st one is unlocked. Due to this I can't get a response when clicking on the 1st button. What am I missing?

    Thanks,
    Arshad
     
  13. sygaki786

    sygaki786

    Joined:
    Jan 26, 2014
    Posts:
    142
    MLM uses one 1 scene with multiple levels. What are the options if i wanted to have multiple Scenes? What if the UI is arranged differently for different levels?

    Thanks,
    Arshad
     
  14. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    Hi!

    Please make sure that your first level is not locked by default:
    http://madlevelmanager.madpixelmach...uration.html#level-property-locked-by-default

    Then press the play button and reset your profile:
    http://madlevelmanager.madpixelmachine.com/doc/latest/advanced/profile_tool.html

    You can use one scene with multiple levels or one scene per one level. It's completely up to you how you will configure your levels.
    I'm not sure if I understand the question about the UI. Could you please clarify that?

    Cheers!
    Piotr
     
  15. DalerHakimov

    DalerHakimov

    Joined:
    Mar 14, 2014
    Posts:
    302
    Hi,

    I'm trying to compile the game which uses MLM for Windows 10 UWP but it gives the following error:

    Could you help me why it says so?
     
  16. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    Hi!
    Please write to me to support@madpixelmachine.com with your invoice no. I will send you the latest fixed package :)

    Cheers!
    Piotr
     
  17. DalerHakimov

    DalerHakimov

    Joined:
    Mar 14, 2014
    Posts:
    302
    THx. sent you an email with my Invoice #. Also in addition to that error it gives some more console messages.
     
  18. ohmaigawd

    ohmaigawd

    Joined:
    Jan 7, 2015
    Posts:
    2
    Hi!
    Is it possible to use MLM with Unity UI? For example: I want to have my level select icons inside this Unity UI panel.

    Another option would be to use multiple Level Screens without Unity UI like this.
    This works fine with a single MadLevelRoot, but when I try to add multiple MadLevelRoots I get a warning "There's more than one level layout on the current scene." and the levels no longer show up.
    Another problem when using this approach is that the level select screen registers clicks even if Unity UI is over it.

    I would love to have smooth transitions between screens so I can't afford to load an additional scene for each level select screen.

    Is it possible to implement one of the options I described above?
     
  19. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    Hello,

    MLM and Unity UI are not working with each other quite well, but I'm surprised that MLM registeres Unity UI clicks. Did you add any game objects to Unity UI ignore by any chance? What Unity version are you using?

    You can try to achieve the first one by trying to create Mad Level Root on a Panel, but I never tried that. The other possibility is to make a level icon a Rect Transform with images (disabling sprites). Then you can attach a Canvas component to a Panel object. It may work, but until the next week I won't have the time to test it out. I will try to do it and post a tutorial maybe?

    Cheers!
    Piotr
     
  20. ohmaigawd

    ohmaigawd

    Joined:
    Jan 7, 2015
    Posts:
    2
    Hello,
    sorry for the late reply (didn't get any notifications that you replied).

    I'm using Unity 5.3.2 personal and didn't add any objects to UI ignore (at least not that I know of).
    I will try and see if your suggestions work :)

    Is it possible to make multiple Mad Level Roots coexist in the same scene? (Because I'm getting a warning "There's more than one level layout on the current scene" if I try to use more than one)
     
  21. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    Hi!

    Currently it may be impossible until you will made some changes in the code. Or maybe... just ignore the warning and duplicate Mad Level Root object :) I never tested that scenario. I'm going back today from vacations. Please give me a few days, I will test that out.

    P.S. Please write to support@madpixelmachine.com. Numerous cases may get lost in a single forum thread.

    Cheers!
    Piotr
     
  22. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,853
    Hi there,

    I recently bought Mad Level Manager and found that a very important piece of puzzle is missing.

    I'm developing a questions based quiz game, i load questions runtime and create levels based on given questions.

    So what i want is function/api for adding levels in level configuration dynamically, so if there 100 questions on runtime, there will be 10 levels with 9 locked.

    I can achieve this thing without levelmanager (but then how am i suppose to save time reinventing the wheel ;)) but i dont know how to achieve with MadLevelManager.

    Please advise
     
  23. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    Hello John,
    This is not the first time I am receiving a question like this. I think I may be able to implement dynamic levels, but it will take me some time (3 - 5 weeks) due to quite large backlog that I am currently facing. Is that solution acceptable for you?

    Cheers!
    Piotr
     
    Mayureshete likes this.
  24. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,853
    I'm suppose to launch the game end of March, if you can do that 'd be really great.
    For now ill go with static levels just for demo purposes.
    I believe that idea of dynamic levels will really make Mad Level Manager a great product.
     
    Mayureshete likes this.
  25. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,853
    How can i add padding in level select screen?
     

    Attached Files:

  26. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    I'm sorry, I haven't received any notification about new messages.
    I believe you may want to play with Dimensions. Here you can set virtual size of rendering area. Try playing with that :)

    Cheers!
    Piotr
     
  27. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,853
    Hy, how do i add stars in level selection?
     
  28. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    jGate99 likes this.
  29. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,853
    Can you please use Unity UI for UI related stuff like icons? It gives more powerful to create anything imaginable with "ease".
     
  30. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,853
    I followd Custom Icons tutorial, however my custom icon doesnt animate any more like default.
     
  31. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    Hello @JohnGate
    Currently MLM does not support Unity UI. At the time that MLM has been created there was not Unity UI. I'm planing to move to Unity UI, but I cannot make any promises when.

    If you're creating a custom icon, please read this documentation page about animations. There's also a YouTube video :)

    Cheers!
    Piotr
     
  32. Ylex

    Ylex

    Joined:
    Apr 9, 2012
    Posts:
    14
    Hi,
    I just bought this on sale. Now I see it does not use Unity UI.
    So how can I ensure it works in every resolution and aspect?
    Do I have to use GUI matrix or something?
     
  33. Luciurr

    Luciurr

    Joined:
    Aug 2, 2015
    Posts:
    2
    Hello. I'm using grid level in my game. I have 6 pages, but I need to make that amount of levels on a page was not the same. For example, page 1 - 3 levels, page 2 - 4 levels, page 3 - 2 levels. How can I do this, because i can not edit the pages, they are generated anew. And if i move level icons without a binding to the pages by clicking on the icon moves to the page, to which is attached level. Free level not appropriate for me, as need a page. Thanks you
     
  34. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    Hello @Ylex ,
    MLM has similar multiresolution support as NGUI does. You can find more on this topic here: http://madlevelmanager.madpixelmachine.com/doc/latest/advanced/multiresolution_support.html

    Hi @Luciurr ,

    Currently there's no way to create such layout. If you're experienced enough, you can modify the MadLevelGridLayout code and add something like per-page limits.

    If not, please write to me to support@madpixelmachine.com with your order no. I can make a simple modification, but it will require some time.

    Cheers!
    Piotr
     
    Luciurr likes this.
  35. Milo_del_mal

    Milo_del_mal

    Joined:
    Jan 27, 2013
    Posts:
    43
    Hey man, you have a wonderful asset, I have used it several times.
    By the way. I am working on another project, and I decided to use MLM; however, I do not care about themes, or anything UI related at all, and it clutters my Project tab... I was wondering what script or folders do you recommend me to erase... If possible... If the level manager is not tightly coupled with the UI. (I have created several custom UI´s with MLM)
     
  36. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    Hello!
    I believe its totally safe to remove Themes directory. Yet I want to tell you that removing it will not change anything but your Unity project size. When you're building a Unity game, it does not include anything that you're not using (Resources folder contents is a exception).

    Cheers!
    Piotr
     
  37. Milo_del_mal

    Milo_del_mal

    Joined:
    Jan 27, 2013
    Posts:
    43
    Sorry to bother you again. Is there a way to save a Queue (Or a list, array, or whatever) of a datatype? For instance, a Queue of String or Datetimes?

    Edit: For the meantime I decided to use the Json serializer and save the info I needed as a string, even thou it is kind of redundant.
     
    Last edited: Apr 6, 2016
  38. nproject

    nproject

    Joined:
    Jan 16, 2015
    Posts:
    68
    @genail
    Hey I have a quiz game and I want to implement MLM in my game. I see the video that I have to define how many level in Level Selector.

    All my question is in XML and in web server. My game will download XML and create the how many level. So I don't have to add update apk in Google Play every time I add more quiz.

    Can I do the same with MLM ? Create number of level in runtime.

    *Sorry for my bad english :)
     
  39. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    @Milo_del_mal I'm glad to hear that you've decided to use Json serializer. I would suggest you to do the same :)

    @nproject In theory this is possible, but I'm not officially supporting this kind of scenario, so I cannot promise that everything will be working well. You can access current level configuration object through MadLevel.activeConfiguration. MadLevelConfiguration has levels and groups list publicly available. Just modify these lists when your game is launched :)

    Cheers!
    Piotr
     
  40. nproject

    nproject

    Joined:
    Jan 16, 2015
    Posts:
    68
    Oke thanks for the warning
     
  41. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,853
    @genail
    I'm quite upset with multi resolution support, i chose fixed and expect it to work fine but on some devices it messes up text size and on some lock icon. Here are the attached screens.
    Thats the reason it has to be UGUI based so such features are not depenant on your own implementation.
     

    Attached Files:

  42. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    @JohnGate

    Yeah, I know this is not perfect :/ It has been created long before uGUI and I planned to move it to uGUI eventually.
    Please write to me to support@madpixelmachine.com. I can help you with that through Skype if you don't mind :)

    Cheers!
    Piotr
     
  43. Hammry

    Hammry

    Joined:
    May 21, 2013
    Posts:
    2
    How I can unlock all levels in all groups?
     
  44. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    Hi!

    You can do it using profile tool! (option not visible on the screenshot but it is there)
    http://madlevelmanager.madpixelmachine.com/doc/latest/advanced/profile_tool.html

    Or in the code. Just execute something like that :)

    foreach (var levelName in MadLevel.GetAllLevelNames()) {
    MadLevelProfile.SetLevelLocked(levelName, false);
    }

    Cheers!
    Piotr
     
  45. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,853
    @genail
    when can we expect UGUI based UI? and dynamic levels?
     
  46. ponasoft

    ponasoft

    Joined:
    Oct 6, 2013
    Posts:
    42
    i started making turn based games with many misions. i will do level related things in last. i hope it would be before i done all the other job :)
     
  47. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    Unfortunately I cannot promise anything with Unity UI (uGUI) yet, but dynamic levels is something that I can implement much faster. Hmm, maybe 2-3 weeks from now? Please send me an email, I will send you back a beta when it will be implemented. I'm talking to all the users that are waiting for this feature :)

    The issue with Unity UI and MLM is backwards compatibility. I have some code (working code), but it would require a lot of work to make it compatible with what there is now. I am even thinking of creating a new code from scratch, name it Mad Level Manager 2 and put in a separate directory. I will need to think this through.
     
  48. isacan

    isacan

    Joined:
    Jul 18, 2013
    Posts:
    37
    Hello Genail,

    When i child to another object "Level Selection" level selection buttons not work click. Can you help me about this ?
     
  49. genail

    genail

    Joined:
    Jul 2, 2012
    Posts:
    1,045
    Hello,
    What type of button? Could you please send me some screenshots? You can send these to support@madpixelmachine.com.
     
  50. isacan

    isacan

    Joined:
    Jul 18, 2013
    Posts:
    37
    Hello Genail,

    i send you mail with screenshots