Skip to content
/ pcg Public

Procedural Content Generation for Games project in Unity using C#.

Notifications You must be signed in to change notification settings

jhhuang7/pcg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

A Procedural Content Generation for Games project in Unity with code written in C#. The project showcases the following techniques in PCG:

  • GameObject creation from Primitives.
  • Basic script writing to control behaviour of GameObjects.
  • Grid layout city generation with streets and buildings.
  • Bird flocking techniques inspired from Craig Reynolds’ work, with applications of Loop Subdivision in creating birds.

Running Project

  • Clone the project.
  • Open the project in Unity, using the 2018.4.14f1 Editor.
  • Once everything is loaded, click the ‘Play’ button.
  • A SampleScene should be displayed showing various birds flocking inside a boxed city of streets and buildings.
  • Press Space Bar in Game Mode to randomly scatter the flocking birds.
  • Change the public variables to vary and experiement with behaviour.

About

Procedural Content Generation for Games project in Unity using C#.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages