DIV icon indicating copy to clipboard operation
DIV copied to clipboard

new_map() no respeta el color de fondo seleccionado

Open vii1 opened this issue 5 years ago • 1 comments

Si se crean varios mapas con new_map() indicando distintos colores de fondo, se crean todos con el color de fondo del primero.

vii1 avatar Feb 01 '20 17:02 vii1

He probado con este programa y me funciona bien ¿tienes un PRG de ejemplo para reproducir este error?

program new_map_issue;
private
  int i;
  int maps[10];
begin
  for (i = 0; i < 10; i++)
    dancing_block(i * 32, i, new_map(32, 32, 0, 0, i));
  end

  loop
    frame;
  end
end

process dancing_block(x, i, graph)
begin
  loop
    y = 100 + (sin(timer[0] * 1000 + i * 30000) * 50) / 1000;
    frame;
  end
end

AzazelN28 avatar Mar 09 '22 21:03 AzazelN28