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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Runtime Level Editor

Discussion in 'Assets and Asset Store' started by AlexLeighton, Oct 3, 2013.

  1. AlexLeighton

    AlexLeighton

    Joined:
    Sep 3, 2012
    Posts:
    99
    Update: It's available now on the Asset Store! https://www.assetstore.unity3d.com/#/content/11187

    Hey guys! I've been working on this level editor package, so I figured it would be good to let people have a look at it before I submit it to the asset store. A full description and a webplayer demo is below. I've got the example set up as a track editor, but it can be easily configured for any type of game. The example is what you'll be able to create with the package.

    Description:

    Add nearly infinite replay value to your game by allowing your players to create their own content! Runtime Level Editor includes everything you need to quickly and easily add a level editor to your game. This package can be easily configured for any type of game, from a racing game, to a 2d platformer, to a fps.

    This package can also be used during the design process to quickly and easily prototype levels at runtime.

    Features:

    - Allow players to spawn and manipulate objects at runtime to create their own playable levels.
    - Objects move based on camera angle, so that they always go where the player expects them to.
    - Multiple parameters can be modified by players, including rotation, scale color.
    - Easy to understand save/load system which creates small, easily shared files.
    - Uses UnityGUI for painless integration into your game.
    - Track Editor example scene to get you started.
    - Full C# source included.

    Planned/Work In Progress Features:

    -Undo/redo system.
    -More material modification, including swapping textures loading custom textures onto objects.
    -FPS example scene.
    -Runtime terrain editing.
    -Gamepad Touch friendly control schemes.
    -Full mobile support.
    -Object categories and popup descriptions of each object.
    -New features will be added as they are developed, and help is just a quick e-mail away.

    Please note: This package has not been tested on mobile devices, and in it's default state, is only suitable for mouse and keyboard use. A touch friendly mobile version is in the works, as well as gamepad controls, and will be added to this package when it's ready!

    Webplayer Demo

    Let me know what you think!
     
    Last edited: Nov 13, 2013
  2. paraself

    paraself

    Joined:
    Jun 30, 2012
    Posts:
    139
    Fantastic Idea. Actually I was planning to do the same. We are making a 2d game with some artist involved. We planned to make a runtime 2d art framework as same as Ubi Art Framework. But it was just planned and never carried out....

    Yours seems a great solution, but it seems a runtime position tool for 3d game. My question is , do you have plan to have 2d sprite supported. and do you plan to add features like runtime asset importing, runtime physics collider editing...ect

    Thanks
     
  3. pixelsteam

    pixelsteam

    Joined:
    May 1, 2009
    Posts:
    924
    Yes looks like a great solution...will buy.
     
  4. Andrew_atl

    Andrew_atl

    Joined:
    Sep 21, 2010
    Posts:
    103
    This sounds awesome!
     
  5. paraself

    paraself

    Joined:
    Jun 30, 2012
    Posts:
    139
    any updates?
     
  6. judah4

    judah4

    Joined:
    Feb 6, 2011
    Posts:
    256
    very cool, looks like we have the same idea with level editing. I've been working on a terrain editor here terrain editor here
     
  7. AlexLeighton

    AlexLeighton

    Joined:
    Sep 3, 2012
    Posts:
    99
    Hey guys, sorry for the late update. Anyways, I've made a few minor tweaks and submitted it to the Asset Store, just waiting to hear now.

    Right now, I'm only planning to do it for 3D games, although if the game is 2D but uses gameobjects in 3D space it will work, you would just have to lock the camera and objects to an axis. By default you can select which axes the player is able to move an object in, so it's not difficult to set up. I'm planning to include the ability to assign custom textures as well.
     
  8. AlexLeighton

    AlexLeighton

    Joined:
    Sep 3, 2012
    Posts:
    99
  9. BuildABurgerBurg

    BuildABurgerBurg

    Joined:
    Nov 5, 2012
    Posts:
    566
    Purchased!! :)

    This is the first purchase I've made that only took me 3 seconds to make my mind up.

    I would of expected this to be priced at £50 minimum. But I think you've go the right idea about making this cheap enough for pretty much all users.

    If you do decide to add 2d support then please make it a separate package :)

    Although I purchased this I wont be using it for a while so I won't be able to write a review, the reason being is I don't want to disrupt my workflow at the moment and just focus on current tasks. Why didn't I wait? simple, it took 3 seconds to know I must have it now before author changes his mind and increases the price :)

    Well done Alex
     
  10. AlexLeighton

    AlexLeighton

    Joined:
    Sep 3, 2012
    Posts:
    99
    Thanks mate! I definitely want to keep this package affordable, since it shouldn't have to cost thousands of bucks to make a great game. I'm looking forward to hearing what you think!
     
  11. AlexLeighton

    AlexLeighton

    Joined:
    Sep 3, 2012
    Posts:
    99


    Hey all, I've done a short video showing the general setup process, and I've also submitted a small update which addresses a few bugs as well as adding a point&spot light prefab, fully editable by the player at runtime.
     
  12. AlexLeighton

    AlexLeighton

    Joined:
    Sep 3, 2012
    Posts:
    99
    The update is now live.
     
  13. AlexLeighton

    AlexLeighton

    Joined:
    Sep 3, 2012
    Posts:
    99
    I've been working on getting terrain editing up and running, this video shows how it's progressing. I'm hoping to have the full terrain editor as well as runtime object importing ready to go within the next couple of weeks.



    This video demonstrates the kind of runtime terrain editing that will be part of the Runtime Level Editor package in the next update.


    Terrain Tools is a powerful new feature that will allow your players to modify the terrain in their levels. Players can import alphas to use as brushes, or you can supply them with a fixed set of alphas. Players can also paint textures onto the terrain using the same alphas. A smoothing tool is in the works, as well as multi layer texture blending.
     
  14. Greg-Bassett

    Greg-Bassett

    Joined:
    Jul 28, 2009
    Posts:
    628
    Hi Alex,

    How close are you to having your level editor working on mobile platforms using touch gestures to manipulate objects in a scene?
     
  15. AlexLeighton

    AlexLeighton

    Joined:
    Sep 3, 2012
    Posts:
    99
    That probably won't be ready for a while yet, right now my focus is on the terrain editing, which has been the most requested feature.

    I don't know that I'll have it working with gestures so to speak, it will most likely end up being virtual buttons for object movement and the same sort of menus that already exist for other manipulation, somewhat simplified.
     
  16. suttonb

    suttonb

    Joined:
    Nov 9, 2013
    Posts:
    8
    +1 for mobile support! Glad someone is making this!
     
  17. AlexLeighton

    AlexLeighton

    Joined:
    Sep 3, 2012
    Posts:
    99
    Okay small update on progress, the terrain editor is almost ready for release with the features shown in the earlier video. I'll be looking into mobile support next, and I'm sure the basic functionality will translate to touch devices quite well, but the terrain editor might be a bit too heavy, we'll have to see once I do some testing.
     
  18. suttonb

    suttonb

    Joined:
    Nov 9, 2013
    Posts:
    8
    Thanks for the update!
     
  19. AlexLeighton

    AlexLeighton

    Joined:
    Sep 3, 2012
    Posts:
    99
    Okay, I just submitted the new update, with terrain editing, a new demo scene, lots of bug fixes, etc. I decided to raise the price to $30 as it's a pretty hefty update and the package is getting a lot closer to where I ultimately want it to be.

    Here's the new webplayer demo: Webplayer Demo

    And documentation is here: Documentation

    Next thing I'm planning to do is touch support.

    Let me know what you think!
     
  20. suttonb

    suttonb

    Joined:
    Nov 9, 2013
    Posts:
    8
    Looks great! Looking forward to touch support!
     
    naba ti likes this.
  21. BuildABurgerBurg

    BuildABurgerBurg

    Joined:
    Nov 5, 2012
    Posts:
    566
    Hey Alex!

    it's been a while I used this asset and to my surprise to have a realtime terrain editor :)

    The controls are excellent by the way. I was wondering how to select the other textures? nothing on the gui showing the other textures.

    Well done mate :)

    PS. you're missing the forum link on the asset store page.
     
  22. AlexLeighton

    AlexLeighton

    Joined:
    Sep 3, 2012
    Posts:
    99
    Good call, I'll add the link to the asset description.

    The textures on the terrain basically just blends between two that are assigned in the inspector for now, you switch between them by changing from additive to subtractive paint modes.
     
  23. BuildABurgerBurg

    BuildABurgerBurg

    Joined:
    Nov 5, 2012
    Posts:
    566
    oh ok..

    so if you have 4 textures? what is the limit for textures? I'm assuming 4..

    Are you planning to add a texture UI, separate from main panel? like unity's system?

    What's your road map on this?

    sorry many questions... I think there is a huge need for realtime terrain system.

    Keep up the great work mate :)
     
  24. AlexLeighton

    AlexLeighton

    Joined:
    Sep 3, 2012
    Posts:
    99
    Yeah the limit is 4, which is what it is in the Unity terrains. Right now I've only got it set up for 2 at a time, but getting 4 and the ability to import more at runtime is something I'm working towards. Right now I'm focusing on mobile support, but the terrain improvements will probably come with the mobile update.
     
  25. Mementos

    Mementos

    Joined:
    Sep 25, 2012
    Posts:
    79
    Hey,
    do you still planning on adding "full" mobile support? And if so, how long will it take?
     
    Last edited: Apr 3, 2014
  26. AlexLeighton

    AlexLeighton

    Joined:
    Sep 3, 2012
    Posts:
    99
    Eventually, yes I would like to have full mobile support. I can't give an exact timeline right now though, progress has been much slower than I might have thought previously.
     
  27. BackwoodsGaming

    BackwoodsGaming

    Joined:
    Jan 2, 2014
    Posts:
    2,229
    This looks very interesting.. I like the idea of maybe adding something like a Neverwinter Online style Foundry into my game and it sounds like this would definitely work for the terrain and objects portion of it!

    One other thing I'm hoping to add to my game is the purchase of plots where players may clear a piece of land to build on. I noticed in the docs about adding the level editor to an existing game and about games with only one scene. When you do this, does that give them access to the entire scene or are we able to control it and give them different sized grids they can purchase to build on?