ÓÃDelphi + DirectX¿ª·¢¼òµ¥RPGÓÎÏ· ת
TDXDraw DirectDraw ºÍ Direct3D ×é¼þ
TDXDIB ÈÝÄÉDIB£¨É豸ÎÞ¹Øλͼ£¬Device Independent Bitmap£©µÄ×é¼þ
TDXImageList ͼƬÁбí×é¼þ
TDX3D Direct3D ×é¼þ £¨ºÍTDXDrawÒ»ÆðʹÓã©
TDXSound DirectSound ×é¼þ
TDXWave ÈÝÄÉ Wave£¨²¨ÐÎÒôƵÎļþ£©µÄ×é¼þ
TDXWaveList WaveÎļþÁбí×é¼þ
TDXInput ÊäÈë×é¼þ£¬°üÀ¨¼üÅ̺ÍÊÖ±úÊäÈë
TDXPlay ͨѶ×é¼þ£¬ÓÃÓÚÍøÂçÓÎÏ·¿ª·¢
TDXSpriteEngine ¾«ÁéÒýÇ棬ÓÃÓÚ¹ÜÀíÓÎÏ·ÖвúÉúµÄ¾«Á飨Sprite£©Ïê¼ûÓÎÏ·¿ª·¢¹ý³Ì
TDXTimer ¸ßËÙ¶¨Ê±Æ÷£¬±È TTimer Òª¸ü¿ì£¬¸ü׼ȷ
TDXPaintBox TpaintBox µÄ DIB °æ±¾
TDXForm ÓÅ»¯¹ýµÄ TForm£¬×¨ÃÅÓÃÓÚÓÎÏ·¿ª·¢
¶¯»ÔÀí
¡¡¡¡ÔÚ½éÉܶ¯»µÄÔÀí֮ǰ£¬ÎÒÃÇÏÈÀ´½éÉܼ¸¸öDirectXµÄÊõÓï¡£
±íÃ棨Surfaces£©
ÕâÀïÎÒÃÇÔÝÇÒ³Æ×÷±íÃæ°É¡£ÔÚ DirectX ÖУ¬ÏÔ´æÖб»ÓÃÀ´´æ´¢¸÷ÖÖλͼºÍÊÓƵ»º³åµÄ²¿·Ö¾ù±»³Æ×÷±íÃæ¡£¶øµ±Ç°±»ÏÔʾÔÚÆÁÄ»ÉϵıíÃæ±»³Æ×÷Ö÷±íÃ棨primary surface£©¡£ÔÚʵÑ鶯»µÄ¹ý³ÌÖУ¬ÎÒÃÇͨ³£ÒªÔ¤ÏÈÉú³ÉÖÁÉÙÒ»¸ö²»ÏÔʾµÄ±íÃ棬³Æ×÷ºǫ́±íÃ棨offscreen surface£©¡£ÔÚÐèÒª²úÉú¶¯»µÄʱºò£¬ÎÒÃÇ¿ÉÒÔÖ±½Ó½«ºǫ́±íÃæÖеÄÄÚÈÝÏÔʾµ½ÆÁÄ»ÉÏ£¬¶ø½«ÔÀ´Ö÷±íÃæ·×ªµ½ºǫ́¶ø²»ÔÙÏÔʾ¡£Õâô˵¿ÉÄÜ´ó¼Ò¸üÈÝÒ×Ã÷°×£¬ÎÒÃÇ´ó¼ÒÔÚСµÄʱºò¶¼Íæ¹ýÔÚÊéÉϻСÈ˵ÄÓÎÏ·°É¡£ÔÚÿҳÊéµÄÏ·½¿Õ°×´¦»ÉÏÒ»¸ö¸öСÈË£¬Ã¿Ò³ÉϵÄÄÚÈÝÖð½¥·¢Éú±ä»¯£¬È»ºó¿ìËÙ·¶¯Õû±¾Ê飬¾Í¿ÉÒÔ¿´µ½ÓÐСÈËÔÚÌø¶¯¡£ÎÒÃÇÏÖÔÚµÄÖ÷±íÃæ¾ÍÊÇÄãÏÖÔÚÕý¿´µ½ÄÇÒ³Ê飬ºóÃæµÄÄÇЩ»¹Ã»Óзµ½µÄÒ³Ãæ¾ÍÊǺǫ́±íÃ棬ͨ¹ý·¶¯ÊµÏÖÁ˶¯»Ð§¹û¡£ÔÚÔËÐÐһЩ´óÐÍÓÎÏ·µÄʱºò£¬ÔÚÏÔ´æÒѾÓÃÍêµÄÇé¿öÏ£¬ÓÎÏ·½«×Ô¶¯µ÷ÓÃϵͳÄڴ档Ŀǰ¶øÑÔ£¬ÏëÒªÁ÷³©µØÔËÐÐÒ»¸ö DirectX ÓÎÏ·£¬·Ç 3D ÀàµÄ×îºÃÓÐ 4M ÒÔÉϵÄÏԴ棬3D ÀàµÄÔòÏÔ´æÔ½´óÔ½ºÃ¡£
ÿÃëÖ¡Êý£¨Frames per Second£©
ͨ³£¼ò³Æ FPS£¬ÓÃÎÒÃǸղžٵÄÀý×ÓÀ´ÃèÊö£¬Ò²¾ÍÊÇÖ¸ÎÒÃÇÿÃëËù·¹ýµÄÊéµÄÒ³Êý¡£µ±Ö¡Êý´ïµ½24֡ÿÃëʱ£¬ÈËÑÛÒѾÎÞ·¨·Ö±æ£¬´Ó¶øÈÏΪ»ÃæÊÇÁ¬ÐøµÄ¡£µçÓ°²ÉÓõÄ24֡ÿÃ룬¶øµçÊÓ²ÉÓõÄÊÇ25֡ÿÃ롣ʵ¼ÊÉÏ£¬ÔÚÈÕ±¾µÄ¶¯»ÖÆ×÷ÖÐÓÐÒ»ÅĶþ£¨12֡ÿÃ룩ÉõÖÁÒ»ÅÄÈý£¨8֡ÿÃ룩µÄ×ö·¨£¬Í¬Ñù¿É×ö³öÆÛÆÈâÑÛµÄЧ¹û£¬Õâ¸öÎÒÃÇÔÝÇÒ²»×÷ÌÖÂÛ¡£ÔÚÓÎÏ·ÖУ¬ÎÒÃǽ«²ÉÓÃ2
Ïà¹ØÎĵµ£º
Delphi×Ö·û´®¡¢PCharÓë×Ö·ûÊý×éÖ®¼äµÄת»»
ÉèÓÐÒÔÏÂÈý¸ö±äÁ¿£º
var
s:string;
p:pchar;
a:array[1..20] of char;
ÄÇôÈýÕßÖ®¼äµÄת»»ÈçÏ£º
1¡¢×Ö·û´®µ½PChar
p:=PChar(s);
2¡¢PCharµ½×Ö·û´®
s:=p;
3¡¢PCharµ½×Ö·ûÊý×é
StrCopy(@a,p);
4¡¢×Ö·ûÊý×éµ ......
......
±êÌâ
Delphi¶à²ã¿ª·¢·½°¸±È½Ï £¨×ªÔØ£©
¹Ø¼ü×Ö
Delphi¶à²ã¿ª·¢·½°¸±È½Ï
³ö´¦
·½°¸->
Midas
DCOM
COM+
ASTA
RemoteObject
.NET
ÌṩÕß
Borland
΢Èí
΢Èí
http://www.astatech.com
http://www.remobjects.com
΢Èí
ºËÐļ¼Êõ
COM
COM
COM
ASTA×Ô¼ ......
Ò»¡¢ ÍøÂç²¼¾Ö
һ̨ÖÐÐÄSQL·þÎñÆ÷£¨¼ò³Æ£ºÖÐÐÄ·þÎñÆ÷£©£¬¶ą̀·Ö²¼ÔÚ²»Í¬µØÓòµÄSQL·þÎñÆ÷£¨¼ò³Æ£º±¾µØ·þÎñÆ÷£©£¬¸÷¸ö±¾µØ·þÎñÆ÷ºÍÖÐÐÄ·þÎñÆ÷¶¼ÄÜͨ¹ýinternetʵÏÖÍøÂ绥Á¬¡£
¶þ¡¢ËùÓÃÓïÑÔ¼°Êý¾Ý¿â£ºDelphi +Sql
¶þ¡¢ ͨÐÅÒªÇó
ÿ̨±¾µØ·þÎñÆ ......
1¡¢ ϵͳ¹¦ÄÜ
1£©¡¢Êý¾ÝѹËõ
ʹÓÃDELPHIÌṩµÄÁ½¸öÁ÷ÀࣨTCompressionStreamºÍTDecompressionStream£©À´Íê³ÉÊý¾ÝµÄѹËõºÍ½âѹËõ¡£
2£©¡¢Êý¾Ý¼ÓÃÜѹËõ
ͨ¹ýDelphi±à³ÌÖГÁ÷”µÄÓ¦ÓÃʵÏÖÊý¾Ý¼ÓÃÜ£¬Ö÷Òª²ÉÓÃTstreamµÄÁ½¸öÅÉÉúÀàTfilestream¡¢Tmemorystream À´Íê³ÉµÄ£»ÆäÖÐÊý¾ÝѹËõ²¿·Ö²ÉÓÃ1£©µÄʵÏÖ· ......