Lazarus

Miscellaneous => Suggestions => LCL => Topic started by: karika on September 04, 2014, 12:41:54 am

Title: i have problem...?
Post by: karika on September 04, 2014, 12:41:54 am
i serch for LCLType.dcu but not found it .

see my problem

http://www11.0zz0.com/2014/08/29/21/235206178.jpg
Title: Re: i have problem...?
Post by: Blaazen on September 04, 2014, 12:45:16 am
LCLType is Lazarus unit, it does not exist (and does not make sense) in Delphi.
Title: Re: i have problem...?
Post by: karika on September 04, 2014, 12:51:59 am
ok , but now i want to used to

procedure TForm1.GLCadencer1Progress(Sender: TObject; const deltaTime,
  newTime: Double);
  var speed:Double;
begin
speed:=20*deltaTime;
if IsKeyDown('x') then cami.MoveUp;
if IsKeyDown('S') then cami.Move(-speed);

end;
Title: Re: i have problem...?
Post by: karika on September 04, 2014, 12:56:04 am
http://www.youtube.com/watch?v=nP2KQElG2XE


time 9:19
Title: Re: i have problem...?
Post by: Blaazen on September 04, 2014, 11:02:16 am
Unfortunately, I have no experience with OpenGL.
Title: Re: i have problem...?
Post by: Leledumbo on September 04, 2014, 11:38:28 am
Ask GLScene developer, whether their GLKeyboard is portable or do they have separate implementation for Lazarus and Delphi, and so on.

EDIT: apparently from the video at least the unit also exists for Delphi, under any implementation (separate unit or something else). It might worth mentioning the GLScene version and also where you get it from.
Title: Re: i have problem...?
Post by: marcov on September 04, 2014, 12:01:53 pm
Does your project have a dependency on LCL ?  Project -> project inspector, and "LCL" and afaik also "LCLBase"  should be in the required packages.
Title: Re: i have problem...?
Post by: karika on September 04, 2014, 12:30:37 pm
this my Project1 can any body edit ;
>>> i want to move camera <<<
Title: Re: i have problem...?
Post by: Leledumbo on September 04, 2014, 12:56:06 pm
This is a Delphi project, and this forum is a Lazarus forum. I think you should ask in Embarcadero forum or some other Delphi forum. I know some people here are also Delphi coder, but to keep the forum stay focus on Lazarus and Free Pascal, I don't think it's a good idea to allow Delphi specific questions here.
TinyPortal © 2005-2018