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!
-
- 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.
In the meantime, there's some pretty fierce battles going on on the server between javra and jonyzz...
Also, the first challenges are completed! I might get another full version out by this weekend.
In the meantime, there's some pretty fierce battles going on on the server between javra and jonyzz...
Thanks! Yes, the Engine is great!TheScriptan wrote:100 Comments! Btw this piece of work is just soooooooooooo amazing. I never fought, that with Love2D you can create this masterpiece!
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....
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*...
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 algorithm .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*...
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 algorithm .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*...
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!
Added buildings (all hotspots): Store, Cinema, Hospital, School, Playground
Added a new Region Setting: "Urban"!
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...
Added buildings (all hotspots): Store, Cinema, Hospital, School, Playground
Added a new Region Setting: "Urban"!
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???
- 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: No registered users and 1 guest