2d arrays

  1. S

    Resolved How to access an element from a non-sequential 2D array

    Hi All, This may sound stupid to you, as I'm a casual programmer. I have a two-dimensional array of values. Where rows are angles in decimal degrees, increments can be by 1 degree, 5 degrees even 10. Columns are also organized similar manner. I know how to access a generic two-dimensional...
  2. P

    XNA 2D Array help

    I'm trying to figure out how to add each "block" to a 2D array which I can then access and change the corresponding bool value to true or false as needed. Basically what this is meant to do is create an initial grid of white squares using one sprite and then as I click on each tile/square it...
Back
Top Bottom