![Neko :neko:](./images/smilies/ms-neko.png)
trAInsported
-
- Citizen
- Posts: 56
- Joined: Wed Feb 27, 2013 7:53 pm
Re: trAInsported: Alpha testers needed
100 Comments! Btw this piece of work is just soooooooooooo amazing. I never fought, that with Love2D you can create this masterpiece! ![Neko :neko:](./images/smilies/ms-neko.png)
![Neko :neko:](./images/smilies/ms-neko.png)
-
- Party member
- Posts: 712
- Joined: Fri Jun 22, 2012 4:54 pm
- Contact:
Re: trAInsported: Alpha testers needed
Short update before I go to bed: I've been working on more graphics. Behold, the hospital, the playground, and - my favourite - the pie-store! There's also a school, but it's not on this image.
Also, the first challenges are completed! I might get another full version out by this weekend.
![Image](http://somepic.someserver.de/pics/thumb/97464f5071399d5ff14b5260a52dc5ca.png)
In the meantime, there's some pretty fierce battles going on on the server between javra and jonyzz...
Yes, the Engine is great!
![Glee ^^](./images/smilies/ms-glee.png)
Also, the first challenges are completed! I might get another full version out by this weekend.
![Image](http://somepic.someserver.de/pics/thumb/97464f5071399d5ff14b5260a52dc5ca.png)
In the meantime, there's some pretty fierce battles going on on the server between javra and jonyzz...
Thanks!TheScriptan wrote:100 Comments! Btw this piece of work is just soooooooooooo amazing. I never fought, that with Love2D you can create this masterpiece!
![Very Happy :D](./images/smilies/ms-glad.png)
I don't know the person personally... just his friend. But the image upload service is great. If only it would allow multiple images!substitute541 wrote:Who made "somepic.someserver.de"? The name is just a bit hilarious.
You got mesubstitute541 wrote: Edit: Hehehehe....
![Glee ^^](./images/smilies/ms-glee.png)
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
- substitute541
- Party member
- Posts: 484
- Joined: Fri Aug 24, 2012 9:04 am
- Location: Southern Leyte, Visayas, Philippines
- Contact:
Re: trAInsported: Alpha testers needed
Just noticed that AI phoenix's pathfinding algorithm is B* (Breath First Search or Best First Search). Ah, I'm having a hard time implementing A*... ![Razz :P](./images/smilies/ms-razz.png)
![Razz :P](./images/smilies/ms-razz.png)
Currently designing themes for WordPress.
Sometimes lurks around the forum.
Sometimes lurks around the forum.
-
- Party member
- Posts: 712
- Joined: Fri Jun 22, 2012 4:54 pm
- Contact:
Re: trAInsported: Alpha testers needed
Speaking of which, I noticed that some implementations take too long to compute and are aborted during their search by my game. This usually happens with larger maps.substitute541 wrote:Just noticed that AI phoenix's pathfinding algorithm is B* (Breath First Search or Best First Search). Ah, I'm having a hard time implementing A*...
Any experience or thoughts on this? I can't give the AIs much more time to compute, otherwise it'll slow down the game much more. Or should I rather limit the maximum amount of trains and give more time to each train's computation instead? Or force players to do more pre-computation in ai.init (where they already have 10 times as much time)
Does any one have thoughts/ideas on this?
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
Re: trAInsported: Alpha testers needed
It is actually slightly modified Dijkstra's algorithmsubstitute541 wrote:Just noticed that AI phoenix's pathfinding algorithm is B* (Breath First Search or Best First Search). Ah, I'm having a hard time implementing A*...
![Smile :)](./images/smilies/ms-smile.png)
What about function that returns percentage of time the AI used for computation. It could be used like this:Germanunkol wrote:Speaking of which, I noticed that some implementations take too long to compute and are aborted during their search by my game. This usually happens with larger maps.
Any experience or thoughts on this? I can't give the AIs much more time to compute, otherwise it'll slow down the game much more. Or should I rather limit the maximum amount of trains and give more time to each train's computation instead? Or force players to do more pre-computation in ai.init (where they already have 10 times as much time)
Does any one have thoughts/ideas on this?
Code: Select all
while not pathfindingFinished and getAITimeUsage() < 0.95 do
-- One step of algorithm
end
- substitute541
- Party member
- Posts: 484
- Joined: Fri Aug 24, 2012 9:04 am
- Location: Southern Leyte, Visayas, Philippines
- Contact:
Re: trAInsported: Alpha testers needed
... yep, that's why you always find the shortest distance (without using u-turns).jonyzz wrote:It is actually slightly modified Dijkstra's algorithmsubstitute541 wrote:Just noticed that AI phoenix's pathfinding algorithm is B* (Breath First Search or Best First Search). Ah, I'm having a hard time implementing A*....
Currently designing themes for WordPress.
Sometimes lurks around the forum.
Sometimes lurks around the forum.
-
- Party member
- Posts: 712
- Joined: Fri Jun 22, 2012 4:54 pm
- Contact:
Re: trAInsported: Alpha testers needed
Awesome idea. Will think about this.jonyzz wrote:Code: Select all
while not pathfindingFinished and getAITimeUsage() < 0.95 do -- One step of algorithm end
It's not "time" that I'm giving you, it's the number of "lua-code-lines" or something like that. Otherwise, the AI would have less time on different PCs - and since my server is a Raspberry Pi and is slower than most average Computers, the AI would run on users' PCs but not on the server...
But still, a function like getLinesLeft() would be quite useful!
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
-
- Party member
- Posts: 712
- Joined: Fri Jun 22, 2012 4:54 pm
- Contact:
Re: trAInsported: Alpha testers needed
Modified the Graphics and added Challenge maps!
![Image](http://somepic.someserver.de/pics/thumb/7449025c1a96417398fd2d0293cf419f.png)
Added buildings (all hotspots): Store, Cinema, Hospital, School, Playground
Added a new Region Setting: "Urban"!
![Image](http://somepic.someserver.de/pics/thumb/dfb6e8e9ba42b9d70eab45cc95e0d179.png)
In this region, there's a lot more passengers. This means that if you use the "Rushhour" gamemode on an "Urban" Map, you'll have tons and tons of VIPS...
![Image](http://somepic.someserver.de/pics/thumb/90b4fb28e2086154f4494822e5cafaba.png)
![Image](http://somepic.someserver.de/pics/thumb/7449025c1a96417398fd2d0293cf419f.png)
Added buildings (all hotspots): Store, Cinema, Hospital, School, Playground
Added a new Region Setting: "Urban"!
![Image](http://somepic.someserver.de/pics/thumb/f750e7ddba1efca220e228417cf11858.png)
![Image](http://somepic.someserver.de/pics/thumb/dfb6e8e9ba42b9d70eab45cc95e0d179.png)
In this region, there's a lot more passengers. This means that if you use the "Rushhour" gamemode on an "Urban" Map, you'll have tons and tons of VIPS...
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
-
- Citizen
- Posts: 56
- Joined: Wed Feb 27, 2013 7:53 pm
Re: trAInsported: Alpha testers needed
Are you making this all by yourself??? ![Ultrashocked :ultrashocked:](./images/smilies/ms-ultra-shocked.png)
![Ultrashocked :ultrashocked:](./images/smilies/ms-ultra-shocked.png)
- master both
- Party member
- Posts: 262
- Joined: Tue Nov 08, 2011 12:39 am
- Location: Chile
Re: trAInsported: Alpha testers needed
can i suggest a scaling function? Please.
Who is online
Users browsing this forum: Amazon [Bot] and 2 guests