Recent

Author Topic: Deleted - Republished in the PORTUGUESE section.  (Read 725 times)

Guser979

  • Jr. Member
  • **
  • Posts: 67
Deleted - Republished in the PORTUGUESE section.
« on: February 08, 2025, 01:29:05 am »
Post deleted. I don't have time to work on it at the moment. If it's not useful as is, I'd better publish it when it's complete.

Republished in the PORTUGUESE section.
I had already warned that I would stop this project for now, as it is. Incomplete. I published it for anyone who wants to take advantage of what has already been done. If I am going to stop for now, obviously if you find errors, try to fix them yourself or wait until I have time. Good luck.
« Last Edit: February 08, 2025, 03:56:28 pm by Guser979 »

Handoko

  • Hero Member
  • *****
  • Posts: 5396
  • My goal: build my own game engine using Lazarus
Re: Pathfinding (A*)
« Reply #1 on: February 08, 2025, 02:08:26 am »
Interesting.Thank you for sharing it.

d2010

  • Full Member
  • ***
  • Posts: 117
Re: Pathfinding (A*)
« Reply #2 on: February 08, 2025, 05:21:25 am »
You need more test/s. I found one bug.
Please how to set  lat&long to Bucharesti/Romanian?
Code: [Select]
procedure TForm1.FormCreate(Sender: TObject);
begin
  mapview.Zoom:=15;    grpt.Lat:=strtofloat('-22,82376174');grpt.lon:=strtofloat('-45,20410622');
   MapView.Center := grpt;
end;             

Can you copy the coordinates  from to  umap.pas?
Code: [Select]
https://www.google.ro/maps/@44.4253464,26.0102313,18z?hl=ro&entry=ttu&g_ep=EgoyMDI1MDIwNS4xIKXMDSoASAFQAw%3D%3D
Please share your-solution to me?
« Last Edit: February 08, 2025, 05:27:53 am by d2010 »

Guser979

  • Jr. Member
  • **
  • Posts: 67
Re: Pathfinding (A*)
« Reply #3 on: February 08, 2025, 11:59:06 am »
 
try


mapview.Zoom:=15; 

grpt.Lat:=44.4253464;grpt.lon:=26.0102313;
MapView.Center := grpt;   

wp

  • Hero Member
  • *****
  • Posts: 12683
Re: Pathfinding (A*)
« Reply #4 on: February 08, 2025, 12:05:53 pm »
For general interest it would be helpful if you'd translate the variable names and comments to English.

And, whithout having tested it, I have the feeling that there are more Create calls than Free calls. Are you sure that there are no memory leaks?

 

TinyPortal © 2005-2018