actors leaving the screen, how come
vegasmike1
Member Posts: 192
I have a pinball game, flippers and all that going on, everything works but sometimes when I really smash the ball with the flipper it just screams off the screen. That said I have invisible borders that are suppose to put the ball back in play with a collied behavior. It works if the ball is just sort of poking around but if it picks up any speed, FAST, the it just blasts through the barrier, ie the inviso wall. Anybody else had this problem or know of a fix.
Also I want to use touch to activate the flippers, right now its with keys, which work perfectly but I am unclear how I define a touch actor "I GUESS" that would cause the flipper to activate. I have a screen that is 960 tall in portrait mode, so I want touches on the right to flip the right flipper and the left side touch to flip the left flipper.
And I want a new Jaguar for my birthday and a tall blonde women with a very tight game salad tshirt annnnnnn
Any help would be of course appreciated.
Thanks
Mike
Also I want to use touch to activate the flippers, right now its with keys, which work perfectly but I am unclear how I define a touch actor "I GUESS" that would cause the flipper to activate. I have a screen that is 960 tall in portrait mode, so I want touches on the right to flip the right flipper and the left side touch to flip the left flipper.
And I want a new Jaguar for my birthday and a tall blonde women with a very tight game salad tshirt annnnnnn
Any help would be of course appreciated.
Thanks
Mike
Comments
For the flippers, create two more invisible actors of equal sizes. One goes over the left, and another over the right. When they're touched, the flippers flip. Something along the lines of,
Right Flip = 0.
If actor "right flip trigger" is touched.
Right Flip = 1
If Right Flip = 1
Flip "Right Flipper"
Set Right Flip = 0
Same for the left. And bro, I want that Jaguar and well proportioned woman myself, but a red head in my case. Rowr.
Flipper problem :
when touch pressed
when mousex > 160
do right flipper
otherwise
do left flipper
Jaguar and women problem : They have been sent.
Thanks for the tip about the density, I tired it and it seems to have worked, until I find warp speed and then to heck with the game.
I am sending a redhead your way, but it might take a while I have only about 1.5 mb up for upload.
This whole script kinda of thing is weirding me out, I get what you wrote and I could make those actors big so that no matter where the flipper was in the view I could trigger it, but I dont really know how to say this actor, the invisible one is going to tell the visible one to do something. Yep, I am lost in the abyss of being not that smart.
However if you come to Vegas, I can for sure get you a free room and a bunch of redheads if you can tutor me on this one point.
THis actor tells that actor to do its thing. Just cant figure it out.
Mike
Two actors invisible actors, "Right Flip Trigger" and "Left Flip Trigger".
Then we have the two actual flippers, "Left Flipper" and "Right Flipper".
So when your finger touches the invisible trigger for the right flipper...
If "Right Flip Trigger" is touched
"Right Flip" = 1 (1 means true in computer language, which is why all coding languages are based on 0 and 1 combinations, all processes are essentially flipping of switches).
If "Right Flip" = True
Make "Right Flipper" flip (whatever behaviors you have for the actual action of the flipper moving)
Change "Right Flip" to 0 (0 is false, as you've probably figured out by now. setting it to 0 allows the flipper to be flipper again)
Off to try
Mike