Sammy The Snake: An XNA game for the Zune

Sign in to queue

The Discussion

  • User profile image
    Mr Giggles

    Hey man, this tutorial is great and I had no problems with it. Keep up the good work Smiley

  • User profile image
    Ryan

    Please Help, where do i get the content files? i cant figure out where i get them!

  • User profile image
    Clint

    @Ryan:  Content files aren't at CodePlex?  The link is at the top of the article.

  • User profile image
    ACIL

    ACTUALLY I HAVEN'T READ IT YET BUT I THINK THAT IT WILL BE GREAT + IT WILL HELP ME CREATING A XNA GAME

  • User profile image
    Free

    Very Good Man But How Can I Download This Game Or Source Code of it?

  • User profile image
    Clint

    @Free codeplex link at the top of the article

  • User profile image
    Andrew

    On the part of the tutorial that deals with the grid class, the tutorial doesn't show some of the statements that pass the scale and halfscale integers.  I know it is explained in the text a little, but there is no code for it - except in the source code I had to download.  Also, the tutorial doesn't tell you to where explicitly to add code sometimes, it just tells you to type it in - as in I had completely unsorted code in my game1.cs file in the beginning until I looked at the source, and the tutorial doesn't tell you to make a new class a new file either (I guess you expect us to know this already).  But minus these complaints, it is a good tutorial and it has helped me so far.  

  • User profile image
    ge-force

    When I ran the code for displaying the orange, it gave me a ContentLoadException.

     Message="Error loading "Sprites/mushroom". GraphicsDevice component not found."

  • User profile image
    ge-force

    OK, Thanks! I'll look into the codeplex stuff soon!

  • User profile image
    Clint

    @ge-force and @Andrew the tutorials are not a full blown cut and copy and you'll have a working game.  They talk through the hard parts and we provide the source code then so you can walk along with it.

  • User profile image
    ge-force

    Where do u create the Scale and HalfScale? I don't see where they are defined in this code?

  • User profile image
    ge-force

    I got 11 errors -

    Invalid token '=' in class, struct, or interface member declaration

    Method must have a return type

    Identifier expected

    Invalid token '/' in class, struct, or interface member declaration

    'SammyTheSnake.Grid' does not contain a definition for 'MaxColumn'

    'SammyTheSnake.Grid' does not contain a definition for 'MaxRow'

    The name 'Scale' does not exist in the current context

    The name 'HalfScale' does not exist in the current context

    The name 'Scale' does not exist in the current context

    The name 'HalfScale' does not exist in the current context

    The name 'Scale' does not exist in the current context

    I don't exactly know where a lot of the referenced properties are declared.

  • User profile image
    Clint

    @ge-force so you'll need to add content in properly and have it named.  right now the cs file is looking for sprites/mushroom and isn't seeing anything.  You'll need to add in a new graphic or rename the orange.png (i think the rename will work)

  • User profile image
    ge-force

    No, sorry, I renamed orange to mushroom.

  • User profile image
    Clint

    @ge-force, I did a glance at the project off codeplex, I don't see any reference to a mushroom.  Do you have a file and line number?  Did you attempt to add in new sprites?

  • User profile image
    Clint

    @maha if not, tell me what parts didn't translate well and I'll see if I can't get someone to do a physical translation.

  • User profile image
    Clint
  • User profile image
    maha

    very goad but can you explain in arabic

Add Your 2 Cents