You could try using the pathfind behavior.
Maybe you could try to compare the X position of each text and if it equals a certain number then you would know that the right word is in the right spot?
Im trying to cast a ray from the direction the player is looking but like slightly to the left or right. But I cant raycast from the player at an angle. So I have to tell it the position to raycast to. Is there a way to get that position based on an angle?
Oh, ok. It does seem to stop the bounce when jumping straight at the other planet, but when jumping and moving it doesnt.
[EDIT]
I just added platform: set vector X to 0, and that seems to have fixed it.
InDWrekt
Wow, that actually works really well. Is there any way to stop the bounce when switching gravity to a new planet? If not then thats ok, this is farther than I ever got, and with less events too!
just an idea but maybe on planet creation you could pick all others instances and check if distance is odd or not ? If it's not odd, move the planet 1 pixel away or sthing like this ?
Im not exactly sure what you mean by this.
Ok, so Ive made some changes to the original and I think it works better, but it still acts kinda weird.
https://drive.google.com/file/d/12NVFHVP8-ovepy8CefEdjZhPevZLBx1H/view?usp=sharing
That is a great idea, but I found that the gravity direction breaks when you are in the middle of two planets. I think it has to do with when the other planet 'catches' you. When that happens there is a slight bounce away from the planet before you fall to it. While your example did work with the two placed there, when I tried to rearrange them to test it this happened.
What Im trying to do is set the gravity angle of the platformer behavior to the nearest object. Kinda like a planet. So you could jump from one 'planet' to another and the gravity would switch to that one.
Develop games in your browser. Powerful, performant & highly capable.
personaje puede colocarse delante y al pasarlo colocarlo detrás del objeto con el que colisiona
I'm not sure what you need, can you explain more?
No estoy seguro de lo que necesitas, ¿puedes explicar más?
You can use the "move to top" and "move to bottom" actions.
I don't really know Spanish so sorry if its bad.
Puede usar las acciones "mover hacia arriba" y "mover hacia abajo".
Realmente no sé español lo siento si es malo.
Swiping again when one window is open should go to the next one.
Member since 16 Jun, 2018