Game Development Reference
In-Depth Information
37.
Destroy(hole, holeLife);
38.
39.
//Report some data
40.
print (name + " took damage of " + hit.distance);
41.
}
42.}
Listing 52: A script to generate a hole at the position of the bullet hit
Search WWH ::




Custom Search