forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

A.I. for racing/shooting

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
HippiHippo



Joined: 31 May 2006
Posts: 1

PostPosted: Wed May 31, 2006 12:35 pm    Post subject: A.I. for racing/shooting Reply with quote

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
View user's profile Send private message
Arwin



Joined: 12 Jul 2005
Posts: 426

PostPosted: Wed May 31, 2006 7:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
imhotep



Joined: 13 Dec 2005
Posts: 41

PostPosted: Sat Jun 10, 2006 11:25 am    Post subject: Reply with quote

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
View user's profile Send private message
wekilledbambi03



Joined: 15 Oct 2005
Posts: 31

PostPosted: Tue Sep 12, 2006 10:54 am    Post subject: Reply with quote

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
View user's profile Send private message
romero126



Joined: 24 Dec 2005
Posts: 200

PostPosted: Tue Sep 12, 2006 11:17 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group