Image stays blank after setting pixels

Rainbros

  • Posts: 175
I haven't really worked with images before. Why do I still have a totally white screen after running this code?

chrizt

  • Posts: 345
i think because you set instance before you do batch draw, try to move set instance after the draw command
need help with behavior? game design? graphic design? just contact me
skype : christian.atin
email : christianatin27@gmail.com

Rainbros

  • Posts: 175
Thanks, but that didn't change anything.

chrizt

  • Posts: 345
i wasnt sure either, i havent try to use batch draw yet
need help with behavior? game design? graphic design? just contact me
skype : christian.atin
email : christianatin27@gmail.com

LIBERADO

  • *
  • Posts: 2718
You can't draw pixels on transparent image areas. It is a bug.
I have reported it in the Issue Tracker: http://community.stencyl.com/index.php?issue=538.0
I think the block to draw individual pixels needs an additional field to set the opacity.

« Last Edit: September 13, 2016, 07:46:53 pm by LIBERADO »
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.