hacktober-race icon indicating copy to clipboard operation
hacktober-race copied to clipboard

Racer icon renders on top of terminal

Open himankpathak opened this issue 4 years ago • 1 comments

Description

When multiple racers race in a single game, the icon of racers who joined last gets drawn on top of the terminal.

Possible Solution

We can fix this by showing the racer's own car on top of the screen. So on every screen, the order of cars will be different. But the racer's car will be at the top. Now when more number of players join the game, we can simply decrease the size of their race icons, to accommodate more players. We can also set a restricting number which restricts more than a certain number of people joining a single game.

Screenshot:

Screenshot from 2019-10-05 08-22-42

himankpathak avatar Oct 05 '19 03:10 himankpathak

Hey yeah this is definitely an issue somebody should tackle.

I think the best solution will be limiting the number of players in a single lobby (We haven't implemented this lobby system yet) — especially if there's going to be some kind of parallax scrolling for the player, we want the players to be reasonably large. (Background stuff in https://github.com/LukeGarrigan/hacktober-race/issues/20)

LukeGarrigan avatar Oct 05 '19 07:10 LukeGarrigan