Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UX] bug: viewing real time piece positions while spectating #77

Closed
kb1900 opened this issue Mar 27, 2017 · 3 comments
Closed

[UX] bug: viewing real time piece positions while spectating #77

kb1900 opened this issue Mar 27, 2017 · 3 comments

Comments

@kb1900
Copy link

kb1900 commented Mar 27, 2017

currently the game has very poor viewing enjoyment as we can not see in real time how players manipulate there pieces. instead we get a frame-by-frame type of viewing experience where we see their field after each line clear or a few line clears. in cultris 2, we can view softdropping etc. in "real time"

@kroyee has informed me this is a bug and not a missing feature

@kb1900 kb1900 changed the title [UX] feature: viewing real time piece positions while spectate [UX] feature: viewing real time piece positions while spectating Mar 27, 2017
@kb1900 kb1900 changed the title [UX] feature: viewing real time piece positions while spectating [UX] bug: viewing real time piece positions while spectating Mar 27, 2017
@kroyee
Copy link
Owner

kroyee commented Mar 28, 2017

So just to clarify here...
You can see pieces that opponents have placed, but it only updates once in a while.
The piece that is "in the air" you cannot see at all. Not even when the field updates.

Is this correct?

@kb1900
Copy link
Author

kb1900 commented Mar 28, 2017

@kroyee correct

no ghost piece, no piece "in the air" even after the field updates

@kroyee
Copy link
Owner

kroyee commented Mar 28, 2017

Ok, I will make the best guess I can and include something that might help in the next commit.
If it does not work I'm going to have to wait to figure this out until I have a Mac next to me so I can try some different things that way.

The playfield and the piece in the air is sent in the same packet, so that excludes anything being wrong with the network traffic. The only thing I can think of is some sort of casting issue from sf::Uint8 to short, so I'm including some static_cast in the compressor class to see if that makes any difference.

If someone has a Mac with Xcode and is willing to run some testings that would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants