Jump to content
  • Advertisement
Sign in to follow this  

Am I in the right direction? java AI jmonkeySDK

This topic is 2196 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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


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

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!