Forum: Sonstige Fragen zu Delphi
Delphi
by Skullschildi,
1. Mär 2006
ich kann des schon erkennen. und ich hab des schon probiert mit if hoch = 10 then . der wert hoch wird ja irgendwann wieder 10
Forum: Sonstige Fragen zu Delphi
Delphi
by Skullschildi,
1. Mär 2006
Hallo mal wieder. Bei der entwicklung meines Jump and nthing else games bin ich beim Jumpen auf ein problem gestossen.
var hoch : integer; //bei formcreate als 10 definiert
procedure TForm1.Timer2Timer(Sender: TObject);
begin
if hoch > -10 then
begin
hoch := hoch - 1;
image2.Top := image2.Top - hoch;