Cloud Generation - First Prototype!!


Please comment if you wish to discuss any of the ideas for this and future prototypes!

Today I’m releasing my first prototype. This one is all about getting the initial concept for cloud generation working. As part of these blog posts I want to give an insight into the game creation process. Here is a little dive into the scripts and ideas behind this first prototype.

I needed two scripts: a cloud creation script and a wind generation script.

Cloud Generation:

To generate clouds I created a rectangular area to spawn the clouds within. I then made a cloud prefab object to get instantiated. Then I just got the dimensions of the rectangle and its position and generated the clouds. I made the number of clouds generated a public variable so it could be edited on the fly in the editor.

Wind Generation:

To create wind I grabbed the colliders of all the clouds I just created and added force to them. I gave each of the clouds different masses but applied the same force to all of them. This is in the hope of simulating actual wind that will be pushing clouds of different sizes and densities.

Cloud Generation in Action!

Files

9-3-2020-CloudGeneration-Windows.zip 18 MB
Sep 04, 2020
9-3-2020-CloudGeneration-WebGL.zip Play in browser
Sep 04, 2020

Get Memories in the Clouds

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.