Hi guys,
I want each player to have their own private room that they can enter anytime.
Players will arrange the positions of the npcs in their rooms to get different effects, kind of like designing circuitry, and therefore the rooms have to be different from one to another.
To achieve this, the only way I can think of is to create instances. So when a player enters their room, an instance is created, when they leave, the instance is deleted, the "circuit" is stored in a couple variables.
But I am worrying about memory cost of the instances and the processing power it takes to create/delete instances. Do they take a lot of resources?
Question
prprRO
Hi guys,
I want each player to have their own private room that they can enter anytime.
Players will arrange the positions of the npcs in their rooms to get different effects, kind of like designing circuitry, and therefore the rooms have to be different from one to another.
To achieve this, the only way I can think of is to create instances. So when a player enters their room, an instance is created, when they leave, the instance is deleted, the "circuit" is stored in a couple variables.
But I am worrying about memory cost of the instances and the processing power it takes to create/delete instances. Do they take a lot of resources?
Does anyone know a better way to do this?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.