Hi there,
I'm using an array to generate a map for my game and there's something I can't figure out how to do - simply, at least. My array is 150 cells (X) by 114 (Y), and at the start of my layout, I want to set all cells where X < 25, Y < 19, X > 125 and Y > 95 to 4.
4 is the reference number I'm using for a 'rock' tile, so hopefully this will generate an enclosed play area with rock tiles all around the edges. Feel like it should be quite simple to do, but I've been playing around with various expressions and I can't seem to figure out how - could anyone please help?