MovingBlocks

World Generation - Step 1: Make your own world generator

Terasology uses procedural generation to create its' expansive worlds, generating terrain and populating it with trees, caves, ores and even man-made cities. To start with however let's just do the terrain.

The terrain is the sloping hills and valleys every world generator has. Take a look at the inbuilt Perlin generator for an example. It also includes the blocks the world is made of. A desert will be sand and mountains stone.

Definition of 'Done'

  • Submit a PR with the new world generator to the AdditionalWorlds repository
  • Attached screenshots of the generated world in action.
  • Note that the landmass that you generate should not be flat - it's fine if you don't have mountains and valleys, but at least have some height variations

Where to start

  • The World Generation tutorial contains a detailed overview on working with world generation code, as well as a sample world generator - it is the resource you need to use to get started!
  • You will want to decide what type of world you would like to create and then pick the blocks and noise based on this. It could even be something like the top of an endless mountain range with snow everywhere and bottomless drops!
  • Some good examples include Poly World, Caves, Lakes and ShatteredPlanes

See also

Task tags

  • content
  • games
  • java
  • world generation
  • creative

Students who completed this task

Chris Howes, Jindřich Dítě, Steven Rachman, Suraj Datta, Rajat Patel, Tejas Prakash, Soundwave, Eric Paul, Max Borsch, eviltak, Alberto, Bradley Alfirevic, Jason Huang, Thomas O'Keeffe, Nicholas Bates, sohil khan, Chen Hanke (陈瀚可)

Task type

  • code Code
close

2017