Jump to content
stacker_liew

Why This App No Screen?

Recommended Posts

@stacker_liew    I dont have StandFrame to use, then I just remove it!

 

try change the color at "procedure TTetris.DefaultCanvas(Canvas: TCanvas);"  -->  Canvas.Fill.Color := TAlphaColorRec.Blue;   // CurrentColor; "

 

function TTetris.GetCurrentSprite: TSprite;
begin
  Result       := AllSpriteKind[Random(6)];
  CurrentColor := Random($FFFFFF);  // black over black is = black
end;

image.thumb.png.8b173fdcfe167244974aa3486dfdc7e0.png

 

Edited by programmerdelphi2k
  • Thanks 1

Share this post


Link to post
14 minutes ago, programmerdelphi2k said:

@stacker_liew    I dont have StandFrame to use, then I just remove it!

 

try change the color at "procedure TTetris.DefaultCanvas(Canvas: TCanvas);"  -->  Canvas.Fill.Color := TAlphaColorRec.Blue;   // CurrentColor; "

 


function TTetris.GetCurrentSprite: TSprite;
begin
  Result       := AllSpriteKind[Random(6)];
  CurrentColor := Random($FFFFFF);  // black over black is = black
end;

image.thumb.png.8b173fdcfe167244974aa3486dfdc7e0.png

 

Thanks

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×