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

Image.drawMap doesn't render the updated map buffer #206

Closed
pmgl opened this issue Oct 6, 2023 · 0 comments
Closed

Image.drawMap doesn't render the updated map buffer #206

pmgl opened this issue Oct 6, 2023 · 0 comments

Comments

@pmgl
Copy link
Owner

pmgl commented Oct 6, 2023

init = function()
  viewport = new Image(100,100,true)
end

update = function()
 
end

draw = function()
  screen.clear("#222")
  
  viewport.clear("#371")
  viewport.drawText("TEST",0,45,12,"#fff")
  // screen.drawMap("map1",0,0,240,160)     // this shouldn't be here !!!
  viewport.drawMap("map1",0,0,240,160)    // map doesn't render

  screen.drawImage(viewport,0,0,100,100)
end
@pmgl pmgl closed this as completed in e329142 Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant