Results 1 to 6 of 6

Thread: [Sort of Resolved] Picture Splitting

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2005
    Posts
    540

    [Sort of Resolved] Picture Splitting

    Say if i wanted to split a picture up into an array, every 32x32 pixels is a index of the array.

    So like i could say i want index 1 to go here... then index 2 to go here and so on. I have no idea how to do this and no idea where to start.

    For an assignment i have to create a basic 2D game and i decided that this would be the best way to do so (since loading an array of picture boxes uses up alot of memory). If there is a better way then please tell me.

    I need to have mouse control (so the mouse knows which square in the map it's clicking on, not tile from the picture file).
    The ability to have the map move (so you can explore)
    Keyboard inputs.

    The rest i will figure out myself, but if you generous you will tell me them .

    I really only can't figure out how to split the pictures up!

    Thanks.
    Last edited by Slyke; Jun 25th, 2006 at 06:58 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width