Search Unity

Feedback please!

Discussion in 'Made With Unity' started by willgoldstone, Nov 23, 2006.

  1. willgoldstone

    willgoldstone

    Unity Technologies

    Joined:
    Oct 2, 2006
    Posts:
    794
    Hi everyone,


    I've made a basic level to test out some functions of a first person shooter type game and I wondered if you wouldnt mind taking a look and giving me any feedback you like.

    www.willgoldstone.com/robotest


    Regards,


    Will
     
  2. escondar

    escondar

    Joined:
    Dec 20, 2005
    Posts:
    83
    Cool. Nice test. I seemed to run out of ammo after wasting about a dozen little robots. I love the distant city scape. it really works well. looking forward to more versions, levels

    Cheers


    Willie
     
  3. forestjohnson

    forestjohnson

    Joined:
    Oct 1, 2005
    Posts:
    1,370
    Problems I was having:

    I can shoot through the ground if I shoot at the right angle
    It is too easy
    the explosion when my bullet hits the ground and not a robo is ugly
    I have to jump to get over the bridge
    I never won because both times I tried it freezed and then crashed
     
  4. willgoldstone

    willgoldstone

    Unity Technologies

    Joined:
    Oct 2, 2006
    Posts:
    794
    I have no settings to restrict ammo...
     
  5. yellowlabrador

    yellowlabrador

    Joined:
    Oct 20, 2005
    Posts:
    562
    Very Nice, I like the robots and the background city.

    Not sure if you are aware of this, but here are some screnn shots.
    Also Shooting at the wall, bullet goes thru and shooting at the ground(missing the robots) explosion are not the same as hitting the robot. Not sure if it's intentional.

    I also like the audio
    :)

    Ray
     

    Attached Files:

  6. forestjohnson

    forestjohnson

    Joined:
    Oct 1, 2005
    Posts:
    1,370
    You can get rid of the lines in the sky by setting the repeat value of the sky textures to clamp instead of repeat.

    How are you handling bullet collisions? I think the best way is raycasts. Here is my bullet code:

    Code (csharp):
    1.  
    2.  
    3. var speed = 0.00;
    4. var randomMovement = 0.00;
    5. var gravity = 0.00;
    6. var framesPerRay = 1;
    7. var extraRayDistance = 0.00;
    8.  
    9. var damage = 0.00;
    10. var explosion : GameObject;
    11. var detachChildren = true;
    12.  
    13. private var velocity : Vector3;
    14. private var hit : RaycastHit;
    15.  
    16. private var frames = 0;
    17. frames = framesPerRay;
    18.  
    19. velocity = transform.TransformDirection(Vector3.forward) * speed;
    20.  
    21. function Update ()
    22. {
    23.         frames ++;
    24.  
    25.         if(frames >= framesPerRay  Physics.Raycast(transform.position, velocity, hit, (velocity.magnitude * framesPerRay * Time.deltaTime) + extraRayDistance))
    26.         {
    27.             frames = 0;
    28.            
    29.             other = hit.collider.gameObject;
    30.             Detonate(other, hit.point, hit.normal);
    31.         }
    32.        
    33.         velocity.y -= gravity * Time.deltaTime;
    34.         if(randomMovement != 0) velocity += Random.insideUnitSphere * randomMovement * Time.deltaTime;
    35.        
    36.         transform.rotation = Quaternion.LookRotation(velocity);
    37.         transform.Translate (0, 0, velocity.magnitude * Time.deltaTime);
    38.  
    39. }
    40.  
    41.  
    42. function Detonate (o : GameObject, p : Vector3, r : Vector3)
    43. {
    44.     o.SendMessage("Damage", damage, SendMessageOptions.DontRequireReceiver);
    45.    
    46.     if(explosion)
    47.     {
    48.         object = Instantiate(explosion, p, Quaternion.LookRotation (r, Vector3.up));
    49.     }
    50.        
    51.     if(detachChildren) transform.DetachChildren ();
    52.     Destroy (gameObject);
    53. }
    54.  
     
  7. Mindless_Soul

    Mindless_Soul

    Joined:
    Feb 1, 2006
    Posts:
    128
    Cool, nice work so far.

    Suggestions:
    • Wait a little longer to destroy the pieces of robots.
      Rather than simply destroying the pieces, fade them out (this could be acheived by switching to an Alpha shader and slowly turning down the opacity).
      Turn down the mouse sensitivity; It's really high as it is now
      Smarter AI
      Limited ammo (I realize you aren't finished yet)
    I'm looking forward to updates!
     
  8. greenland

    greenland

    Joined:
    Oct 22, 2005
    Posts:
    205
    I'm pretty sure this is the best game ever solely based on the fact that it has exploding lego people.
     
  9. amcclay

    amcclay

    Joined:
    Aug 8, 2006
    Posts:
    143
    Wow great work - It just feels like what a 'prototype' should feel like. very clean, simple and loads of possibility for expansions. You've proven out all of the very core mechanics (shooting, getting a key, basic AI, good movement, etc)

    Looks like you've got a nice little platform on which to start building lots of fun stuff...

    How did you make your robots blow up like that? I love it.
     
  10. Morgan

    Morgan

    Joined:
    May 21, 2006
    Posts:
    1,223
    The robots are great. Mouse speed is too fast for me to aim, but that's not unusual for me :)
     
  11. bigkahuna

    bigkahuna

    Joined:
    Apr 30, 2006
    Posts:
    5,434
    This player crashes Firefox on me. I tried it 3 times and each time it crashed at about the same point in the game. I attached a screenshot FYI.

    I ran the Apple Hardware Test 3x to make sure it isn't my hardware. My system specs:

    iMac 17" Intel Core Duo
    1 GB RAM
    OS X 10.4.8
    Firefox 1.5.0.8
     

    Attached Files:

  12. bigkahuna

    bigkahuna

    Joined:
    Apr 30, 2006
    Posts:
    5,434
    Hmmm... I just tried it with Safari and it crashed right as soon as I reached my 15th point.

    Anyone else?
     
  13. David-Helgason

    David-Helgason

    Moderator

    Joined:
    Mar 29, 2005
    Posts:
    1,104
    Reproduced, albeit at 40 robots :)

    We'll look into it.

    d.
     
  14. bigkahuna

    bigkahuna

    Joined:
    Apr 30, 2006
    Posts:
    5,434
    That's because you're a better player than me :D

    I submitted a bug report and just tested all the demo players on the Unity website. This player is the only one I have problems with.