Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. (XNA!!!) Have Several Sprites of the Same Image, With Different Properties [modified]

(XNA!!!) Have Several Sprites of the Same Image, With Different Properties [modified]

Scheduled Pinned Locked Moved C#
helpgame-devdata-structureslounge
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MasterSharp
    wrote on last edited by
    #1

    Hi. I have a problem in XNA; it's that I want to have several sprites of the same thing, except place them in different places while keeping the 'physics' they all have. Can anyone give me a general idea of how I might do this. (Please try not to be too technical, unless it's needed!) If it helps anyone understand better, I'm making a border around the edge of the form with the boxes, but then I also want to draw 5 more inside various places. Please help, thanks! +I tried making the Texture2D into an Array and in the Load method, making a for loop to load a certain amount, but that doesn't work. That was my idea... Partly... Help is still appreciated. +Actually, I'vr got the hang of it. Stupid mistake... But any more info would still be liked. Thanks, kind of.

    - I love D-flat!

    modified on Tuesday, January 22, 2008 6:01:45 PM

    M 1 Reply Last reply
    0
    • M MasterSharp

      Hi. I have a problem in XNA; it's that I want to have several sprites of the same thing, except place them in different places while keeping the 'physics' they all have. Can anyone give me a general idea of how I might do this. (Please try not to be too technical, unless it's needed!) If it helps anyone understand better, I'm making a border around the edge of the form with the boxes, but then I also want to draw 5 more inside various places. Please help, thanks! +I tried making the Texture2D into an Array and in the Load method, making a for loop to load a certain amount, but that doesn't work. That was my idea... Partly... Help is still appreciated. +Actually, I'vr got the hang of it. Stupid mistake... But any more info would still be liked. Thanks, kind of.

      - I love D-flat!

      modified on Tuesday, January 22, 2008 6:01:45 PM

      M Offline
      M Offline
      MarkB777
      wrote on last edited by
      #2

      Glad to hear you figured it out. In future it would be better if you posted your XNA related questions here. You will get much quicker and better answers - mainly because the guys/girls who wrote the XNA framework maintain, and actively contribute to the forum. Cheers, Mark.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups