How to Make a Game in XNA (part 4) - Drawing Cursor

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
487 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 1, 2011

In these tutorials I show you how to make a zombie survival game in C# XNA.

In this tutorial we make a mouse/cursor class and allow the player to look towards the mouse.



XNA: http://www.microsoft.com/download/en/details.aspx?id=20914
Visual Studio C#: http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-csh...


Tags:
C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX C# XNA VIsual Studio Game Maker How to make Howto PC Xbox video games program C++ VIsual Basic DirectX

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (SaladRaider)

  • Great tutorials. I was reading throught the point_direction method and I really like it. I was thinkg that to make it simpler you could write it like this:

    private float point_diretion(float x, float y, float x2, float y2) { float diffx = x - x2; float diffy = y - y2; float rot = (float)Math.Atan2(diffy, diffx); return rot; }

  • @TrebleGames Yes, you can do that too. nice job.

see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • My cursor icon freezes when i do cursor cursor = new cursor(new vector2(0,0)); in said coordinates, but moves before i do that coding, should i delete that coding and cursor.LoadContent(this.Conten­t); aswell as cursor.draw(spriteBatch);? i sent you a pm with my program coding so far

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more