2.5D Platform Generator - Editor Tool

I’m currently working on a custom platform generator for 3D side scrolling platformers and am looking for some feedback on what you guys like, what’s missing that should absolutely be included before releasing to the asset store, and any nice to haves.

Here’s a quick breakdown on how it will work:

To start out, you will go to GameObject>>Create Other>>Platform. That will create the gameObject with its script.

1352732--66733--$p10.PNG

In the inspector, you choose whether or not you want a foliage overhang, which would be like grass, or brick - really whatever material you want it to be. Adjust the height and depth of the foliage and the platform itself. I added an option to not include the renderer in case you wanted to use the tool just to generate a custom collider.

After that, you just click the “Add Point” button and a point will be added to the scene. You can then move the point around in the scene and continue to add more points. At any time, you can hit the “Update Platform” button and it will generate your custom platform.

1352732--66737--$p12.PNG

When you select an individual point, you can choose whether or not you want to have a bezier curve between the selected point and the following point. You can also add a point, add mid point(s) - which will attempt to add a point before and after the selected point, and update the platform.

For bezier curves, you can use the handles provided to get the desired shape.

1352735--66739--$p6.PNG

Then just hit Update Platform.

Vertex count is depended on the amount of points added and the smoothness of the bezier curve (I didn’t get a pic in with the smoothness textfield. It would be shown when the Bezier checkbox is checked). A higher smoothness will result in a smoother curve, but will generate a higher vertex count. This pic shows a smoothness of 20.

This pic shows the curve with a smoothness of 5.

A nice finished pic with some different materials :slight_smile:

Any thoughts, suggestions, must haves, or nice to haves?

Thanks! :smile:

Josh

Thats cool, let me know if you want to try it out with my 2D platform controller.

  • John A

Now kiss!

(pls do this)

Hey John, I tried both of your demos and wow! That’s a pretty nice platform controller! I know that eventually I’ll have to make a demo of my own. It would be sweet if I were able to use yours to make sure everything plays nice and, if you’re interested, to possibly use it in a demo, clearly stating your work and providing your asset store link of course! Once I get the first iteration up on the asset store I will gladly do the same and get you a copy of mine. The platform gen needs a little bit more work, but I believe jaybennett is right - our two tools are like the yin and yang of a side scrolling platformer. :slight_smile:

Great work Josh. Also JonnyA is a good monster dev;)

Thanks pixelsteam! :smile:

And yes, from what I’ve seen so far, JohnnyA appears to be quite the dev :wink:

Just finished support for bezier curves!

Have to do some optimization and then I’ll showcase it! :slight_smile: