Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8243597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:34:27+00:00 2026-06-07T21:34:27+00:00

New to XNA. Would love to hear your input in how to set up

  • 0

New to XNA. Would love to hear your input in how to set up my clases for my Domino game. So far, I have a “BonesSprite” class which has fields like first value, second value, orientation, position etc. I have code on the LoadContent method which creates a List for each bone as shown in the code below.

    Background = Game.Content.Load<Texture2D>(@"Images\Wood"); 

//Load several different automated sprites into the list 
fichasList.Add(new Ficha(Game.Content.Load<Texture2D>(@"Images/46"), 
      10, Vector2.Zero, new Vector2(150, 150), 0, 0, true, true)); 

This is what i have so far: http://i129.photobucket.com/albums/p239/itsshortforleo/Untitled-1copy.jpg

I still can’t come up with:

  1. How to deal 7 bones to each player (I have an empty Player class that i don’t know how to fill yet)
  2. How to place the 7 bonesprites on the board so that only player 1 can see his bones and not the other players’
  3. How to click on one bone to play it on the board on the exact position right next to the other bone and in the correct orientation
  4. How can I highlight a bone when i have the mouse over it

The game seemed so simple to me until I started designing the classes. Appreciate your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T21:34:29+00:00Added an answer on June 7, 2026 at 9:34 pm

    Just a few ideas for your consideration:

    You can deal with (1) and (2) simply. Make a Player and Bone class. Add to the Bone a field “owner” so that you can assign a Player to it. You did not write whether it is going to be turn-based “hot seats” or network game, nevertheless you’ll get the correct bones to display just by checking their correcponding “owners” in a loop.
    These are basics of the object oriented programming, I suggest you to read more about these concepts before starting a game. It won’t take much time but it will make your life easier.

    (4) First think how to get a correct bone recognized when clicking.

    As others suggested you should also split your questions, (1) and (2) can go together, others not.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to XNA game development and I have just started to write a
Okay so I have this game I'm working on, I'm new to XNA (I'm
I am new to C# and XNA. Have just managed to write a class
I am new to XNA, and I am creating a simple game. Sorry that
I would like to develop a game for windows 8, but since Xna isn't
I am working on a custom button class for my XNA game. Consequently I
I'm making a game for my final project in an XNA class I'm taking,
I'm developing a 2D overhead shooter game using C# and XNA. I have a
I'm quite new in XNA C# and I would like to know how do
I'm making a game in XNA, but since I have people with different operating

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.