Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Am I in the right direction? java AI jmonkeySDK

4: Adsense

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
No replies to this topic

#1 StrangeTurtle   Members   

133
Like
0Likes
Like

Posted 19 September 2012 - 02:00 PM

I am interested in proximity based text alerts and basic Ai enemies walking in predetermined paths for a murder mystery game. Am I right to think that this is purely based on positions or will this get too cumbersome making me rewrite code. Hero is in position(x,y,z) and multiple bad guys are in different badguy(xyz) positions

update_every_frame{

if (distance_from_hero_to_Badguy<10feet && line of sight=true){ create HUD text alert and give choices to hero}
if(distance from object){provide specific HUD text based clues on that object such as you smell object nearby}
if(click on object){provide specific HUD text based clues on that found object}

}


Is this correct logic that can be pursued or do i need to do more homework? I attached an image of some triple pre alpha graphics

"Oh, God, I'm nervous. Two of my three hearts are having attacks." -Zoidberg
Site: http://www.strangeturtle.com





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.