Game Development Reference
In-Depth Information
Fig 1.4 Three iterations of Barnsley's
fern leaf transformations after (a) 2
iterations, (b) 5 iterations, and (c) 10
Programming code can access the assets in a game during run time. It can
manipulate an asset based on player input. For example, placing a large hole
in a wall after the player has blown it up is achieved with programming code.
This can only be calculated at the time the player interacts with the game, as
beforehand a programmer would have no idea where the player would be
standing or in what direction he would shoot. The game Fracture by Day 1
Studios features dynamic ground terrains that lift up beneath objects when
shot with a special weapon.
For Research
Procedural Generation in Unity
The Unity Web site has a project with numerous procedural generation
demonstrations. At this point in your game development learning
journey, you may not be able to understand the underlying code, but
the examples will show you what is possible and the types of things
you will be able to achieve by the end of this topic. The Unity project
can be downloaded from .
A purpose-built programming language for creating art is Processing .
The syntax of the code is not unlike JavaScript and contains all the
fundamental programming concepts you will learn about in Section 1.4 .
The image in Figure 1.5 was created with Processing by randomly
plotting circles and drawing a series of curves from a central location to
each circle. Art created by Casey Reas, shown in Figure 1.6 , created with
Processing has been displayed at Gallery [DAM] Berlin.
Search Nedrilad ::

Custom Search