Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are some Common 3D Game Patterns?

What are some of the more common design patterns used when developing 3D games? Are there any high-level architectural design patterns that are commonly used? What about general software patterns within the architecture?

like image 952
Hooray Im Helping Avatar asked May 14 '09 22:05

Hooray Im Helping


People also ask

Is 3D game design hard?

Although being a 3D video game designer may sound like a dream come true, it is a hard job to accomplish.

Is Javascript good for 3D games?

js is one of the most popular 3D game engines used by developers. As with any other 3D library, it provides built-in functions to help you implement common 3D functionality more quickly. See the Building up a basic demo with Babylon.

What are design patterns in programming?

In software engineering, a design pattern is a general repeatable solution to a commonly occurring problem in software design. A design pattern isn't a finished design that can be transformed directly into code. It is a description or template for how to solve a problem that can be used in many different situations.


1 Answers

  • Composite for doing everything per update step (eg. rendering) (And indeed common amongst all UI libraries).
  • Flyweight for drawing many of the same item type on the screen (trees/bushes/bullets)
  • Observer for a lot of UI libraries (again, not game specific)
  • State for transitioning between game/menu/console/pause/etc. states
  • Abstract factory in some beat-em-up type of games for creating mobs/NPCs (the games with ridiculous amounts of AI characters at a time - ie. Left 4 Dead).
  • Strategy for the swapping heuristics in path finding algorithms like A*
  • edit> Command for games like MMO's that have an actionbar with interchangeable buttons that you can click to cast spells and whatnot.

That's all that I can think of seeing right now.

like image 131
Steven Evers Avatar answered Nov 16 '22 02:11

Steven Evers