|
|
|
|
![]() ![]() |
Mar 9 2005, 04:42 PM
Post
#1
|
|
|
Member [Level 1] ![]() ![]() ![]() ![]() Group: Members Posts: 65 Joined: 7-March 05 Member No.: 4,229 |
Please help me to make game in Delphi 7 !
If you know some pages with Delphi 7 games source code, POST HERE!! |
|
|
|
Jun 30 2005, 12:57 AM
Post
#2
|
|
|
Member [Level 3] ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 92 Joined: 28-June 05 Member No.: 8,782 |
Who say is games are somthing hard to write ?!?
//---------- code --------- uses windows; click1: integer; click2: integer; isclicked: boolean; procedure TForm1.Button1Click(Sender: TObject); begin if (!iscliced) then begin click1 := GetTickCount(); iscliced := TRUE; end else begin click2 := GetTickCount(); Label1.Caption := IntToStr(click2 - click1); iscliced := FALSE; end; end; //--------------------------- And need form with one Label named Label1 and one Button named Button1 wit above code included to OnClickEvent; /////////// Thi cool game show how fast player do dubble click |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 25th July 2008 - 09:19 PM |