Jump to content
  • Advertisement

Mossen

Member
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

114 Neutral

About Mossen

  • Rank
    Member
  1. Mossen

    newbie need help

    So true +1
  2. Mossen

    Build a foundation

    Read your sentence again, only this time replace the word "games" with "rocketry", "astrophysics", or "engineering". If you wanted to do those things, would you be asking someone on the Internet to help you? Of course not. You know what to do. Go to your library, talk to a guidance counselor at school, study hard, get into a college, etc. Starting a career in games takes tremendous dedication, drive, talent, and a skill set that most people underestimate. No one but yourself can help you with such a general goal.
  3. You can get rid of the female option altogether and do the string compare more easily: String.Compare(strGender, "male", true); That ignores the case of the user input. The way you did it, it wouldn't work if they entered "MAle" or "femalE" I haven't compiled this but if you do something like below in your gender check loop, its a lot cleaner. if (String.Compare(strGender, "male", true) == 0) { Console.WriteLine("So you are a man?"); } else { Console.WriteLine("So you are a woman?"); } string strGenderYesNo = Console.ReadLine(); if (String.Compare(strGenderYesNo, "yes", true) == 0) { gender = true; } You'll have to add some error checking though, in case the user enters something weird. You can message me if you need more help.
  4. Mossen

    Is JVM needed to run every java program

    The short answer is, yes, in general, you need a JVM to run a program written in Java. But the bigger question is, if you are trying to generate an *.exe, why are you using Java?
  5. I agree with Serapth. I wouldn't recommend C++ either, and I use it professionally programming a commercial graphics SDK. C# is just a much better choice for beginners. As the OP learns programming and has a desire to go under the hood even further, then *that* is the time to open up C++. If the OP learns C#, not only will he be able to work on his game faster but he will have a skill in a language that is growing much faster than C++ in the general programming industry. Anyone who recommends C++/D3D over C#/XNA in the "For Beginners" forum to someone who is trying to build a game most likely doesn't know what they are talking about. Especially if the person asking for advice has little or no programming experience.
  6. Mossen

    Please help me

    Vocational school won't teach you everything you need to know to write a 3D MMO, but it will kick start you into learning a language, and also you can learn the math there (don't neglect the math, it is essential!). If I were you I'd look at an overview of a few languages and pick one that sounds most interesting. The goal at this point is to introduce yourself to how computer languages work in general, not necessarily learn the language you will use to write a 3D game. After you've got the basics down, learning additional languages is a lot easier. Just be aware that starting from where you are, writing a 3D game is going to take you years of hard work. If you try to run before you can walk, most likely you'll just get frustrated and quit too soon.
  7. Mossen

    Please help me

    A 3D MMO is very complex. Just the fact that you are asking this tells me you don't know how complex it really is. Not only do you need to know a computer language, you need to familiarize yourself with all the tools, libraries, data structures, mathematics, etc that typically go into such a game. Your question is basically the same as asking "I want to build a space shuttle but with a different shape and extra robots. I want to know what I must learn to do this and what kind of team I need." My advice is to learn a language, learn data structures and how they work. They try to make a text game, or a simple 2D game like Tetris. Then you will be better equipped to make a decision about how to begin learning how to make a 3D MMO.
  8. I'm using this method to build all my model objects: using (FileStream fileStream = new FileStream(filename, FileMode.OpenOrCreate, FileAccess.Read, FileShare.None)) { XmlSerializer xmlSerializer = new XmlSerializer(typeof (ModelDescriptor)); modelDescriptor = (ModelDescriptor) xmlSerializer.Deserialize(fileStream); } This will get one object and build a ModelDescriptor object for me. However, how do I load multiple objects this way? Using a loop? How do I know the number of objects that are in the file? Is there a way to tell it to just loop until there are no more? Thanks Mossen
  9. Mossen

    Text on top of everything

    Thanks, Starnick! DrawOrder works perfectly...........
  10. Mossen

    Text on top of everything

    OK, but it seems like I can't really control when each piece of the scene is drawn, since I don't call the Draw() methods directly. They are called automatically by XNA, and I have no way of telling it (that I know of ) the order in which to draw them. Is there some way to control the Z-buffer value of the text?
  11. Hi I'm new to XNA and I'm just wondering what is the best way to draw 2D text on top a 3D scene. Is this something I can use SpriteFont for? Basically in my main class there is a Draw method: protected override void Draw(GameTime gameTime) { GraphicsDevice.Clear(Color.CornflowerBlue); spriteBatch.Begin(); spriteBatch.DrawString(spriteFont, "Hello world", new Vector2(0.0f, 0.0f), Color.Purple); spriteBatch.End(); base.Draw(gameTime); } ...but the text is behind my models. And the models are loaded with a ModelManager:DrawableGameComponent: modelManager = new ModelManager(this); Components.Add(modelManager); which has its own Draw method, so its not like I can just render the text last....because there doesn't seem to be an ordering (that i can see in the code). I'm just looking for a simple solution, doesn't have to be superefficient. What is the best way to do this?
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!