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. Dismiss Notice

Procedural Dungeon Script from www.GamiGen.com

Discussion in 'Assets and Asset Store' started by djinni69, Jun 4, 2014.

?

Do you want to see this procedural dungeon script using prefabs on the Asset Store?

  1. Yep!

    14 vote(s)
    77.8%
  2. Nope!

    4 vote(s)
    22.2%
  1. djinni69

    djinni69

    Joined:
    May 10, 2010
    Posts:
    174
    This work is heavily influenced by Phi at TinyKeep (thanks again Phi, for the advice you've shared with the community). Please support his efforts with TinyKeep (www.TinyKeep.com)

    I've made my own implementation of a random / procedural dungeon using prefabs, and it's still very early in development. However, I thought I'd share what has been done so far to get feedback from the community.


    Added 5/7/2014 - WebPlayer Demo! Simple example of a Top Down shooter (no shooting in the example yet)
    https://dl.dropboxusercontent.com/u/79902077/GamiGen/RandomGenerator/Demo.html


    Added 5/6/2014 - Custom Prefabs and a MASSIVE performance boost. 150 room sample!



    Added 5/5/2014 - Triangulation implemented! EDIT - Had to replace the original triangulation video. Terrible quality!



    Original Video


    Current Feature Roadmap:
    1. Random room and layout using Random Normal distribution (DONE)
    2. Spacing layout to ensure no overlapping (DONE)
    3. Placing wall, corner, and floor prefab tiles (1 x 1 game unit tiles) in X, Z orientation (DONE)
    4. Connect rooms with corridors (Partially done, triangulation implemented)
    5. Insert openings from rooms to corridors using prefabs
    6. Random decoration placement
    7. Random Monster placement
    8. Random Loot placement

    Would this be something you'd like to see on the Asset Store?
    What other features would you like to see implemented?
    Would you like to help beta test and assist in the development?

    Thanks!
     
    Last edited: Jun 7, 2014
  2. djinni69

    djinni69

    Joined:
    May 10, 2010
    Posts:
    174
    New video added. See OP!

    EDIT - Damn, I didn't realize how hard it would be to see the triangulation lines in the YouTube video. Uploading a new vid ASAP!
     
    Last edited: Jun 5, 2014
  3. djinni69

    djinni69

    Joined:
    May 10, 2010
    Posts:
    174
    New Triangulation video has been added. That first one ... blah terrible!
     
  4. calmcarrots

    calmcarrots

    Joined:
    Mar 7, 2014
    Posts:
    654
    I would love to buy this! Exactly what I was looking for in my next project. Can I import my own modular walls and it will still work?

    EDIT: I would like to set how big my rooms would be, how long my corridors would be, how many rooms there could be, and how many floors. That would definitely topple the other generators on the asset store since they don't have all those features. You will have a big hit if you add those.
     
  5. djinni69

    djinni69

    Joined:
    May 10, 2010
    Posts:
    174
    @calmcarrots - Yep! You will have most, if not all of those features at your disposal. Right now, the generator allows you to add 3 types of prefabs: walls, floors and corners. Each type is an array, so you can add many types of walls and the generator will randomly pick walls from your array for the dungeon. Same goes for floors and corners, although I'm going to have the generator attempt to keep some consistency for walls so that a single room doesn't have 15 different wall prefabs (yikes!). I've already got the different prefabs working, and now I'm addressing some performance issues. Once I get the performance under control, I will be posting another video where I'm using a dungeon prefab set from a third party. VERY COOL!!!! Thank you very much for your interest!!!
     
  6. djinni69

    djinni69

    Joined:
    May 10, 2010
    Posts:
    174
    @calmcarrots - Here are two screen captures of the generator in its current state. Notice the walls, floors and corners prefabs shown in the Inspector screen shot. Generator With Prefabs.jpg Inspector.jpg
     
  7. djinni69

    djinni69

    Joined:
    May 10, 2010
    Posts:
    174
    New video added! Massive performance boost and I officially added the ability to use combinations of custom prefabs for the walls, floors and corners (although I didn't make any corners for the video). Enjoy! See OP for new vid.
     
  8. calmcarrots

    calmcarrots

    Joined:
    Mar 7, 2014
    Posts:
    654
    Thanks!! cant wait to buy soon!
     
  9. djinni69

    djinni69

    Joined:
    May 10, 2010
    Posts:
    174
    Demo Webplayer has been added to OP
     
  10. djinni69

    djinni69

    Joined:
    May 10, 2010
    Posts:
    174
    The web build demo has been updated. We're still working on the corridors which has caused a little slowdown in the development effort. Once the corridors are ready, we'll be placing this on the asset store at an introductory price for early adopters. Buy early and help shape the product moving forward!
     
  11. djinni69

    djinni69

    Joined:
    May 10, 2010
    Posts:
    174
    We will be adding a purchase link very soon for Early Adopters! The price will be a greatly reduced rate (at least 50%) and you'll have an opportunity to help shape this product to meet your needs. The Early Adopter offer will be outside of the Asset Store for now, because I did not want to hold back while waiting for approval.

    Thank you and if you have any questions, please post to this thread.
     
    CherifYounis and moure like this.
  12. CherifYounis

    CherifYounis

    Joined:
    Aug 26, 2014
    Posts:
    1
    is there any improvement in the development of the tool ?
     
  13. djinni69

    djinni69

    Joined:
    May 10, 2010
    Posts:
    174
    My apologies! We had to slow development for a bit due to a client project. We are nearly done with the client's work (gotta pay those bills!) and we'll be back on track with this. Again, sorry for the delay!