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

new_map() no respeta el color de fondo seleccionado #27

Open
vii1 opened this issue Feb 1, 2020 · 1 comment
Open

new_map() no respeta el color de fondo seleccionado #27

vii1 opened this issue Feb 1, 2020 · 1 comment
Labels
Milestone

Comments

@vii1
Copy link
Owner

vii1 commented Feb 1, 2020

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

@vii1 vii1 added the bug label Feb 1, 2020
@vii1 vii1 added this to the Versión 2.02 milestone Feb 1, 2020
@AzazelN28
Copy link
Collaborator

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

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

No branches or pull requests

2 participants