Hi! I’m new developer and I’ve been developing a space game which use massive xyz coordinate in the game world space, for example:
I spawn massive planet 2048x2048x2048 with mesh scale up to 35 in position 100000,0,100000
Feature that will implemented in the game:
Massive space station up to 1000 in size
Space ship
Capital ship up to 2000 in size
Pirate NPC
Friendly NPC
Pirate vs Friendly NPC War event
NPC Faction war event
Hyperlane system
and others
So far, there is no problem because it only has 1 planet and 2 small NPCs, but if this continues with many different planet scale and position more than 100000 in x,y,z coordinate also many NPCs, how can this affect my game?
What thing should I consider so that my game can have high performance?
Seems as your game is very large! a game engine like roblox isn’t used to handling stuff like this, you also seem very ambitious towards your project, while you are a new developer. Do you have any work done? or is all this just a idea, youll need a custom renderer, also keep planets small and consise, make a gravity module and script for the planets. You don’t want people slipping off! This overall seems like a very difficult feet, and most experienced developers could not do this.
Take for example star citizen, The game has been in dev for 12 years and it barely runs on the highest tech computers because of its massive open world.
Yes I’m new and very ambitious haha, I don’t have many experience on roblox scripting but I have programming experience in other area, so maybe that will help me understanding roblox better, wether its developing an app or a game I always consider the performance. I forgot to mention, the planets are for decoration only consist of 1 part, I wont make it like “real” planet and of course I will using few parts as possible to minimize lag but what I concern is, I’ve read somewhere that the far you go from 0,0,0 coordinate, the less performance you have, is it true? I positioned my planet far from 0,0,0 to simulate warp jump from planet to planet, if it is true, it is problem for me. I still need to have more knowledge about the engine limit. By the way thank you for the feedback
Why? will there be performance issue? any alternative besides teleporting players to another server? I just don’t want to ruin players’ experience by teleporting them to other servers
There would obviously be performance issues, roblox isn’t made to handle a game of this size, Not to mention you don’t have any experience scripting or developing on this platform, for right now. i’d focus on smaller projects.