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.

SFD world size.

Share questions and tutorials related to the map editor. Share you maps in the Superfighters Deluxe Custom Maps section.
Forum rules
By using the forum you agree to the following rules.
Post Reply
User avatar
Astolfo
Meatbag
Posts: 3
Joined: Tue Jan 21, 2020 9:00 pm
Started SFD: I forgot
Gender:

SFD world size.

Post by Astolfo » Sun Jan 10, 2021 12:01 am

How large can be world in SFD?
0 x
Hello world

User avatar
Shock
Superfighter
Superfighter
Posts: 300
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: 21
Contact:

Post by Shock » Sun Jan 10, 2021 9:42 am

Astolfo wrote:
Sun Jan 10, 2021 12:01 am
How large can be world in SFD?
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.

User avatar
Odex64
Superfighter
Superfighter
Posts: 119
Joined: Sat Jul 29, 2017 12:39 pm
Title: Content Creator
SFD Account: Odex64
Started SFD: PreAlpha
Location: Italy
Gender:
Age: 18

Post by Odex64 » Sun Jan 10, 2021 4:22 pm

Astolfo wrote:
Sun Jan 10, 2021 12:01 am
How large can be world in SFD?
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).
0 x
Image

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1868
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 30

Post by Gurt » Thu Jan 14, 2021 5:34 pm

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

Post Reply