Die Präsentation wird geladen. Bitte warten

Die Präsentation wird geladen. Bitte warten

Gameplay Systems I Softwaretechnologie II (Teil 2): Simulation und 3D Programmierung SS 2012 Prof. Dr. phil. Manfred Thaller Referent: Christian Weitz.

Ähnliche Präsentationen


Präsentation zum Thema: "Gameplay Systems I Softwaretechnologie II (Teil 2): Simulation und 3D Programmierung SS 2012 Prof. Dr. phil. Manfred Thaller Referent: Christian Weitz."—  Präsentation transkript:

1 Gameplay Systems I Softwaretechnologie II (Teil 2): Simulation und 3D Programmierung SS 2012 Prof. Dr. phil. Manfred Thaller Referent: Christian Weitz

2 Aufbau der Spielwelt Elemente statisch/dynamisch Chunks Level, Map, Stage, Area, … High-Level Flow 2

3 Game Objects Objektorientierter Ansatz Game Object Model Menge von Klassen, Methoden und Beziehungen Tool-Side Design vs. Runtime Design 3

4 Data-Driven Game Engines ~Antonym zu hardcoded Games Spielverhalten durch Daten von Künstlern und Designern bestimmt 4

5 Game World Editor Bildnachweis: http://thatgamedesignstudent.wordpress.com/2009/02/04/warcraft-iii-world-editor/ 5

6 Game World Editor Chunks erstellen & verändern Visualisieren Navigation Selektion Layers Property Grid Object Placement & Alignment Aids Special Object Types Laden/Speichern Rapid Iteration Integrated Asset Management Tools 6

7 Gameplay Foundation Systems Runtime game object model Streaming game worlds Updating game objects in real time Messaging / event handling Scripting High-level game flow management 7

8 Runtime game object model Dynamically spawning/destroying objects Linkage to low-level engine systems Real-time object behaviour simulation Define new object types Unique object Ids Game object queries Game object references Finite state machine support Network replication Saving / loading games / object persistence 8

9 Runtime Object Model Architectures Object-centric vs. property-centric 9

10 Object-Centric Architectures 10

11 Object-Centric Architectures Probleme: Verstehen, Verwalten und Modifizieren von Klassen Multidimensionale Beziehungen Bubble-Up Effect 11

12 Object-Centric Architectures Mix-in Classes 12

13 Object-Centric Architectures: Composition is-a has-a 13

14 Object-Centric Architectures: Composition 14

15 Property-Centric Architectures Object-CentricProperty-Centric Object1 Position = (0, 3, 15) Orientation = (0, 43, 0) Position Object1 = (0, 3, 15) Object2 = (-12, 0, 8) Object2 Position = (-12, 0, 8) Health = 15 Orientation Object1 = (0, 43, 0) Object3 = (0, -87, 10) Object3 Orientation = (0, -87, 10) Health Object2 = 15 15

16 Property-Centric Architectures +Bessere Speichernutzung +Cache-freundlich struct of arrays Unübersichtlich Komplexes Verhalten schwieriger umzusetzen 16

17 World Chunk Data Formats Binary Object Images Serialized Game Object Descriptions Spawners and Type Schemas 17

18 Loading & Streaming Game Worlds Simple Level Loading Air Locks Game World Streaming Spawning Objects Saved Games 18

19 Vielen Dank! 19


Herunterladen ppt "Gameplay Systems I Softwaretechnologie II (Teil 2): Simulation und 3D Programmierung SS 2012 Prof. Dr. phil. Manfred Thaller Referent: Christian Weitz."

Ähnliche Präsentationen


Google-Anzeigen