Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the rules.
SFD world size.
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
- Shock
- Superfighter
- Posts: 312
- Joined: Sun Mar 20, 2016 7:17 am
- Title: Content-maker
- SFD Account: Shock
- Started SFD: Pre-Alpha 1.2.0.
- Location: Belarus
- Gender:
- Age: 25
- Contact:
I think this can be really large, but too much details can ruin it, i have many RP-sized maps, they look like cities
0 x
-Content-maker.
- Odex64
- Superfighter
- Posts: 173
- Joined: Sat Jul 29, 2017 12:39 pm
- Title: Content Creator
- SFD Account: Odex64
- Started SFD: PreAlpha
- Location: Italy
- Gender:
- Age: 22
That's a good question.. at first I'd say they're infinite since there's not a real "limit" to make maps, but the Vector2(used to calculate the world position) takes two Float as parameter. Floats' max value is: 3.402823E+38 (around 340282347000000000000000000000000000000), so that means the farthest tile can be placed 42535293375000000000000000000000000000 blocks away from the center of the map (8x grid); I'm not sure tho, since the world size itself may be a different type (such as a double).
1 x
- Gurt
- Lead Programmer
- Posts: 1885
- Joined: Sun Feb 28, 2016 3:22 pm
- Title: Lead programmer
- Started SFD: Made it!
- Location: Sweden
- Gender:
- Age: 34
Of course there's a practical limit on how big a world can be without consequences like fps drops. Try to limit it to about what our campaigns are in size and number of tiles. Go bigger if your computer allowes it.
0 x
Gurt
- Gurt
- Lead Programmer
- Posts: 1885
- Joined: Sun Feb 28, 2016 3:22 pm
- Title: Lead programmer
- Started SFD: Made it!
- Location: Sweden
- Gender:
- Age: 34
You will probably reach a lot of other practical problems and other out-of-memory exceptions before you reach the limit of (I think) 2 GB file-size for maps in SFD. But you wouldn't want such big files anyway.
2 x
Gurt