Sign in to follow this  
StrangeTurtle

Am I in the right direction? java AI jmonkeySDK

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

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this