Various issues in my game

Another random issue that has appeared all of a sudden, is my jump not working right, the character barely gets any height, and isn’t effected by the short hop. It worked perfectly fine before.

This is a game I’m currently working on that’s in its very very early beta stages. If you go into the editor for level 1 and go into the background layer look at Main Path. There you can look at the code in it. It shows off how to use the position thing I was talking about, hope this helps.

I’m not sure what I did wrong, But i copy and pasted it, but it only does some of the sides.

{“data”:{“behavior”:{“v”:“2”,“nodes”:[{“inputCount”:0,“outputCount”:1,“name”:“Once”,“behaviorType”:“logic.triggers.Once”,“x”:-720,“y”:-416,“group”:"",“id”:“bf610e4d69d33d4a”,“resetOnLevelStart”:false},{“inputCount”:3,“outputCount”:1,“name”:“Number”,“behaviorType”:“logic.logic.Value”,“x”:-360,“y”:-384,“group”:"",“id”:“bf6121a19a6de540”,“startVal”:0,“tag”:“Its Y Value”,“roundMode”:1},{“inputCount”:3,“outputCount”:1,“name”:“Number”,“behaviorType”:“logic.logic.Value”,“x”:-360,“y”:-480,“group”:"",“id”:“bf61226bae141043”,“startVal”:0,“tag”:“Its X Value”,“roundMode”:1},{“gateVal”:0,“mode”:“equal to”,“inputCount”:2,“outputCount”:2,“name”:“Filter”,“behaviorType”:“logic.logic.Filter”,“x”:-180,“y”:-384,“group”:"",“id”:“bf612784095ee247”},{“gateVal”:0,“mode”:“equal to”,“inputCount”:2,“outputCount”:2,“name”:“Filter”,“behaviorType”:“logic.logic.Filter”,“x”:-180,“y”:-480,“group”:"",“id”:“bf61283bac6f4a49”},{“inputCount”:1,“outputCount”:1,“name”:“Extractor”,“behaviorType”:“logic.properties.Extractor”,“x”:-540,“y”:-384,“group”:"",“id”:“bf6137e22794014e”,“targetId”:0,“prop”:“y”},{“inputCount”:1,“outputCount”:1,“name”:“Extractor”,“behaviorType”:“logic.properties.Extractor”,“x”:-540,“y”:-480,“group”:"",“id”:“bf61389c0061864d”,“targetId”:0,“prop”:“x”},{“inputCount”:2,“outputCount”:1,“name”:“Logic Gate”,“behaviorType”:“logic.logic.Gate”,“x”:0,“y”:-416,“group”:"",“id”:“bf61465c1af57744”,“gateType”:“AND”},{“inputCount”:3,“outputCount”:2,“name”:“Animation”,“behaviorType”:“logic.properties.Animation”,“x”:180,“y”:-416,“group”:"",“id”:“bf615baff923a140”,“animationName”:“Beginning of Walkway”,“priority”:0,“lastFrameSticky”:true}],“links”:[{“input_id”:“bf61389c0061864di0”,“output_id”:“bf610e4d69d33d4ao0”},{“input_id”:“bf6137e22794014ei0”,“output_id”:“bf610e4d69d33d4ao0”},{“input_id”:“bf6121a19a6de540i0”,“output_id”:“bf6137e22794014eo0”},{“input_id”:“bf6121a19a6de540i1”,“output_id”:“bf6137e22794014eo0”},{“input_id”:“bf612784095ee247i0”,“output_id”:“bf6121a19a6de540o0”},{“input_id”:“bf61226bae141043i0”,“output_id”:“bf61389c0061864do0”},{“input_id”:“bf61226bae141043i1”,“output_id”:“bf61389c0061864do0”},{“input_id”:“bf61283bac6f4a49i0”,“output_id”:“bf61226bae141043o0”},{“input_id”:“bf612784095ee247i0”,“output_id”:“bf6121a19a6de540o0”},{“input_id”:“bf61465c1af57744i1”,“output_id”:“bf612784095ee247o0”},{“input_id”:“bf61283bac6f4a49i0”,“output_id”:“bf61226bae141043o0”},{“input_id”:“bf61465c1af57744i0”,“output_id”:“bf61283bac6f4a49o0”},{“input_id”:“bf6121a19a6de540i0”,“output_id”:“bf6137e22794014eo0”},{“input_id”:“bf6121a19a6de540i1”,“output_id”:“bf6137e22794014eo0”},{“input_id”:“bf61226bae141043i0”,“output_id”:“bf61389c0061864do0”},{“input_id”:“bf61226bae141043i1”,“output_id”:“bf61389c0061864do0”},{“input_id”:“bf61465c1af57744i0”,“output_id”:“bf61283bac6f4a49o0”},{“input_id”:“bf61465c1af57744i1”,“output_id”:“bf612784095ee247o0”},{“input_id”:“bf615baff923a140i0”,“output_id”:“bf61465c1af57744o0”},{“input_id”:“bf615baff923a140i0”,“output_id”:“bf61465c1af57744o0”}]}}}

try pasting that

1 Like

You pasted the whole thing, but you only need some of it. The values on the filter need to be changed to match the corners of YOUR map, but it’s currently set to mine. Also what happened to the ray casting, only parts of the floor are changed?

The raycasting was OK, but I just disconnected the animations
Also I copy and pasted, but nothing happened

I’m going to test a few things and I’ll send a screenshot if i figure something out

What was happening before is that the input only happened for a short amount of time so it became jagged and couldn’t go very high, the ease function basically just extends that amount of time while giving it a slightly smoother look. That should fix the jumping (IMPORTANT: the ease function duration is set to 2)

This should explain how to use the position thing. If you have any more questions/problems I’m happy to help.

Wait so I have to make it for every individual block?!

That’s why you should stick to ray casting, but for the few corners that don’t work you can use position for (It is possible to make an array of objects change though).

1 Like