yvt / openspades

Compatible client of Ace of Spades 0.75
http://openspades.yvt.jp/
GNU General Public License v3.0
1.13k stars 218 forks source link

Suggestion: Dynamic sun position #622

Open aosfan opened 7 years ago

aosfan commented 7 years ago

It would be great if there is a possibility to add dynamic or at least changeable sun position. Imagine: battle on a sunset, with long shadows, or even at night, with tracers through dark fog and flashlights.

NotAFile commented 7 years ago

Hi! Thanks for submitting.

OpenSpades is just a client, and it needs to work with existing servers. What you suggest would probably require adding new packets, which can not be done while remaining compatible with AoS.

To add new packets, both the server and the client must be able to understand them. If you want this to be implemented, you will need to open an additional issue at https://github.com/piqueserver/piqueserver where we are working on a new version of the protocol.

roboman2444 commented 7 years ago

A lot of the way that the block shadows are done would have to be changed if the sun angle wasn't a multiple of 45* along a single axis.

The current way is pretty nice, fast, and crisp, but it requires the sun to be at specific angles.

ghost commented 7 years ago

@NotAFile it isnt really necessary to have the server to manipulate the sun right? you could make a cycle which places the sun and the rays in a circls around the map with a delay and linear interpolation to not make it look really buggy

NotAFile commented 7 years ago

Well, that would mean a different "time" for everyone on the server. That means some people might gain more information through shadows than others.

ghost commented 7 years ago

@NotAFile probably, but we could make the shadows less visible. if a player focuses on a shadow it will kinda fade and blur so it doesnt snitch on the position of the players

NotAFile commented 7 years ago

@tapmemer we're talking a lot of effort now. @yvt only occasionally works on this project and this would afaict require a complete rewrite of the block shadows code. So unless active work starts on OS again, I think this is very far off.