Kromster80 / kam_remake

"KaM Remake" is an RTS game remake written in Delphi from scratch.
http://www.kamremake.com
GNU Affero General Public License v3.0
358 stars 90 forks source link

New feature: while spectating/watching replay add view from spectating player #189

Open reyandme opened 7 years ago

reyandme commented 7 years ago

This means show game as player see it (almost), mainly this means showing player cursor.

So with it unexperinced player can better understand what pro player do.

To make it possible we will need

First I'll try to make this feature for replay only. For spectators in MP game we will probably need to interpolate players cursor position for smooth movement, because GIC commands are sent every tick = 0.1 sec.

This feature is not easy to implement right now, lots of things have to be done/tried etc. And its very low priority. But anyway its always fun to watch how other players do, and also study game too. I always feel that it would be nice to see, when watching replays.

Kromster80 commented 7 years ago

Sounds good to me

lewinjh commented 7 years ago

I like this idea, sort of like a 1st person spectator mode. There's probably no need to save the resolution/window size if you save the viewport as a Rect of map positions. The problem would be different aspect ratios... so maybe fit it in one dimension then show a background image e.g. if the player viewing the replay has a wider screen than the recorded player.

Potential issues: