Tribski
  • Member for 5 years, 11 months
  • Last seen more than a month ago
Is there a way to read a picture pixel by pixel in unity without any distortions
Accepted answer
1 votes

Welp. It appears to have been a codding error. In the above code: for (int j = 0; j < width; j++) { // if it's transparent or white - ignore if (pixels [carriage].a == 0 || pixels [...

View answer
Creating 2d array in gamemaker from code
Accepted answer
0 votes

The answer is- don't initialize the array, just access it. It will dynamically create 2d array. So to initialize 2d array to 0s, do for(var i = 0; i < global.MAX_HEIGHT; i++){ for(var j = 0; j &...

View answer
Wrong object is being detected on OnMouseUpAsButton
Accepted answer
0 votes

Well I found an answer that seems to work- even though it is a 2d project set Z transform position of the object to -1. It's a hack but it works

View answer