07th-mod / 07th-mod/higurashi-assembly
Slight black border on left and right hand sides of the screen
- Linguagem predominante
- C#
- Estrelas
- 12
- Forks
- 12
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Our mod has always had these 1-2 pixel borders on the left and right hand sides of the screen. Normally it's hard to see because it's black, but in certain cases, like a black image which is meant to cover a CG, it can result in the CG showing where the borders would be. Users usually report this happening on Onikakushi as it's the first time they see the graphical glitch.
The unmodded game does not have this issue.
@tellowkrinkle suggested it was a rounding issue, I'll look into that first when I (eventually) have a look at the issue:
> Probably a rounding issue somewhere
> I bet we (int) things, and with floating point error it might go over or under the target, causing - 1 pixel vs not - 1 pixel
> Try setting the aspect ratio to 0.65251 or something and see if that fixes it
modded:

unmodded:

Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Procure por cálculos de proporção de tela ou coordenadas de tela na base de código, provavelmente na renderização ou configuração do viewport. O problema menciona um erro de arredondamento ao converter floats para ints; procure por casts ou truncamentos de inteiros no código gráfico. Teste com a proporção de tela sugerida 0,65251 para ver se as bordas pretas desaparecem e verifique comparando a renderização modificada com a original.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- csharp
- Domínio
- computer-graphics, game-dev
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100