Help Needed!! Make actor swing open like old Saloon Doors?
beast22ros
Member Posts: 14
I want to make my actor door swing open, but only rotate by the pivot point and only move when collided. https://www.google.es/search?q=old+western+bars&espv=2&biw=1280&bih=701&source=lnms&tbm=isch&sa=X&ei=tkJnVaqkKYn8UNaPgcAJ&ved=0CAYQ_AUoAQ#tbm=isch&q=saloon+doors something like this. Any help would be apreciated
Answers
I would think it would make the most sense to animate the doors opening.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
@tatiang im afriad that wouldnt work since the actor has to go through the door continously, im going for something like this https://www.google.es/search?q=pokemon+ruby+badge+6&espv=2&biw=1280&bih=701&tbm=isch&source=lnms&sa=X&ei=hURnVc_SIeL-sATE5IPQBg&ved=0CAcQ_AUoAg#imgdii=3i1GwK6ZLvoZjM:;3i1GwK6ZLvoZjM:;HkocyXnivpPE8M:&imgrc=3i1GwK6ZLvoZjM%3A;4p8pnME-9qD9nM;http%3A%2F%2Fwww.psypokes.com%2Frs%2Fimages%2F6thgym.png;http%3A%2F%2Fwww.psypokes.com%2Frs%2Fwalkthrough.php%3Fpart%3D6;320;400
Make a large rectangle image that has the door on one half and transparency on the other half.
@beast22ros Does that work for you?
I guess I'm not understanding and that image of a game doesn't add any additional information for me about how you intend to use swinging doors. Why couldn't you animate the doors quickly if an actor needs to go through them several times?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Animation would get my vote...here's one I did that's a little different but same principle.
skip to 3:50 @tatiang
Ah, turnstyle!
So don't ask me about the specifics because I don't do much rotating of things, but I think you'll have to constrain two 'arm' actors to a central hub, and then rotate it on contact (or after a pause after contact).
Okay, so you want rotating doors. That seems completely different from the image you first posted of saloon doors. But anyway, have you tried just using a Rotate to Angle behavior that gets triggered when the character actor collides with the door actor?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
That video was so insanely frustrating to watch. I have to wonder if he was deliberately demonstrating the turnstyles in 50 different ways or if he just didn't see how he'd solved the puzzle 10 times before he actually did it.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
@tatiang how do you do that?