April 16, 2024 After teacher meeting

Discussing game engine idea together

Rough Diagram from Week 2

Rough Diagram from Week 2

Entity-Component Model

GameObject {
	Components: [],
	Transform: {
		loc
		rot
		scale
	},
	...
}

Publisher - Subscriber Pattern

IComponent (interface component) communicates through MessageBroker

MessageBroker - middleman that handles broadcasting (sends value to all subscribers of a topic)

Also a network version of an object NetworkComponent that contain network variables, which are what get serialized / turned into packets and sent across network

Client - Server Abstraction

Rough Diagram from Week 2

Rough Diagram from Week 2

Server

Main Thread

Network Thread

GameManager

NetMan

the how

Server (class/object)

the what

populates NetMan’s Queue