1 of 21

WORLD GEN�PART 1

Brought to you by Cupertino GDC

2 of 21

TABLE OF CONTENTS

01

02

03

04

WORLD GEN?

High level overview

OTHER WAYS

The harder better option

USING NOISE

The overused option

IMPLEMENTING

Implementation wouldn’t fit :(

3 of 21

ABOUT THE LESSON

Go over the various strategies to make procedural world generation and implement

a noise-based approach

4 of 21

WORLD GEN?

01

minecraft clone time :)

5 of 21

CRAZY FACT:

Minecraft uses world generation

:OOOOOOOO

Analyze this image ->

6 of 21

TYPES OF NOISE

7 of 21

OMG ITS KEN PERLIN THE GUY WHO INVENTED PERLIN NOISE

Take a moment to admire this picture.

8 of 21

USING NOISE

02

what most sane people do

9 of 21

Step 1: A noise image with random texture is generated

10 of 21

Step 2: The noise is sampled to form this line

11 of 21

Step 3: Tiles are placed along this line to form the terrain

12 of 21

Another example output

13 of 21

OTHER METHODS

03

only if ur slightly insane

14 of 21

IMPLEMENTING

04

heavy code warning !!!

15 of 21

Attach a script to your Ground TileMapLayer

16 of 21

Add some code to your ground script

17 of 21

1

2

3

18 of 21

Add a FastNoiseLite to your custom Noise field

19 of 21

Set any Seed value and press Regenerate to create a world

20 of 21

BONUS TASK

Research a bit about the interesting methods used to generate perlin / simplex noise

its not

i swear

21 of 21

UPCOMING PROJECTS

Basic 2D platformer to teach the basics of nodes and movement.

OCTOBER 2024

2025?

Lorem ipsum odor amet, consectetuer adipiscing elit

2024?

Lorem ipsum odor amet, consectetuer adipiscing elit

PLATFORMER

+SURVIVAL?

+COMBAT?