Jump to content

  • Log In with Google      Sign In   
  • Create Account


Tron (lightcycles) AI


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 Tricron   Members   -  Reputation: 122

Like
Likes
Like

Posted 25 March 2000 - 05:37 PM

I recently made my own Tron clone in Qbasic, but im having some trouble with the AI. I made one that works fairly decent in avoiding obstructions, but its quite fond of putting itself in small corriders where it has no chance in he** of getting itself out, so its player dies. I was wonder if anybody knew how the original tron had done there pathfinding and aviodance system.

Sponsor:

#2 SiCrane   Moderators   -  Reputation: 9496

Like
Likes
Like

Posted 25 March 2000 - 05:45 PM

If I remember my Tron correctly, it''s lightcycles AI was fond of putting itself into corridors where it had no chance of getting out of.

#3 Novalis   Members   -  Reputation: 122

Like
Likes
Like

Posted 28 March 2000 - 09:16 AM

I believe that the original arcade game AI used predetermined paths. What I mean to say is that if the human player were to not be there, the game AI cycles would always follow the exact same path. Each new level had a different set of paths. Of course, Once the player started getting in the way the AI had to do something about it...

#4 Chris F   Members   -  Reputation: 122

Like
Likes
Like

Posted 29 March 2000 - 01:05 PM

Whats a tron?

#5 SiCrane   Moderators   -  Reputation: 9496

Like
Likes
Like

Posted 29 March 2000 - 01:30 PM

Tron was the name of a movie in or around 1985. State of the art computer graphics for the time. There was a game based on the movie (or it might have been the other way around). Tron was just released on DVD. You might want to check it out. Then you''ll understand the lightcycles reference.

#6 muff   Members   -  Reputation: 122

Like
Likes
Like

Posted 31 March 2000 - 03:06 AM


Generally speaking, if the corridor is one unit wide, there is a fair chance your cycle isn''t going to get out.

The simplest method would be not go into a square that has a filled square on either side.

But this question is rooted a little deeper in the subject line.

I''ve not seen a tron game that attempts to win by actively "going for" the other player. They tend to win purely on obstacle avoidence.

I wrote one a while back that would try and block you. Ie, if the two of you were going in the same direction, it would cut across your path. This would force you to turn, often in the same direction as the AI, and so the rule would kick in again and he would block your path again (if possible)

There is loads of scope to take this forward.

muff




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS