Closed foqc closed 6 months ago
I cannot reproduce the problem you report. I think you have some fundamental misunderstanding about what is going on.
A
.I did not explain well the issue. So I left here a video to better understanding. My solution only change the position of bullet to not overlap whit player. I mentioned about pixels, but it was only to refer to the dimension unit of frame. issue001.webm
How large is your terminal window? Are you certain it is large enough?
I cannot reproduce the problem you are experiencing. I wonder if it is a side-effect of using a terminal window that is too small?
The problem was because the size of my terminal. So this fix it's no necessary. thank you!
When shooting, the bullet is displayed instead of the player, erasing the player's position in the frame, to fix this character height is calculated to avoid to print the shot over player's position.