XNA for C#
DirectX 9 for C#
DirectX 9 for C++
DirectX 9 for VB
Forum
   2D Series finished!
My Book: Out Now!
      
       Go to section on this site

Additional info


Latest Forum posts

 error x3000:syntax error
  Posted by: Anonymous
  When: 02/09/2010 at 06:55:17

 Reflection problem in corners ...
  Posted by: Anonymous
  When: 31/08/2010 at 20:53:30

 OcTree Question
  Posted by: radulph
  When: 31/08/2010 at 18:00:04

 model problems
  Posted by: Archenon
  When: 30/08/2010 at 05:54:27

 Changing computer breaks my game
  Posted by: Archenon
  When: 30/08/2010 at 05:49:50

 model problems
  Posted by: muffinman
  When: 28/08/2010 at 16:58:10

 Vertices problem
  Posted by: Anonymous
  When: 27/08/2010 at 15:35:36

 Changing computer breaks my game
  Posted by: radulph
  When: 27/08/2010 at 07:12:24

 effects file and XNA 4.0 (Beta)
  Posted by: radulph
  When: 26/08/2010 at 06:33:33

 Changing computer breaks my game
  Posted by: radulph
  When: 26/08/2010 at 06:27:59


Ads

XNA¸¦ ½ÃÀÛÇսôÙ!

Microsoft XNA Game Studio Express¸¦ ¼³Ä¡ÇÏ´Â ¹æ¹ý µî, ±âÃÊÀûÀΠȯ°æ ¼³Á¤Àº ÀÎÅͳݿ¡µµ ¸¹À¸´Ï ¿©±â¼­´Â ´Ù·çÁö ¾Ê½À´Ï´Ù.

¶ÇÇÑ reimer`s tutorial 01 ¿ø¹®¿¡¼­´Â °£´ÜÇÏ°Ô Game1.csÀÇ ±¸Á¶¸¦ Á¤¸®Çϰí Àִµ¥ ÀÌ ¶ÇÇÑ ³ªÁß¿¡ ÀÚ¼¼ÇÏ°Ô ´Ù·ç±â·Î Çϰí, ¿©±â¼­´Â ´Ù·çÁö ¾Ê½À´Ï´Ù.

ÀÏ´Ü ±âº»ÀûÀΠȯ°æÀº ¸ðµÎ °®Ãß¾î Á³´Ù°í º¸°í, °£´ÜÇÏ°Ô Windows Game ÇÁ·ÎÁ§Æ®¸¦ Çϳª »ý¼ºÇغ¾½Ã´Ù.

ÇÁ·ÎÁ§Æ®¸¦ óÀ½ »ý¼ºÇÏ°í µð¹ö±×(F5)Ű·Î ½ÇÇà½ÃÄÑ º¸¸é DirectX¸¦ ´Ù·ï¿ÔÀ» »ç¶÷À̶ó¸é Àͼ÷ÇÏ°Ô ´À²¸Áú ÆÄ¶õ ¹ÙÅÁÀÇ À©µµ¿ì°¡ Çϳª »ý¼ºµÉ °Í ÀÔ´Ï´Ù.

¿ì¸®°¡ À̹ø tutorial¿¡¼­ ÇÒ ÀÏÀº ÀÌ À©µµ¿ìÀÇ ¼Ó¼º(Å©±â, Àüü È­¸é µî...)À» ¼öÁ¤ÇÏ´Â ÀÏ ÀÔ´Ï´Ù.

±×·¯±â À§ÇØ, ´Ù½Ã ÄÚµå·Î µ¹¾Æ¿Í ¸î°¡Áö ÄÚµùÀ» ÇØ º¾½Ã´Ù.

¸ÕÀú GraphicsDevice¸¦ »ç¿ëÇϱ⠽±µµ·Ï Àü¿ª º¯¼ö¸¦ ¼³Á¤ÇÕ´Ï´Ù.

 GraphicsDevice device;

Àü¿ª º¯¼ö¸¦ ¼³Á¤Çß´Ù¸é, À©µµ¿ìÀÇ ¼Ó¼ºÀ» Á¤ÀÇÇÒ ¿ì¸®¸¸ÀÇ ÇÔ¼ö¸¦ Çϳª ¸¸µé¾î º¾½Ã´Ù. À̸§Àº SetupXNADevice·Î Çϰí parameter´Â ¾øÀ¸¸ç return typeÀº voidÀÔ´Ï´Ù. ¹°·Ð ÀÌ ÇÔ¼ö´Â ´Ù¸¥ Ŭ·¡½º¿¡¼­ Á¢±ÙÇÒ ÀÏÀÌ ¾øÀ¸¹Ç·Î privateÀÔ´Ï´Ù.

 private void SetupXNADevice()
 {
     device = graphics.GraphicsDevice;
 
     graphics.PreferredBackBufferWidth = 500;
     graphics.PreferredBackBufferHeight = 500;
 
     graphics.IsFullScreen = false;
 
     graphics.ApplyChanges();
 
     Window.Title = "riemer`s XNA tutorial 01 - series 1";
 }

ÀÌ ÇÔ¼ö°¡ À©µµ¿ì ÃʱâÈ­¶§¿¡ ¼öÇàµÉ ¼ö ÀÖµµ·Ï Initialize() ÇÔ¼ö¿¡ ´ÙÀ½°ú °°ÀÌ Ãß°¡ÇսôÙ.

 protected override void Initialize()
 {
     // TODO: Add your initialization logic here
 
     base.Initialize();
 
     SetupXNADevice();
 }

ÀÌÁ¦ ´Ù½Ã µð¹ö±×(F5)۸¦ ´­·¯ ½ÇÇàÇϸé À©µµ¿ìÀÇ ¸ð¾çÀÌ ¿ì¸®°¡ ¼³Á¤ÇÑ ´ë·Î ¹Ù²î¾î ³ª¿ÈÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.






Google
 
Webwww.riemers.net


If you appreciate the amount of time I spend creating and updating
these pages, feel free to donate -- any amount is welcome !



- Website design & XNA + DirectX code : Riemer Grootjans -
©2003 - 2008 Riemer Grootjans
Translations

This site in English
This site in Korean
This site in Czech

Microsoft MVP Award



2007 - 2009 MVP Award
DirectX - XNA

Contents

[Tutorials]
[XNA in C#]
Series 1: ÁöÇü
XNAÀÇ ½ÃÀÛ
ÀÌÆåÆ® ÆÄÀÏ
ù ¹øÂ° »ï°¢Çü
¿ùµå ÁÂÇ¥°è
ȸÀü, À§Ä¡ º¯È¯
À妽º
ÁöÇü »ý¼ºÀÇ ±âº»
ÆÄÀϷκÎÅÍ ÁöÇü »ý¼º
Űº¸µå ÀÔ·Â
[tut10]
[tut11]
[tut12]
[tut13]
-- Expand all --


Thank you!

Support this site --
any amount is welcome !

Stay up-to-date

I don't have the time to keep a News section, so stay informed about the updates by clicking on this RSS file!