Closed tibaudlemaout closed 1 month ago
So, just to make sure we agree on what this Sprite
component will only be used on the client-side ?
The server should only send to the client information about entities like type or category, and it is up to the client to deduce from that what each entity will look like on screen. So the Sprite
entity will only be the client internally.
We believe this component will be of no use since a component must be able to transfer its data via network and we cant really transfer a sf::sprite via network. However we need to think of another way to send the sprite data like texture.
-Sprite component is created using a single ID, this ID is used to assign a texture path for created sprite -Utilities function such as: