Pinball Paddles

ktfrightktfright Member Posts: 964
edited November -1 in Working with GS (Mac)
I have been looking at different forum threads, but I cant seem to find out the absolute best way to make pinball paddles that rotate correctly. any tips? :)

Comments

  • synthesissynthesis Member Posts: 1,693
    just change the self.rotation to a value when touched and back to default when released.
    In real pinball...they are either up or down...not much motion to them.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    because gamesalad centers everything, you'll need to make them twice as wide as normal - half of each flipper graphic will be transparent.
  • PhoticsPhotics Member Posts: 4,172
    I tried making Pinball Flippers. I got pretty close, but the ball occasionally goes right through the flippers.
  • design219design219 Member Posts: 2,273
    Funny, I was thinking of trying a pinball game in the near future.

    I had sort of thought about a seesaw type paddle with half transparent like firemaplegames is suggesting.
  • PhoticsPhotics Member Posts: 4,172
    I have a great idea for a pinball game, but I can't release it with inconsistent collision detection... very frustrating. I'm waiting for the next version of GameSalad. Maybe it will make things better.
  • guru-at-zidwareguru-at-zidware Member Posts: 369
    a template would be great..maybe someone can post! I used to design big "arcade" pinball for Bally, and can help any who want to venture along in design....??
  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,159
  • firemaplegamesfiremaplegames Member Posts: 3,211
    @guru: what pinball machines did you work on?!

    I currently own:

    Attack from Mars
    Twilight Zone
    Indiana Jones
    Theatre of Magic
    Dracula
    Creature from the black lagoon
    Champion Pub
  • PhoticsPhotics Member Posts: 4,172
    ☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐
    ☐☐☐☐☐❚❚☐☐☐☐☐❚❚☐☐☐☐☐
    ☐☐☐☐☐❚❚☐☐☐☐☐❚❚☐☐☐☐☐
    ☐☐☐☐☐❚❚☐☐☐☐☐❚❚☐☐☐☐☐
    ☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐
    ☐☐❚❚☐☐☐☐☐☐☐☐☐☐☐☐❚❚☐
    ☐☐☐☐❚❚☐☐☐☐☐☐☐☐❚❚☐☐☐
    ☐☐☐☐☐☐❚❚❚❚❚❚❚❚☐☐☐☐☐
    ☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐

    I'm happy. This template is great!
  • synthesissynthesis Member Posts: 1,693
    Nice template...
    Now I want to do a pinball game! :)

    Too many ideas...not enough time....UGH!
  • PhoticsPhotics Member Posts: 4,172
    So OK, I took a closer look at this. It was very close to my Pinball game. I couldn't understand why mine wasn't working when the template was working.

    Heh... and then I took a look at the scene attributes. The scene has zero gravity. For a second, it was like my brain was trying to divide by zero. I couldn't understand how it was possible. How could such a world exist without gravity?

    Apparently, that's my first issue. I'm designing a game like in the real world... with gravity... when maybe I should just be simulating gravity with accelerate.

    That might be the problem with my other game. I'm wondering if I disabled gravity, it might solve the joystick problem.

    Although, that didn't quite fix my pinball game. I tried other settings. I went back and changed my flippers... 100 density... nope... that didn't work. I noticed that the flippers in the demo moved to a horizontal angle... while mine extended further. Could this be the problem? Did the angle of the flippers matter? Nope... I changed the template to rotate the flippers further. I could trap the pinball and everything seemed to work fine.

    Could restitution have something to do with it? I don't think so, as the demo has the left flipper at zero while the right flipper is at 1.

    That's when I tried doubling up on the collisions. It was suggested on the forums before. I put collide on both of my flippers. It got a lot better.

    So, that brings up some questions...

    1) Is gravity bad to use if it can be avoided?

    2) What are the rules for using shared templates? Could someone just take the shared template, turn it into a full pinball game and sell it?

    3) Where do you keep seven pinball games?! :)

    Heh... Attack From Mars is a great pinball game.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    3) Where do you keep seven pinball games?! :)

    - right next to the 10 arcade games of course!
  • guru-at-zidwareguru-at-zidware Member Posts: 369
    hi...@FMG....I designed ToM.

    The template is great, we should add a plunger and a little more code for ball count or high score? Would be nice. I can do the art and post on wed....
  • firemaplegamesfiremaplegames Member Posts: 3,211
    guru: I just noticed your profile, John Popadiuk! Are you kidding me?! That is SOOO AWESOME! You are definitely one of my game design heroes!

    Someday I will own a ToTAN as well!
  • HunnenkoenigHunnenkoenig Member Posts: 1,173
    Hm... I don't know you Guru, but may I ask you, what an apparently resident design god (at least for one man on earth :-P) is doing on this forum?

    Shouldn't you be some chairman at some big company, like EA and having hundreds of programmers working for you? :-P

    Sorry for highjacking the topic :-)

    @Firemaple: It seems, you have a very big house :-)
    Do you want to adopt me? :-)
  • tellardtellard Member Posts: 11
    There's something in the template I don't understand. I have a very similar solution going on here but the flippers are returned to the default position by an Otherwise. In the template the flippers return to the default position without a specific command to do so. That doesn't work here, how does it work there?
  • PhoticsPhotics Member Posts: 4,172
    Heh... hey, don't derail my train :)

    There are still two unanswered questions...

    1) Is gravity bad to use if it can be avoided?

    2) What are the rules for using shared templates? Could someone just take the shared template, turn it into a full pinball game and sell it?

    tellard, are you using "Relative to scene" in the rotate to angle? The "otherwise" option is what I used before seeing this demo... and it's what I see in the demo... It worked for me.
  • guru-at-zidwareguru-at-zidware Member Posts: 369
    Hi....Guru = John...

    Well I own a small dev company. Just doing kids games and new app stuff. Love the iPad. Working on a BIG project for Apple (itunes) now. 1 year so far in development, but still a long way from complete.

    But I do have humble roots and being a GS dev is really cool....IMHO. Nice to see the pinball enthusiasts.
  • HunnenkoenigHunnenkoenig Member Posts: 1,173
    @photics:

    You don't need gravity. Just use bounce and restitution.

    In my wallbreaker game it works without problems. A wallbreaker is the same, like a pinball in the basics.

    @guru:

    I don't know, what you mean with Guru=John, but if it is some rebuke, then please call me Attila, even if you can't know that this is my real name and even if my nick is Hunnenkoenig :-P

    Otherwise nice too meet you here :-)
  • QuinnZoneStudiosQuinnZoneStudios Member Posts: 452
    My favorite pinball machine in the '80s was Flash Gordon one. Perhaps I can own one when I'm old and stupid.... oh wait - that's now...... YEEE-HAAAA!!!!

  • guru-at-zidwareguru-at-zidware Member Posts: 369
    FG is great...love the strobe light!
  • jhaasjhaas Member Posts: 233
    Shameless plug...

    Here's my pinball game just released today...

    http://itunes.apple.com/us/app/cartoon-pin-ball/id361984641?mt=8
  • ValanValan Member, BASIC Posts: 410
    I think gravity in pinball would be restrictive to the gameplay.

    In GS the gravity pulls the ball towards the side of the device; X or Y axis. On a real table it pulls towards the table; Z axis.

    Acceleration can be altered easily. Multiple layers with ramps and rails would be a headache with gravity.

    I think a lot of computer pinball games use predetermined paths rather than physics.
  • tellardtellard Member Posts: 11
    "Heh... hey, don't derail my train :)

    There are still two unanswered questions...

    1) Is gravity bad to use if it can be avoided?"

    Sorry. To answer - I just add an Accelerate to the Ball actor. Gravity is almost always a bad idea as you keep on having to lock everything down with Constrain Attribute.

    "tellard, are you using "Relative to scene" in the rotate to angle?

    Yes. But the Otherwise I am using seems to not be in the demo template. Not a big drama but always learning.
  • PhoticsPhotics Member Posts: 4,172
    I'm not sure what to do with gravity. Sometimes it's good, sometimes it's not. What's frustrating is watching things work on the PC, but it not working on the iPhone. Today, I watched balls go right through walls.

    Question #2 is still unanswered...

    2) What are the rules for using shared templates?

    Are people allowed to take the templates, improve them, and then resell them? What's the license they're using... or are you just supposed to use them as examples?
  • ktfrightktfright Member Posts: 964
    @ photics, the way I see it, you can use the templates as a starting point in a sense, but there has been a few people here a while ago who just got a template, changed a few colors and submitted it as an app. My first game started from a shmup template, but I drastically altered and added to the point where it was completely different from the beginning.
  • PhoticsPhotics Member Posts: 4,172
    Well, that's the thing... can someone do that? Is that the intention of the shared projects part of GameSalad?

    I think GameSalad could use more starting templates... like the pinball one... I think the pinball template should be there with space rocks and the touch joysticks demo. (Heh, but then I can see a huge surge in pinball games on the iPhone app store. :)

    The pinball one is great. It was very close to my own, it just highlighted a mistake that I was making... switch from gravity and double up on the collides. I'm not using the template, so I can move forward with my project. Yet... I still get this weird feeling when I look at shared projects. I don't want to just take someone's work.

    For example, I really enjoy the game "Population: Tire". ( http://www.homestarrunner.com/pop_tire.html ) I could make my own version of that game in about a day, but I'd feel bad about it. I don't want to make clones. I try to do original stuff... but if it's in a shared section, what does that mean? Is the intent for you to take it do whatever you want with it?
Sign In or Register to comment.