Sign in to follow this  

Class Projects

This topic is 2050 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 just wanted to post a couple of class projects here to get some feedback.

[url="http://dl.dropbox.com/u/18231613/Boids/WebPlayer/WebPlayer.html"]This[/url] project was my first attempt at a flocking algorithm. I used the Unity wiki boids script as a starting reference and went from there. You can change the weighting of behaviors in the web build. Q and A will increase or decrease “Randomness” respectively. Likewise W and S will control “Cohesion”, E and D will control “Alignment” and R and F will control “Separation” which starts out heavily weighted as there are no colliders on the boids. The boids will also fly towards and then around three way-points.

[url="http://dl.dropbox.com/u/18231613/ForTaylor/WebPlayer/WebPlayer.html"]This[/url] project was an attempt at basic AI behaviors using Unity's NavMesh component. I was given behaviors from another student that he wanted included into his game. This build is very primitive and I have moved the camera back so you can view the behaviors bettor. The enemies will change color based on there current state. Blue is idle, red is attacking, black is retreating, yellow is patrolling, and green is wandering. If you face an enemy and press Q you will “attack” them, their health will decrease and once their health gets low enough they will retreat, if far enough away their health will regenerate and they will attack once again. One enemy will start out wandering and the other will start out patrolling, if either “see” you they will attack. Be warned some walls do not have colliders and you will then fall for ever, I don't think there is a key to reset the scene and I am a little pressed for time at the moment.

Share this post


Link to post
Share on other sites

This topic is 2050 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.

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