Here's what I sent to your email. Posting here since it may give other users an idea. It's not a fully fleshed out method, but I think the concept is sound.
If you only want to be able to pass backwards, you can use a behaviour like calculate direction (may be renamed to calculate angle, cant remember).
to figure out where the team mate is in relation to the player. If they are behind, then turn on the "pass button" behaviours.
This concept requires some math and calculations to get right. But I think that is one way that may work. Or at least it's an idea on how to get started.
@Tal-G Drag the output from the started touching behaviour onto the field of the if. This is the output:
[image: e3271efb-4ff2-423d-8439-7aa710ebfc57.JPG]
Hello, @Evolution
I know 2 ways: using velocity and using timers+move by
[image: 5bb9ab56-c293-4734-8523-3216326bb081.PNG]
[image: dfde3299-38e0-464f-9327-bf528ed46109.PNG]
My velocity behaviors had a bug when character stops if you touched 2 buttons at same time and then released only one, but this can be easily fixed with «Behaviors on/off»
[image: 929ae0fe-d736-4136-ac42-b63f1b5d9717.PNG]
Simply timer and move by.. Behaviors on/off required for proper work without any glitches.
P.S. It's hard to see behavior off connections on this screenshot (sorry, my butterfingers), but it's simple: turn off right timer when character moves left and turn off left timer when character moves right.
I can send the project by e-mail if ya want.
Hope this helps! :-)
@Evolution
Lighting is one type of shader (which we're adding hopefully in the next version)
But shaders can do all sorts of cool effects. Blur being one of them :).
@Jack8680 It's working! There is only one problem, whenever the object turns direction, it begins uhhhh, doing something odd, as if it keeps changing z layer again and again. But it doesn't always happen, only sometimes.
[image: 47609030-b489-4d2c-9b45-a256b3d04afe.PNG]
Just asking but does the interface of hyperPad run at 120 fps on the new iPad pro. What I mean is the editor and the hub and forum cause they feel more smooth then they used to feel before
@TutorialDoctor yeah, loops are for going through the items as fast as possible. Try something like this for what you want:
[image: 4e4824e6-a511-4fe6-9df3-3c0a89ed4815.PNG]
It's nice to see that more people are coming to hyperPad, hopefully they will get better. If you go to my hyperPad profile you will see that lots of my games are terrible (you should have see my game press games.) but I got better over the years. now lots of my games are in hot projects and I have 4 apps on the App Store. They will get better as everyone else did.
@Nguyen-Tam Making massive objects is always laggy, but I believe making any object bigger is laggier than making them smaller. When I want to know things like this, I normally just duplicate (branch) my project so I can test it without ruining my original game. What is this small object? If it is an image with 100% scale and you want to make it lots bigger, it will also get really blurry. If it's an empty object, you should be fine. Enlarging objects won't really crash hyperPad though unless you do something else to make it REALLY laggy.