I am making a top-down game called Journey to the Underworld. On the 2nd level where Charon drives you across the River Styx, I want the level to be a long river with rock obstacles that you need to traverse around, and I need to make sure that players can’t see the black color of the level background, but I can’t do that without using too many blocks that eventually cause too much lag on my end. Someone please help.
turn bgr repeat on in the camera
In the same game, I want some sort of pointer that points the player to their next destination, but I have absolutely no idea how to do so. If anyone has any tips, please do tell.
use the point at behavior and have it in the ui layer so it stays in the right spot. if you want it to go away just use the alpha behavior
Can you please elaborate more on this?
basically you get the x & y positions of the goal and connect it into the inputs of the point ta behavior this will make it point to that position. If you put it in the ui layer it will remain on screen no matter what and will show above everything. here is an example:
The player uses a point at behavior to always be rotated toward the mouse (the plus sign) the code is easy:
here is the code:
{"data":{"behavior":{"v":"2","nodes":[{"inputCount":0,"outputCount":1,"name":"Always","behaviorType":"logic.triggers.Always","x":450,"y":-304,"group":"","id":"0393ad70020de949"},{"inputCount":2,"outputCount":1,"name":"PointAt","behaviorType":"logic.components.PointAt","x":810,"y":-304,"group":"","id":"0393cce64fb36c47","skipRot":false},{"inputCount":1,"outputCount":2,"name":"MouseMove","behaviorType":"logic.triggers.MouseMove","x":630,"y":-304,"group":"","id":"0393f66f32932a40","notes":"Replace with the X & Y of the coordinates","n_o":1,"gameCoords":true}],"links":[{"input_id":"0393f66f32932a40i0","output_id":"0393ad70020de949o0"},{"input_id":"0393cce64fb36c47i0","output_id":"0393f66f32932a40o0"},{"input_id":"0393cce64fb36c47i1","output_id":"0393f66f32932a40o1"},{"input_id":"0393f66f32932a40i0","output_id":"0393ad70020de949o0"},{"input_id":"0393cce64fb36c47i0","output_id":"0393f66f32932a40o0"},{"input_id":"0393cce64fb36c47i1","output_id":"0393f66f32932a40o1"}]}}}
here is a picture:
If you would like any more assistance please feel free to ask
@Death68093, what do you mean by “Replace with the X & Y of the coordinates”? I don’t understand what I am supposed to replace.
give me a minute & ill give you an example
@Death68093 I do also want it to follow the player and act like a compass almost. Would that be possible?