An alternative suggestion for the 'hard map edge' issue

An alternative suggestion for the 'hard map edge' issue

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

An alternative suggestion for the 'hard map edge' issue

Post by Guessmyname »

Could we just fade the map edges? It would look a bit less harsh, though we'd probably still need the 'map margin' thing to avoid the issue of units driving over the fading parts.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: An alternative suggestion for the 'hard map edge' issue

Post by Tobi »

The 'map margin' thing is actually the hardest part of the feature; the rest is quite trivial: addition of some variables to map's .smd to specify playable area, add some LUA callouts so map/mod gadgets can change map borders and that's it.

Adding the margin however is where the real work is because all engine code now assumes playable area extends from 0,0 to width,height. It's not too hard to search for width and height and decide in each case whether it should be map width/height or game area width/height, but searching for all 0s and possibly replacing them with game area position is a lot more work :P
Post Reply

Return to “Feature Requests”