Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

#1GAM6 : PinBall

Discussion in 'Works In Progress - Archive' started by FlyingRobot, Jun 20, 2013.

  1. FlyingRobot

    FlyingRobot

    Joined:
    May 5, 2012
    Posts:
    456
    I couldn't find time to work with the RPG Playmaker kit, those who are waiting for it, please play Pinball in the meantime.


    Updates :
    1. Press enter, hold and release to release the ball plunger.
    2. A to nudge table left, ‘ (single quote key) to nudge right
    3. Spacebar to nudge table up
    4. Z to flick left flipper, / to flick right flipper
    5. Slingshots added
    6. Bumpers and a gate added.
    7. Ramp
    8. Holes
    9. Targets

    PS : any die hard Pinball fans here?
    ... robot asking dumb questions again.
     
    Last edited: Aug 20, 2013
  2. FlyingRobot

    FlyingRobot

    Joined:
    May 5, 2012
    Posts:
    456
    Update on the system :

    Press enter, hold and release to release the ball plunger.
    Left shift and Right shift to operate the flippers.

    Spacebar to nudge table up
    Z to nudge table left
    / to nudge table right

    WebPlayer
     
  3. FlyingRobot

    FlyingRobot

    Joined:
    May 5, 2012
    Posts:
    456
  4. nukeD

    nukeD

    Joined:
    Feb 12, 2009
    Posts:
    411
    Hey, you totally took me by surprise with this fast development. I was checking the flying robot forum but didnt check here :D
    Great work so far man, the physics and the control feel good! Will you implement mobile controls?
    Cant wait for this kit to come out!
     
  5. FlyingRobot

    FlyingRobot

    Joined:
    May 5, 2012
    Posts:
    456
    Yeah! Surprise! Thanks for suggesting the theme!

    I will add mobile controls. Actually will update all of my kits with mobile controls. But it'll take about a month or so for that.

    Building the systems up steadily. Bumpers and gates added. Check!

    WebPlayer
     
  6. jeko_composer

    jeko_composer

    Joined:
    Oct 16, 2012
    Posts:
    40
    Very cool my friends!!
     
  7. FlyingRobot

    FlyingRobot

    Joined:
    May 5, 2012
    Posts:
    456
    ... robot was out of action for a month or so. Back now!

    The webplayer is updated with more systems (ramp. etc)
    WebPlayer

    I've underestimated this game. The physics is more tricker than I thought.
     
    Last edited: Jul 27, 2013
  8. BIG-BUG

    BIG-BUG

    Joined:
    Mar 29, 2009
    Posts:
    457
    Yeah, some time ago I tried something similar but also did not get the physics "right".
     
  9. FlyingRobot

    FlyingRobot

    Joined:
    May 5, 2012
    Posts:
    456
    I'm trying to nail it this time. Please stay close and critique! :)

    It's wonderful if we get to an system for designing pinball games. It's so fun designing these systems. Will post another update in the next few hours.
     
  10. FlyingRobot

    FlyingRobot

    Joined:
    May 5, 2012
    Posts:
    456
    Posted another update. With holes, targets, scoring, hi-score checkig,

    WebPlayer

    Ready to texture!
     
  11. shaderbytes

    shaderbytes

    Joined:
    Nov 11, 2010
    Posts:
    900
    Great to see you having a go at a pinball game ;)

    Ready to texture .. nope.

    I am a avid virtual pinball player - Zen Pinball , Pinball Arcade, Future Pinball and others etc. I also have experience playing real pinball tables , and have built a pinball game in Unity myself. With that been said let me help you with some critique. I just tried your web player and the physics is terrible. None of your physics surface settings are correct as well as your ball mass and gravity / table slope. The flipper motors are much much too slow as well.

    Im not sure if you play any other virtual pins? You really need to compare what you have here so far to some already existing sims to see what Im referring to.

    If you dont have any other pin sims to compare to here is my table :

    http://www.shaderbytes.co.za/tortuga_tales/

    edit:
    ps.. my flippers are on the control keys as there is a bug in unity engine with using two shift keys at the same time :

    http://forum.unity3d.com/threads/178942-Unity-3-5-7f6-dual-shift-key-bug
     
    Last edited: Jul 27, 2013
  12. shaderbytes

    shaderbytes

    Joined:
    Nov 11, 2010
    Posts:
    900
    Just thought I would add that virtual pinball is a niche market and most players are very critical over physics.. Your current version would get slammed for sure ..

    Not that anybody has it done perfectly - I recently did some adjustments to mine again for an even more weighty ball and Im sure i will still tweak it more in the future.

    but you need to at least get it to behave much better than you have it now.
     
  13. FlyingRobot

    FlyingRobot

    Joined:
    May 5, 2012
    Posts:
    456
    Wow! Thanks man! I needed this badly. :)

    I won't call myself an avid pinball player, but played Zen Pinball, Pinball Rocks. But not the real machines. So, I think I must be missing that experience.

    Your game felt very good, the ball felt weighty, but fast and the slingshots exerting right amount of force. Yeah, I have to go back to the physics.
    Thanks for the pointing out the shift key bug, didn't have a clue.

    Will get back with updates soon. Thanks again!
     
  14. FlyingRobot

    FlyingRobot

    Joined:
    May 5, 2012
    Posts:
    456
    Updated the Webplayer after tweaking the physics. The balance is really between the time steps, physics collision penetration iteration and velocity capping. Also adjusting the masses and the forces applied to it.

    Please check and comment how it feels now.

    WebPlayer

    PS : Mapped the shift keys to control keys.
     
  15. Maurice-Hoffman

    Maurice-Hoffman

    Joined:
    Jan 22, 2009
    Posts:
    182
    Hello FlyingRobot i am on vacation so i can't react much, but i use a macbookpro and i have only one ctrl key ; ) .
     
  16. FlyingRobot

    FlyingRobot

    Joined:
    May 5, 2012
    Posts:
    456
    Hello Maurice,

    I've updated the webplayer. Worked on the ball physics. Damn, it's trickey. Anyway, I think I'm on the right track, please check.

    Was having problem with the keys, remapped them again. Also, I won't want you to miss the fun while in vacation. :)

    z = left flipper
    / = right flipper
    a = left nudge table
    ' = right nudge table
    space = nudge table up
    enter = plunger

    WebPlayer
     
  17. FlyingRobot

    FlyingRobot

    Joined:
    May 5, 2012
    Posts:
    456
    $SC4_small.jpg

    Lit and textured to conclude this one. This is now it's way to the Asset Store as a PlayMaker Kit.

    Lastly, I'd like to point out, Unity physics needs improvement. Especially when things get fast.

    WebPlayer
     
  18. imaginaryhuman

    imaginaryhuman

    Joined:
    Mar 21, 2010
    Posts:
    5,834
    That looks quite neat, congrats on another project done.
     
  19. Maurice-Hoffman

    Maurice-Hoffman

    Joined:
    Jan 22, 2009
    Posts:
    182
    Great i will buy it
     
  20. FlyingRobot

    FlyingRobot

    Joined:
    May 5, 2012
    Posts:
    456
    Thanks guys,

    Doing the mobile controller system for this now. As I'm upgrading all of my kits with mobile controllers, this one will be released with it from the very first version.
     
  21. FlyingRobot

    FlyingRobot

    Joined:
    May 5, 2012
    Posts:
    456