| View previous topic :: View next topic |
| Author |
Message |
HippiHippo
Joined: 31 May 2006 Posts: 1
|
Posted: Wed May 31, 2006 12:35 pm Post subject: A.I. for racing/shooting |
|
|
I am in need of A.I. coding to make cars race on a track and A.I. for shooting when in front or behind another A.I. or player.
And is it hard to make a scrolling map? |
|
| Back to top |
|
 |
Arwin
Joined: 12 Jul 2005 Posts: 426
|
Posted: Wed May 31, 2006 7:57 pm Post subject: |
|
|
There are examples for scrolling maps around.
The difficulty of the AI depends a lot on the specs of your game. You may want to give some specifics. I assume something akin to the 2D top-down racers by Codemasters (Micromachines) or Atari's Supersprint? |
|
| Back to top |
|
 |
imhotep
Joined: 13 Dec 2005 Posts: 41
|
Posted: Sat Jun 10, 2006 11:25 am Post subject: |
|
|
scrolling is easy, just look at LUMO's example at his page.
http://lumo.at.tt/
AI is a wide field and you should check
1) some LUA examples
2) web resources for other games/blogs/essays about AI
there's a short "tut" by themariokarters, i think either at QJ or maxconsole |
|
| Back to top |
|
 |
wekilledbambi03
Joined: 15 Oct 2005 Posts: 31
|
Posted: Tue Sep 12, 2006 10:54 am Post subject: |
|
|
| for a simple ai use some randoms. for example create a random object where the outcome is either a 1 or 2. if 1 shoot if 2 dont. same for speed. 1 accel 2 dont. thats pretty basic but itll do for now. you could check my drag racer game(can be found on pspupdates) for my simple ai |
|
| Back to top |
|
 |
romero126
Joined: 24 Dec 2005 Posts: 200
|
Posted: Tue Sep 12, 2006 11:17 am Post subject: |
|
|
| AI is code used to control NPC's learn to code. Based on your engine you use your ai will act accordingly. |
|
| Back to top |
|
 |
|