Gaming Revolution

Search
 
HomePortalCalendarGalleryFAQSearchRegisterMemberlistUsergroupsGamesArcadeAffiliateswiiLog in

Share | 
 

 AI

Go down 
AuthorMessage
scorpafi
Guest



PostSubject: AI   Mon Apr 23, 2007 7:50 pm

im really stuck with ai for my new platformer game i want to get smart ai for my game but cant do it if any one could tell me how to do some smart ai or give me an example for some smart ai that would be cool
Back to top Go down
Admin
Admin
Admin


Number of posts : 312
Registration date : 2007-01-21

PostSubject: Re: AI   Mon Apr 23, 2007 7:55 pm

what is ai I hope i do not sound dumb since I do not do alot with game making

_________________
Back to top Go down
View user profile http://prize.forumdediscussions.com
scorpafi
Guest



PostSubject: Re: AI   Mon Apr 23, 2007 8:00 pm

"ai" as in artificial intelligence it basicly means computer players
Back to top Go down
Admin
Admin
Admin


Number of posts : 312
Registration date : 2007-01-21

PostSubject: Re: AI   Mon Apr 23, 2007 8:02 pm

I get what you mean but would have no idea on how to make them but that member gmdud seems smart ask him maybe he knows

_________________
Back to top Go down
View user profile http://prize.forumdediscussions.com
scorpafi
Guest



PostSubject: Re: AI   Mon Apr 23, 2007 8:05 pm

i would but he all ready wants to be in my team so i sent him a pm befor asking him if he wants to be in it or not when he replys i will broken image computer breakdown ask him
Back to top Go down
zappy77
moderator
moderator


Number of posts : 49
Registration date : 2007-04-06

PostSubject: Re: AI   Tue Apr 24, 2007 12:08 pm

Ah another ai question but first Admin if u c this topic im having a real hard time staying logged in first i want 2 ask do u have the reg version but sometimes it takes a while 2 reply but its all in paths/code and timelines if u are up reply
Back to top Go down
View user profile
scorpafi
Guest



PostSubject: Re: AI   Wed Apr 25, 2007 9:50 pm

do you have an example so i can have a clearer image of what you mean
Back to top Go down
zappy77
moderator
moderator


Number of posts : 49
Registration date : 2007-04-06

PostSubject: Re: AI   Thu Apr 26, 2007 1:23 pm

just give me a few days and il give u an example
Back to top Go down
View user profile
scorpafi
Guest



PostSubject: Re: AI   Sun Apr 29, 2007 7:33 pm

is it done yet i mean its been about 3 or more days, why would you use paths and not if distance to object and stuff like that
Back to top Go down
zappy77
moderator
moderator


Number of posts : 49
Registration date : 2007-04-06

PostSubject: Re: AI   Mon Apr 30, 2007 7:45 pm

Hi sorry my pc was down but before i can make u the basic engine i need 2 know what type of game it is fps 2d
Back to top Go down
View user profile
scorpafi
Guest



PostSubject: Re: AI   Mon Apr 30, 2007 7:50 pm

look in first post it says so it always has its a platformer e.g. i think its 2d like the same view o the patform example on the gmc website but remember it needs to be smart ai
Back to top Go down
zappy77
moderator
moderator


Number of posts : 49
Registration date : 2007-04-06

PostSubject: Re: AI   Tue May 01, 2007 12:17 pm

il try il tell u basicly what 2 do

1)Have sprites of all of his attacks etc. and desighn them in a certain position 4 him 2 do what u tell him

2)almost the same but it does it all in a random order il update later
Back to top Go down
View user profile
zappy77
moderator
moderator


Number of posts : 49
Registration date : 2007-04-06

PostSubject: Re: AI   Thu May 03, 2007 1:02 pm

Back to top Go down
View user profile
scorpafi
Guest



PostSubject: Re: AI   Sat May 05, 2007 11:26 pm

there is just one problem with that im using gm6 and that is gm7
Back to top Go down
zappy77
moderator
moderator


Number of posts : 49
Registration date : 2007-04-06

PostSubject: Re: AI   Sun May 06, 2007 8:22 am

theres also a solution download gm7 and open then youl manualy have 2 copy everything over im switching back 2 gm6 but im not manualy switching the stuf 2 gm6 the stuf u cant copy paste make your own or use print screen
Back to top Go down
View user profile
scorpafi
Guest



PostSubject: Re: AI   Sun May 06, 2007 6:34 pm

i dont have gm7 thats why i didnt do it my self and i dont plan on getting it neither gm2 was alot better and thats pretty funny considering its true
Back to top Go down
zappy77
moderator
moderator


Number of posts : 49
Registration date : 2007-04-06

PostSubject: Re: AI   Mon May 07, 2007 12:04 pm

im ki8nd of busy but il do it asap
Back to top Go down
View user profile
HexAttack
Noob
Noob


Number of posts : 5
Registration date : 2007-04-30

PostSubject: Re: AI   Fri May 11, 2007 3:12 pm

Admin asked me to post some info on AI. I mainly program in action script 3 so may not be of much use as I am unfamiliar with GM. By smart AI do you want the AI to move and jump across platforms? I would start with the something like this.

Give the AI enemy different states. The easiest and most common is based on the enemy’s health level. E.g.

Code:
State=”StandGround”
If health >80 State=”Aggressive”
If health <20 State=”Retreat”

This affects the AI behaviour. To do this create main structure for the AI as follows

Code:

If player close then
   If  State=”Aggressive” then
      Find path to player and follow path to player
      Guns blasting.
   End If
   If State=”StandGround” then
      Do not Move
      Guns blasting.
   End if
   If  State=” Retreat” then…
      Find path away from player
      If path found then
         follow path away from player
      Else
         Stand and fight
      End if
   End if
End if

The hard part will be the functions to find the path to the player and the away path. Start by keeping it simple like moving along a platform to the edge (This may be enough to make a good game). Once this is working you can add some code to determine if the AI can then make a jump to a better ledge. What scripting language does GM use?
Back to top Go down
View user profile http://www.hexattack.com
Admin
Admin
Admin


Number of posts : 312
Registration date : 2007-01-21

PostSubject: Re: AI   Fri May 11, 2007 5:22 pm

gm does not use a language I do not think it is a program here is a link to download gm not like you want to but the site might tell you about it it can do alot of things make sprites edit move all this stuff http://yoyogames.com/gamemaker/ you really also sound like you know what you are doing I bet if you try you could make an awesome game

_________________
Back to top Go down
View user profile http://prize.forumdediscussions.com
Sponsored content




PostSubject: Re: AI   

Back to top Go down
 
AI
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Gaming Revolution :: Graphics Gaming Webdesign :: Questions-
Jump to: