Powered by Create your own unique website with customizable templates.
CREVIS
  • Home
  • Devblog
  • Apply
  • About
  • Download
ALEC'S

Developer Blog

Random Generation

7/11/2017

0 Comments

 
Hello everyone!

Instead of boring myself with the save and load chunk functions, I focused on procedural generation! A seed is selected in the beginning of the game, and it can be used to reproduce generation. Let's talk about how I plan for the generation to work, and what I have completed so far.

The generation will be done by creating a set of random points within the chunk (figure 1). These points will then be connected by a formula (figure 2). I am currently using the line formula to interpolate the points, but in the future ease curve functions will be used (figure 3).

​
Picture
fig 1.
As you can see in figure 1, 5 points have been generated. The first point generates roughly around sea level, while the other points rise above it. This can be set within the biome properties. The next few pics will show how these points can transform into beautiful procedural terrain.
Picture
Picture
Picture
Lastly, here's are the ease curves I was talking about (smoother interpolation between the initial random points).
Picture
This all may seem well and done when I write it and all, and I know that actions speak louder than words and that I tend to speak a lot about what I have planned. Here's a screenshot of it in action... the only thing I have done right now is the random point generation (still getting familiar with manipulating the grid).
Picture
Until next time!
0 Comments



Leave a Reply.

    Task

    February's task is to improve the combat system and create a system for enemies and their AI.

    RSS Feed

    Author

    The author of the blog is Alec. He posts weekly, usually on the weekends on Saturday.

    Categories

    All
    Crevis
    Life
    Nesus
    Website

    Archives

    March 2020
    February 2020
    July 2019
    March 2019
    February 2019
    October 2018
    December 2017
    October 2017
    August 2017
    July 2017
    May 2017
    April 2017
    March 2017
    February 2017
    January 2017
    December 2016
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016

Powered by Create your own unique website with customizable templates.
  • Home
  • Devblog
  • Apply
  • About
  • Download