Building a 3D game in xNa from scratch-free video tutorial series now available!

Source: Internet
Author: User
Tags contact form

After far too implements hours of learning, teaching, recording, testing, video editing, and other glorous activities, I am ready to make available myMassiveCollection of video tutorials for creating a 3D game in xNaFrom the ground up, without skipping steps,ForYou,The enthusiast, student, or educator!

The 3D game we build together is calledGuitarmateyAnd it uses a regular Guitar Hero style controller.

About guitarmatey

Guitarmatey is a 3D game for the Xbox that allows you to improvise guitar music with the accompaniment of a backing track. five pirates dance for you as you play the game. while guitarmatey lacks a real objective or purpose, it is perfect to help you learn about developing 3D gamesFor freeUsing xNa and our partner tools.

Learning how to build guitarmatey will teach you:

  • How to build a simple 3D model in softimage | xsi mod Tool
  • How to build a more complex skinned, rigged & animated character model in softimage | xsi mod tool for use in an xNa game
  • Project setup for xNa and xsi Projects
  • Pipeline & workflow between xsi and xNa
  • How to animate a skinned xsi model in xNa using the xnaxsiruntime library provided for free by softimage
  • How to creating and managing sound and audio using the DirectX xact Tool
  • How to handle input from the Controller
  • How to prep an xNa PC game for Xbox 360
  • How to deploy an xNa game to the Xbox through the creators Club
  • And again, using nuances and "gotchas" that will help make your development experience 1000% smoother.

Download ze source!

(~ 236 MB, yes it's huge, it includes des lots of uncompressed audio)

It's helpful to have:

  • A modest understanding of C # And. NET framework overall. this is for individuals who are comfortable with C # And have seen control structures and generic collections. if you are a beginner to programming, this series will be a little daunting for you.
  • The final source code baseline (see giant link above) to use as a reference.
    This source code download is huge, because it has des all the models, audio in WAV format, and art assets. If you aren't interested in the whole GAMBIT:
    • Click here to download the playable. ccgame for PC (~ 77.1 MB )(Link fixed, ccgame is inside the zip) Or
    • Click here to download the game source without any assets (~ 99.3 KB) (But beware: The game will not compile without them ).
  • Patience, perseverance and motivation
  • Better art skills than me.

What you will need: 

  • Microsoft xNa game studio 2.0 (Free Download)
  • Softimage | xsi mod tool (Free Download)
  • XNa add-in for xsi (Free Download)
  • Audio Tool of your choice. Even sound recorder will work. I used Adobe audition to record and mix my song, but it is certainly not free.

 

Here is the series index.Some of these videos are quite long because I detail the processes involved so you can get moving with xNa faster. also, there may be some "editing glitches" (saying some things twice, unintentional speedups, or inconsistent volume levels) mainly because I am not running on Video Production hardware and don't have the time to re-produce stuff

Added disclause: no guarantees about accuracy, no warranties, also this is not "official" Microsoft code, just written by a MS employee who thinks you can learn how to do it too!

 

 

Guitarmatey xNa tutorial series (12 segments, 14 total videos)
  1. Introduction
    Welcome. Let's build something cool together.
    View now (MSN video)
  2. Xsi and xNa Projects
    One powerful benefit of using softimage | xsi mod tool (or the full version of xsi) is the direct-to-xNa Plugin Functionality. all you need to do is connect to an xNa project from xsi and you can publish your models. moD tool also includes a content importer and processor (crosswalk) for xNa that prevents you from needing to write a custom importer.
    View now (MSN video) (05:26)
  3. Making a really simple 3D Model
    Haven't made a 3D model before? Follow along here as I build a pirate hat, then export it in fbx format to use xNa's native content importer and processor.
    View now (MSN video) (09: 29)
  4. Displaying a simple model in xNa
    Learn how to display our pirate hat (. fbx format) in a new xNa game.
    View now (MSN video) (11: 29)
  5. Texturing for xNa using softimage | xsi mod Tool
    By default, xsi uses Mental Ray materials, which xNa does not directly support. Learn how to texture properly for an xNa project using DirectX shaders in xsi.
    View now (MSN video) (10: 26)
  6. Rigging, weighting, and animating for xNa using xsi
    Originally one 40-minute video, these videos show you how to accomplish a very important thing: skinned animation for characters in your game.
    • Part 6aCoversRigging(Creating a skeleton for your model and assigning the bones to the mesh ).
      View now (MSN video) (14: 53)
    • Part 6bCoversWeight painting(Modifying how the movement of each bone influences deformations in different areas of the mesh ).
      View now (MSN video) (05:15)
    • Part 6cCoversAnimationUsing forward kinematics. animation in xsi using inverse kinematics (animating the variables-see the video) does not get exported properly; here is the workaround.
      View now (MSN video) (13: 44)
  7. Creating the game
    Now that we have a model asset, let's put it into an xNa game. we'll display our skinned, animated pirate in xNa using the animation library provided by softimage. this video is a complete code walkthrough of a game with an animated, skinned 3D model. this Model Tester game will be the foundation for our "real" game.
    View now (MSN video) (28:12)
  8. Creating music and sound
    Let's see how I created some sound assets for the game.
    View now (MSN video) (04: 29)
  9. Audio in xNa using xact
    Xact is a tool in the DirectX framework that allows you to create a sound bank for your game. learn how to create an xact library from some basic WAV Files (Remember, WAV, not MP3 !) And play them in the game.
    View now (MSN video) (10: 22)
  10. Determining what's what on the guitar controller
    The Controller for guitar hero games maps directly to controls on a standard Xbox 360 controller, but it's not immediately obvious what exactly the whammy bar, strum bar, and Orange button do. rather than go hunt for documentation, we can find out by experimentation in less than 5 minutes.
    View now (MSN video)
  11. Handling complex controller input & final code Walkthrough
    If you 've made it this far, you're probably familiar with the code structure of the game and what we are trying to accomplish. rather than write code line by line, I take you through the finished PC version of the product (which is mostly well-organized and well-commented) so you can see how everything fits together. this version of the game handles complex controller input, playing audio, and animating characters.
    View now (MSN video) (16: 47)
  12. Deploying to the Xbox 360 & Conclusion
    In this final installment, you'll see how to connect your computer to your Xbox over a local network and deploy to it using xNa game studio connect (free from the Xbox Live marketplace ). then I say a few closing words and play guitarmatey on a sweet 50 "Samsung DLP. this video also covers hardware setup and connecting xNa game studio 2.0 (PC) to xNa GS connect (Xbox ).
    View now (MSN video) (12: 11)

Resources, support, more

 

  Please contact me via comment or contact form on this blog if you have problems with this article (incorrect links, broken downloads, things of that nature ).

If you have a question about the content of the videos, you can always try emailing me using the contact form on this blog. while I may not be able to respond, there is always a chance that I will.

I frequent the creators club forums at http://forums.xna.com which are an incredible resource for game developers, beginners and professionals alike. This shocould be the first place to go if you have questions.

For softimage specific questions, try the MOD tool forum at http://forums.xna.com or the official xsi forums at http://www.xsibase.com

And, finally, don't forget to check out the Dan waters 4 random Ming guitar matey semi-live once I post it

 

And finally, don't forget to subscribe to my feed to get more great resources like this in the future!

Comment notification

If you wowould like to receive an email when updates are made to this post, please register here

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.