Post by iPizza on Dec 27, 2016 23:52:52 GMT -5
Hi guys! This is my third thread on this forum, it's about the "Custom Trail" concept, I got this idea from when I was experimenting with the new 2.1 triggers and decided to make something with the "Follow Y Player" one.
The concept is creating a trail or a line which moves at players Y position, but with some delay between the objects used to make it look like the actual gameplay vehicle movement.
Here I'll explain how to make it:
Step 1:
We start making a line of 6 or more objects that you want, "separating" each one by 7.5/15 spaces. (Clicking 7 times in the small right step on Edit mode and next clicking 2 times on the pixel step/even small step one).
Important: Assign each object to a group. (I used 6 objects so they're assigned from 1st to 6th groups respectively)
Step 2:
Select all those "Trail objects" and then assign them to the next free group, this is for making all those object follow the Player X-axis with a move trigger. (7th group in my case)
Step 3:
Put a Move trigger 0.5-1 block(s) after the last trail object with this config:
-Lock to Player X
-Move Time: 100 or more
-Group ID: The one which contains all objects. (7th group in my case)
Step 4 (and the most tricky for those who don't get how to use the Follow Y trigger):
Put a Follow Y Trigger and click Edit Object, this trigger should be asigned to the 1st group as we want to make the first trail object follow the Player Y-axis, let everything as it is excepting for the Move Time and Delay, put them like this:
-Move Time: 100 or more
-Delay: 0.05
Step 5:
Copy the Follow Y Player Trigger and put it above the original one, and Edit it, changing the target group for 2 (and so on for the next triggers) and the Delay like this:
-As the first Trigger has 0.05 on Delay, all we need to do is adding 0.05 more seconds to it, so for the second trigger the Delay has to be 0.10, 0.15 for the third, and so on.
-In my case, where I put 6 "trail objects", I had to respectively use 6 Follow Y Player Triggers, and those ones were on a vertical line distribution (if you don't put the triggers like this it may not work), the six triggers configuration was only diferenced by the Delay seconds. Here's my config:
1st group Trigger:
-Delay: 0.05
-Move Time: 300
2nd group Trigger:
-Delay: 0.10
-Move Time: 300
3rd group Trigger:
-Delay: 0.15
-Move Time: 300
4th group Trigger:
-Delay: 0.20
-Move Time: 300
5th group Trigger:
-Delay: 0.25
-Move Time: 300
6th group Trigger:
-Delay: 0.30
-Move Time: 300
...and so on if you will use more objects.
-The last thing you have to do after programming the triggers is selecting all trail objects and click the mirror X-axis button on Edit Mode.
Step 6:
Test the level, and you will see that the custom trail will follow you! To confirm that the trail works as we want, jump, and if the trail moves up as you're on mid-air and comes back to the ground when the jump is successfully done, then it's a perfectly made custom trail!
NOTES:
-This works for every gameplay mode, while on Ship mode, the trail can have a wobbly/straight movement depending on how you fly and control the ship; while on UFO mode, the trail does almost the same as while on cube mode; while on Ball mode, the trail can have a diagonal/curvy movement either if you're switching gravity or jumping with either jump orbs or jump pads; while on Wave mode, no need to explain; while on Robot mode, the trail will have a wobbly/curvy movement either if you do a short jump or high jump; while on Spider mode, the trail literally teleports and makes some weird movements if you spam-teleport.
-Using the Hide Icon Trigger will give some dank results Kappa.
-Remember to add +0.05 seconds of Delay between every single Follow Y Player's Trigger.
--
That's it! Hope you enjoy going creative with some amazing trails, don't forget to show them if you make one!
Btw I HOPE I made this understandable, I'm kinda bad at explaining...
The concept is creating a trail or a line which moves at players Y position, but with some delay between the objects used to make it look like the actual gameplay vehicle movement.
Here I'll explain how to make it:
Step 1:
We start making a line of 6 or more objects that you want, "separating" each one by 7.5/15 spaces. (Clicking 7 times in the small right step on Edit mode and next clicking 2 times on the pixel step/even small step one).
Important: Assign each object to a group. (I used 6 objects so they're assigned from 1st to 6th groups respectively)
Step 2:
Select all those "Trail objects" and then assign them to the next free group, this is for making all those object follow the Player X-axis with a move trigger. (7th group in my case)
Step 3:
Put a Move trigger 0.5-1 block(s) after the last trail object with this config:
-Lock to Player X
-Move Time: 100 or more
-Group ID: The one which contains all objects. (7th group in my case)
Step 4 (and the most tricky for those who don't get how to use the Follow Y trigger):
Put a Follow Y Trigger and click Edit Object, this trigger should be asigned to the 1st group as we want to make the first trail object follow the Player Y-axis, let everything as it is excepting for the Move Time and Delay, put them like this:
-Move Time: 100 or more
-Delay: 0.05
Step 5:
Copy the Follow Y Player Trigger and put it above the original one, and Edit it, changing the target group for 2 (and so on for the next triggers) and the Delay like this:
-As the first Trigger has 0.05 on Delay, all we need to do is adding 0.05 more seconds to it, so for the second trigger the Delay has to be 0.10, 0.15 for the third, and so on.
-In my case, where I put 6 "trail objects", I had to respectively use 6 Follow Y Player Triggers, and those ones were on a vertical line distribution (if you don't put the triggers like this it may not work), the six triggers configuration was only diferenced by the Delay seconds. Here's my config:
1st group Trigger:
-Delay: 0.05
-Move Time: 300
2nd group Trigger:
-Delay: 0.10
-Move Time: 300
3rd group Trigger:
-Delay: 0.15
-Move Time: 300
4th group Trigger:
-Delay: 0.20
-Move Time: 300
5th group Trigger:
-Delay: 0.25
-Move Time: 300
6th group Trigger:
-Delay: 0.30
-Move Time: 300
...and so on if you will use more objects.
-The last thing you have to do after programming the triggers is selecting all trail objects and click the mirror X-axis button on Edit Mode.
Step 6:
Test the level, and you will see that the custom trail will follow you! To confirm that the trail works as we want, jump, and if the trail moves up as you're on mid-air and comes back to the ground when the jump is successfully done, then it's a perfectly made custom trail!
NOTES:
-This works for every gameplay mode, while on Ship mode, the trail can have a wobbly/straight movement depending on how you fly and control the ship; while on UFO mode, the trail does almost the same as while on cube mode; while on Ball mode, the trail can have a diagonal/curvy movement either if you're switching gravity or jumping with either jump orbs or jump pads; while on Wave mode, no need to explain; while on Robot mode, the trail will have a wobbly/curvy movement either if you do a short jump or high jump; while on Spider mode, the trail literally teleports and makes some weird movements if you spam-teleport.
-Using the Hide Icon Trigger will give some dank results Kappa.
-Remember to add +0.05 seconds of Delay between every single Follow Y Player's Trigger.
--
That's it! Hope you enjoy going creative with some amazing trails, don't forget to show them if you make one!
Btw I HOPE I made this understandable, I'm kinda bad at explaining...