Wow, that was fast!
Not only I hate XMas it seems
Any idea how I can find the error except debugging the Step method which is very often called?
Firle
Wow, that was fast!
Not only I hate XMas it seems
Any idea how I can find the error except debugging the Step method which is very often called?
Firle
you can run to line with F4, and step thru the code with F7 and F8...
This is my game project - Top Down City:
http://www.pascalgamedevelopment.com...y-Topic-Reboot
My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
http://www.pascalgamedevelopment.com...source+manager
*laughs*
Oh yes I already realized
I thought I might have did something gnerally wrong...
Okay then Ihave to debug that stuff....
I think I just found it, my blocks (obstacles) we too large.
Still needs some testing...
Firle
someone haves an example of path-finding more easy?!
i can't understand a lot of things in this code!
it's hard =P
Brothers! DelphiX is hard!
GLScene is easy and, i think is more powerfull! =D
A hug!
dude, read some elementary pascal books, it is not hard, the code is very simple, and this has nothing to do with delphix or glscene.Originally Posted by spyke00
This is my game project - Top Down City:
http://www.pascalgamedevelopment.com...y-Topic-Reboot
My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
http://www.pascalgamedevelopment.com...source+manager
I've been putting off writing my own A* tutorial for some time now... perhaps it's time to get on it.
So far my techniques [size=9px](borrowed granted)[/size] have proven them selves in 2 of my recent game projects. I also believe that it's great for customization as in the first [size=9px](Subject 33)[/size], my sole interest was to see what I could do with it to make my roaming robots seem 'smarter'. Which I guess is the whole point, right?
ya! but i can't read! the problem is: can't understand where start and finish the functions, why have?, for what?
look:
my map haves 16*16 blocks, total of 256 blocks
abened's code, is so confused, i don't know where him check the "tile"...
i don't know where him add +1 to see the next tile.
that things....
i hope u understand....
a easy code:
and...Code:var x,y:integer; begin for x:=0 to maxtilex do begin for y:=0 to maxtiley do begin if tile[x,y].wall = true then //do something end else if tile[x,y].wall = true then end; end; end; end;
it's just a comment...Brothers! DelphiX is hard!
GLScene is easy and, i think is more powerfull! =D
a hug!
I've just taken a look at this code and I have to agree with Delfi in some ways, the code is not hard or badly written.. the trouble is the subject is not trivial.
DelphiX is one of the easiest things on the planet. You can easily write a game in a weekend with it. There are a TON of tutorial on this site for DelphiX, but that's not what this thread is about.
I'm sure that abened's code could be tidied up a little to suit a different coding style, but most of the time it's all down to personal preference really.
The variable naming could be better in my personal opinion, but that's just my preference and certainly not a fault in the code and in no way a disrespect to abened's fine work with this topic.
i'm nothing disrespecting... i'm just say, that him code is confused!
coz i need something easy, i hate CTRL+C and CTRL+V on source-codes!
that put trash(inutil things) on code, and... the credits is for another people!
a hug
Bookmarks