Debug Mode is vary important
Monday, March 19, 2012
Saturday, March 17, 2012
Unreal Development Kit–Basic 1– Book Note
UnrealDevelopment Kit Game Programming with UnrealScript: Beginner's Guide
ISBN:9781849691925
Friday, March 16, 2012
Thursday, March 15, 2012
Wednesday, March 14, 2012
Tutorial-Draw A Line At XNA(Window Phone)
如果沒有使用 DrawPrimitive Methods做的話,XNA 並無提供簡單產生出一個線段,因此在這裡提供一下簡易 2D線段的方法。
Tuesday, March 13, 2012
Friday, March 9, 2012
Friday, March 2, 2012
Books
UDK:
Unreal Development Kit Game Programming with UnrealScript: Beginner's GuideISBN-13: 978-1849691925
http://www.amazon.com/dp/1849691924/?tag=packtpubli-20
Kinect:
Beginning Kinect Programming with the Microsoft Kinect SDK (Paperback)ISBN: 1430241047
Chinese
半路叛逃-App 遊戲製作人的 1000 日告白 - Taiwan Indie Game Developer's BookISBN: 9861993649 出版日期: 2012-09-29
Wednesday, February 29, 2012
XNA-The snapshot is out of date and can not be used anymore because the binder has been updated
Solution-
Here is my problem.When i was using Team Foundation Server(Source Controller) with my window phone's project(XNA),It's don't happen.
After i install a plugin "Productivity Power Tools" the problem is appear.I google it and found there is a solution and it's solve my problem:
Turn Off the "Automatic Brace Completion" at Tools->Options->Productivity Power Tools
Maybe turn off some plugin you could found the problem.
Here is my problem.When i was using Team Foundation Server(Source Controller) with my window phone's project(XNA),It's don't happen.
After i install a plugin "Productivity Power Tools" the problem is appear.I google it and found there is a solution and it's solve my problem:
Turn Off the "Automatic Brace Completion" at Tools->Options->Productivity Power Tools
Maybe turn off some plugin you could found the problem.
Tuesday, February 28, 2012
C#-Note: Internal
| 成員所屬型別 | 成員預設存取範圍 | 成員允許的宣告存取範圍 |
|---|---|---|
| enum | public | 無 |
| class | private | public protected internal private protected internal |
| interface | public | 無 |
| struct | private | public internal private |
MSDN範例:
internal class BaseClass
{
public static int intM = 0;
}
class TestAccess
{
static void Main()
{
BaseClass myBase = new BaseClass(); // CS0122
}
}
如果在第二個檔案中嘗試產生BaseClass,將會產生錯誤。
將BaseClass 存取級別變為Public
將成員intM 存取級別變為Internal
public class BaseClass
{
internal static int intM = 0;
}
public class TestAccess
{
static void Main()
{
BaseClass myBase = new BaseClass(); // Ok.
BaseClass.intM = 444; // CS0117 Error
}
}
如此一來您可以將類別具現化,但無法存取內部成員。
Subscribe to:
Posts (Atom)