No announcement yet.

Runtime level creation using masked scattering.

  • Filter
  • Time
  • Show
Clear All
new posts

    Runtime level creation using masked scattering.

    Hey, guys. This is thread about a strange feature which was born while I was working on my VR Mage Sim)

    How many ways to create a runtime level you know? Well, terrain is not a problem at all. What about meshes? We can't use the built-in procedural foliage system because it's not working in runtime. We can improve random foliage_BP from BlueprintExamples and spawn it with particular methods, but I've been thinking about the simplest system.

    How designers usually distribute a lot of objects e.g. in 3Dmax? They use scattering, so I've created the same system (at least the basic part )

    This is level blueprint which you want to open:
    Click image for larger version

Name:	2017-05-15_21-03-17.png
Views:	1
Size:	101.8 KB
ID:	1220270

    And this is how the magic works:
    Click image for larger version

Name:	2017-05-15_21-04-01.png
Views:	1
Size:	101.0 KB
ID:	1220271

    You can mix different masks (100*100 for my ancient computer is more than enough) and your meshes will be allocated randomly according to the result.
    Click image for larger version

Name:	2017-04-15_02-48-28.png
Views:	2
Size:	146.5 KB
ID:	1220272

    To create a brand new level all we need is draw a few masks and set parameters)
    Last edited by Two-faced; 05-15-2017, 12:50 PM.
    Available for contract hiring! Complex mechanics, quick game prototyping, VR, AI, Animation, Tools for designers.

    Check out my latest game! Last Joy - 2D RPG with unique combat system.