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
}
}
如此一來您可以將類別具現化,但無法存取內部成員。
Sunday, February 12, 2012
Team Foundation Server - Installation Note
1. Installation OS
Window 7
Window Server 2008 (recommend)
2.IIS service
控制台->程式和功能->開啟或關閉Windows功能
Check Internet Information Services
Internet Information Services Web核心
3.Installation Window SQL Server 2008 R2
Add administrator and password
4.Installation Team Foundation Server 2010
5.Installation Visual studio 2010
Done
-----------------------------------------------------------------------------
Team Foundation Server Basic
Check-in:Upload your code to Server
Shelve And UnShelve:程式碼完成一半,暫時擱置,同時其他人也可以取得Shelve的程式碼並修改。
Branch(分支):將已完成的版本,建立新的分支,同時開發舊的版本與新的版本。
PS.After Branch you need Check-in again
Merge(合併):將舊版與新版合併
衝突發生:
也可先使用Shelve
Lable:標記程式碼版本
-----------------------------------------------------------------------------
Team Foundation Server Basic
Check-in:Upload your code to Server
Shelve And UnShelve:程式碼完成一半,暫時擱置,同時其他人也可以取得Shelve的程式碼並修改。
Branch(分支):將已完成的版本,建立新的分支,同時開發舊的版本與新的版本。
PS.After Branch you need Check-in again
衝突發生:
也可先使用Shelve
Lable:標記程式碼版本
-----------------------------------------------------------------------------
Visual Studio 2010 hotkey Note
alt + shift :多行同時輸入
alt + mouse Left Drag:一次編輯多行
-----------------------------------------------------------------------------
Reference:
Wednesday, January 4, 2012
Note - helper for inspire Game Designer
Play Like Designer part1 :http://penny-arcade.com/patv/episode/playing-like-a-designer-pt.-1
Play Like Designer part2:http://penny-arcade.com/patv/episode/playing-like-a-designer-pt.-2
Don't Know what is mechanics :http://penny-arcade.com/patv/episode/narrative-mechanics
All reference and link from: Penny Arcade - Extra Credits
Play Like Designer part2:http://penny-arcade.com/patv/episode/playing-like-a-designer-pt.-2
Don't Know what is mechanics :http://penny-arcade.com/patv/episode/narrative-mechanics
All reference and link from: Penny Arcade - Extra Credits
Subscribe to:
Posts (Atom)