Talk:Silicon Frogs

Last Chance Todo List
finish the architecture of the Health system for enemies.


 * Every monster has a script called "Monster Health" and a variable "MHealth"
 * When a bullet hits something, it checks the tag/group. If it's an enemy it will send a message to the collider -&gt; game object -&gt; MonsterHealth.Health -= X. X being damage.
 * if not an enemy, just impacts and dies.

OnCollisionEnter(whatIHit : collider){ if (whatIHit.GameObject.tag = Enemy){ whatIHit.Gameobject.MonsterHealth.Mhealth - = X; }

Have bullet play sounds based on what it hits.

Finish the rabbit.

Fix the Pause function.

Storyboard the opening screen/ game over screen/ win screen.

Health Packs.

Project form description
Here's a paste dump. Student Name: David Nishball Term of entry: 2009/2010

Email: Den09@hampshire.edu Term of Independent Study: Jan Term 2012

Level: 200 School of Faculty Supervisor: CS Independent Study Title: Independent Game Development Description of Independent Study Project: Using the Design Document for the game "Revolting Vegetable", I will lead a team of students to create a functional, playable, and enjoyable game over the course of Jan Term. My personal goal will be double-duty as Senior Designer and Project Director, making sure everyone is contributing and that all our goals are met. The study will help me learn about the overall process of game development, as well as give me important skills for the industry. Upon completion of the project I will provide a copy of our product, and a retrospective about what I did and what I learned.

''Please not this is meant to be a draft. Edit it to reflect your own interests and abilities''

EXTREMELY USEFUL VIDEO
Dear God, it's almost shameful how useful this is.

http://www.youtube.com/watch?v=RkglrB6CBrE&amp;context=C387033aUDOEgsToPDskIan_VEKQBPjeGI3eSbMu2O

YOU TUUUUUBE. Den09 02:43, 5 January 2012 (UTC)

Script Reference Index
http://unity3d.com/support/documentation/ScriptReference/index.html

Chicken/Egg: Projectile Throwing &amp; Shooting http://unity3d.com/support/documentation/ScriptReference/Object.Instantiate.html

Timed Explosives http://answers.unity3d.com/questions/47395/explosive-like-in-cod-4.html

For Ai: look at the fps tutorial, there is an ai script in there and it can be changed to meet our needs i think. This script uses a character with guns and a sentry turrets as their ai objects, so we may need to change this to meet a squirrel firing nuts or a chicken firing eggs or a rabbit doing an attack animation.

unity3d.com/support/resources/tutorials/fpstutorial.html

Using Unity 3.4
Unity 3.4 scripts using a program called MonoDevelop, which can be found here: http://monodevelop.com/Download

In order to run, MonoDevelop needs MonoFramework 2.10.4 or higher. This can be found here: http://download.mono-project.com/archive/2.10.4/download/

Character Animation!
Hey Guys, heres the unity articles discussin Character Animation and Character Controller

unity3d.com/support/documentation/Components/class-CharacterController.html unity3d.com/support/documentation/Manual/Character-Animation.html

www.youtube.com/watch

shooting bullets!
answers.unity3d.com/questions/19710/shooting-a-bullet-projectile-properly.html

Squirrel Reference?!
www.youtube.com/watch

Unity Answers
http://answers.unity3d.com/index.html

Calculating health and damage of enemies.

Rabbits: .5 seconds of sustained fire to kill.

Squirrels: 1 second of sustained fire to kill, longer because they don't move.

Chicken: 3-5 secs of sustained fire to kill.

Wizard: ?????? to be decided.

Carrot will have 10 health sections. Each hit removes one. Each health pack restores 2 or 3.

Rabbit Bite: 1 section. need to implement a delay.

Squirrel Nut: 1 section. No contact damage on squirrel.

Chicken Bomb: 1 or 2 sections. High priority to avoid.

Animation tutorial
http://unity3d.com/support/documentation/Manual/Animation%20Scripting.html

animation
http://www.unity3d.com/support/resources/example-projects/character-animation

code
var projectile:Rigidbody; var fireRate : float = 0.1; private var nextFire : float = 0.0; var shootForce:float; var candy = 0; //var source:Transform;

function Update { if(Input.GetButton("Fire1") &amp;&amp; Time.time &gt; nextFire) {var instanceProjectile = Instantiate(projectile, transform.position, transform.rotation); nextFire = Time.time + fireRate; Physics.IgnoreCollision(instanceProjectile.collider, collider); instanceProjectile.AddForce(transform.forward * shootForce); audio.Play; }}

function Sweet { candy = 1; }

gui STUFF
Heres a thread for gui health bar mechanics:

[http://forum.unity3d.com/threads/116346-GUI-Texture-Healthbar-Help! forum.unity3d.com/threads/116346-GUI-Texture-Healthbar-Help!]

enemy gui health (optionable)

answers.unity3d.com/questions/129152/health-script-with-guitexture.html

unity support:

unity3d.com/support/documentation/ScriptReference/GUI.html

We'll use a horizontal scrollbar for the boss

unity3d.com/support/documentation/ScriptReference/GUI.HorizontalScrollbar.html

answers.unity3d.com/questions/topics/gui.html

mouselook
http://answers.unity3d.com/questions/11900/object-rotates-toward-mouse-2d-top-gameplay.html

health code
function OnTriggerEnter(Hit : Collider) { //// if(Hit.gameObject.tag == "Player") { GlobalHealth.Health -= 10; print("hitSuccess!"); } }

game start help
ntlamunity.wordpress.com/2010/09/15/game-start-screen/

Final wishlist:

Embed in hampedia page?

Fix finish line being triggered by all entities, not just carrot

fix collision of northern barn wall in Boss.

Chickens should have more health, eggs explode faster.

death animations for carrot, make them work. Toggle the "Moveable" in character controller.

Death anim for chicken?

Bunny Enemy!!!!!! It's been so long!

More enemies in hte overworld.

fix squirrels shooting way too fast when at low quality. Time.deltaTime

Put a limit on maximum squirrels during boss fight.

Implement sound effect when healing.

Fix tomatoe model, not so huge.

Put vegetables in a "Debris" physics class so they get messed up by carrot. Activate or deactivate physics based on carrot distance? Activate or deactivate the rigidbody component.

Smaller Turnips?

Keep health between level and boss fight.

Squirrel corpses fade faster.

Make broken fences weaker. Spark or sawdust when hit.

Death and injury sounds for everyone. Injury could be a squishy sound, while death is scream.

Randomize Carrot Pain sounds.

Attack sounds for wizard and chicken.

Make egg look more dangerous. Smoke particle effect? Figure out how to make it flash?

Implement Rob's logo.

"Click to continue" on title screen.

Louder music and SFX. Can always turn it down later.

Carror grunting at intro.

CROSSHAIR!!!!!!!!!! And if possible make it more accurate.

Raise broken fence hitbox. Can't shoot above.

Changing Camera to see Wizard? comic-style stils for a cutscnee?

spherebulletStreak does not expire over time.

Giant
One of the new games being developed. It involves the main character (Giant) catching gnomes on a time basis to advance to the next level.



3d gravity article www.scottpetrovic.com/blog/2010/06/unity3d-planetary-gravity-daylight-system-wsource/