The current ECS system lacks data definitions to support a "Portal" mechanic. Create the fundamental data structures for the new entity. This does not include rendering or physics logic, only data architecture.
Using existing generic components (like Wall), but this would make it difficult to distinguish between an obstacle that kills the snake and a portal that teleports it.
The current ECS system lacks data definitions to support a "Portal" mechanic. Create the fundamental data structures for the new entity. This does not include rendering or physics logic, only data architecture.
Using existing generic components (like Wall), but this would make it difficult to distinguish between an obstacle that kills the snake and a portal that teleports it.