I have been working on my game for a while and I was thinking about what if bot can do the wall jump? Yeah, I’m here, post this thing for beginners to know how to make a bot that can do a wall jump! And here it is, you guys can look around the code:
Wall Jump Code for Bot
{"data":{"behavior":{"v":"2","nodes":[{"inputCount":0,"outputCount":0,"name":"Moving","behaviorType":"logic.NodeGroup","x":-270,"y":-112,"group":"","id":"9b8063c6deeda24d","isMenuItem":false},{"inputCount":0,"outputCount":1,"name":"Always","behaviorType":"logic.triggers.Always","x":-450,"y":64,"group":"9b8165cc45234c4e","id":"9b5242493981b343"},{"inputCount":1,"outputCount":1,"name":"Extractor","behaviorType":"logic.properties.Extractor","x":-90,"y":160,"group":"9b8165cc45234c4e","id":"9b5252f8cd90014f","notes":"This behavior can only use \"From Other Object\" on the object A you want when it's in the same level with this object.","n_o":0,"targetId":724715052,"prop":"x","version":2},{"inputCount":1,"outputCount":1,"name":"Extractor","behaviorType":"logic.properties.Extractor","x":-90,"y":64,"group":"9b8165cc45234c4e","id":"9b52538e297c0d42","targetId":0,"prop":"x","version":2},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":450,"y":80,"group":"9b8165cc45234c4e","id":"9b580562174c6e4a","startVal":7,"tag":"","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":450,"y":192,"group":"9b8165cc45234c4e","id":"9b5805636a20b643","startVal":-7,"tag":"","roundMode":1},{"expression":"A-B","default0":0,"default1":0,"default2":0,"default3":0,"default4":0,"default5":0,"params":2,"version":2,"tag":"","inputCount":3,"outputCount":1,"name":"Expression","behaviorType":"logic.logic.Expression","x":90,"y":112,"group":"9b8165cc45234c4e","id":"9b5805642e612e4d"},{"gateVal":0,"mode":"less than","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter2","x":270,"y":80,"group":"9b8165cc45234c4e","id":"9b58056570ae9d42"},{"gateVal":0,"mode":"greater than","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter2","x":270,"y":192,"group":"9b8165cc45234c4e","id":"9b5805657c808640"},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":-270,"y":160,"group":"9b8165cc45234c4e","id":"9b7d9a872a3d7c49","_startVal":1,"dataType":2},{"inputCount":3,"outputCount":3,"name":"Velocity","behaviorType":"logic.properties.Physics","x":630,"y":144,"group":"9b8165cc45234c4e","id":"9b7f02927e40d44f"},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-450,"y":128,"group":"9b8165cc45234c4e","id":"9b80d1a3b3983143","portId":"9b8165cc45234c4ei0","tag":"Off","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-450,"y":192,"group":"9b8165cc45234c4e","id":"9b80d6b1340bd349","portId":"9b8165cc45234c4ei1","tag":"On","dataType":2},{"inputCount":3,"outputCount":3,"name":"Animation","behaviorType":"logic.properties.Animation","x":810,"y":144,"group":"9b8165cc45234c4e","id":"9b8ca2e1f99f8340","animationName":"Run","priority":0},{"inputCount":2,"outputCount":0,"name":"Run","behaviorType":"logic.NodeGroup","x":90,"y":80,"group":"9b8063c6deeda24d","id":"9b8165cc45234c4e","isMenuItem":false},{"inputCount":3,"outputCount":2,"name":"RayCast","behaviorType":"logic.components.RayCast","x":0,"y":128,"group":"9b81a9902dc83b4a","id":"9b81a023ef2a2746","targetClassId":18898358,"direction":90,"length":50,"earlyOut":false,"oX":-50,"oY":-40,"pin":true},{"inputCount":0,"outputCount":1,"name":"Always","behaviorType":"logic.triggers.Always","x":-360,"y":128,"group":"9b81a9902dc83b4a","id":"9b836ceb881bf346"},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":180,"y":128,"group":"9b81a9902dc83b4a","id":"9b853d9baf82f441","startVal":7,"tag":"","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":-180,"y":128,"group":"9b81a9902dc83b4a","id":"9b856140434e2d4b","_startVal":1,"dataType":2},{"inputCount":0,"outputCount":1,"name":"Collision","behaviorType":"logic.triggers.Collision","x":-360,"y":240,"group":"9b81a9902dc83b4a","id":"9b858352363a7f49","targetClassId":18898358,"targetEntityId":0,"collisionFilter":1,"collideWithEntity":false,"delay":0},{"inputCount":3,"outputCount":3,"name":"Impulse","behaviorType":"logic.components.Impulse","x":360,"y":128,"group":"9b81a9902dc83b4a","id":"9b992c695219694d"},{"inputCount":0,"outputCount":1,"name":"Collision","behaviorType":"logic.triggers.Collision","x":0,"y":240,"group":"9b81a9902dc83b4a","id":"9b994bcd5da88a4e","targetClassId":18898358,"targetEntityId":0,"collisionFilter":12,"collideWithEntity":false,"delay":0},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":180,"y":240,"group":"9b81a9902dc83b4a","id":"9b9972c74917aa4b","startVal":-7,"tag":"","roundMode":1},{"inputCount":3,"outputCount":3,"name":"Animation","behaviorType":"logic.properties.Animation","x":540,"y":128,"group":"9b81a9902dc83b4a","id":"9b99bffcad2fde4d","animationName":"Wall Jump","priority":0},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":720,"y":112,"group":"9b81a9902dc83b4a","id":"9b9bb295b4c8fa4a","portId":"9b81a9902dc83b4ao0","tag":"Off","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":720,"y":176,"group":"9b81a9902dc83b4a","id":"9b9bd2d81bcc3d4a","portId":"9b81a9902dc83b4ao1","tag":"On","dataType":2},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":360,"y":352,"group":"9b81a9902dc83b4a","id":"9b9f1d572ea7914a","startVal":5,"tag":"","roundMode":1},{"delay":1,"count":1,"version":2,"inputCount":3,"outputCount":1,"name":"Timer","behaviorType":"logic.triggers.Timer","x":180,"y":336,"group":"9b81a9902dc83b4a","id":"9b9f56e626ffc942"},{"inputCount":0,"outputCount":2,"name":"Wall Jump","behaviorType":"logic.NodeGroup","x":-90,"y":80,"group":"9b8063c6deeda24d","id":"9b81a9902dc83b4a","isMenuItem":false}],"links":[{"input_id":"9b52538e297c0d42i0","output_id":"9b5242493981b343o0"},{"input_id":"9b7d9a872a3d7c49i2","output_id":"9b5242493981b343o0"},{"input_id":"9b5805642e612e4di1","output_id":"9b5252f8cd90014fo0"},{"input_id":"9b5805642e612e4di2","output_id":"9b5252f8cd90014fo0"},{"input_id":"9b5805642e612e4di0","output_id":"9b52538e297c0d42o0"},{"input_id":"9b7f02927e40d44fi0","output_id":"9b580562174c6e4ao0"},{"input_id":"9b7f02927e40d44fi0","output_id":"9b5805636a20b643o0"},{"input_id":"9b58056570ae9d42i1","output_id":"9b5805642e612e4do0"},{"input_id":"9b5805657c808640i1","output_id":"9b5805642e612e4do0"},{"input_id":"9b580562174c6e4ai1","output_id":"9b58056570ae9d42o0"},{"input_id":"9b5805636a20b643i1","output_id":"9b5805657c808640o0"},{"input_id":"9b5252f8cd90014fi0","output_id":"9b7d9a872a3d7c49o0"},{"input_id":"9b8ca2e1f99f8340i0","output_id":"9b7f02927e40d44fo0"},{"input_id":"9b7d9a872a3d7c49i0","output_id":"9b80d1a3b3983143o0"},{"input_id":"9b7d9a872a3d7c49i1","output_id":"9b80d6b1340bd349o0"},{"input_id":"9b853d9baf82f441i1","output_id":"9b81a023ef2a2746o0"},{"input_id":"9b856140434e2d4bi2","output_id":"9b836ceb881bf346o0"},{"input_id":"9b992c695219694di1","output_id":"9b853d9baf82f441o0"},{"input_id":"9b81a023ef2a2746i2","output_id":"9b856140434e2d4bo0"},{"input_id":"9b856140434e2d4bi1","output_id":"9b858352363a7f49o0"},{"input_id":"9b9bd2d81bcc3d4ai0","output_id":"9b858352363a7f49o0"},{"input_id":"9b99bffcad2fde4di0","output_id":"9b992c695219694do1"},{"input_id":"9b99bffcad2fde4di0","output_id":"9b992c695219694do2"},{"input_id":"9b853d9baf82f441i1","output_id":"9b994bcd5da88a4eo0"},{"input_id":"9b9972c74917aa4bi1","output_id":"9b994bcd5da88a4eo0"},{"input_id":"9b9f56e626ffc942i0","output_id":"9b994bcd5da88a4eo0"},{"input_id":"9b992c695219694di2","output_id":"9b9972c74917aa4bo0"},{"input_id":"9b9bb295b4c8fa4ai0","output_id":"9b99bffcad2fde4do0"},{"input_id":"9b856140434e2d4bi0","output_id":"9b99bffcad2fde4do0"},{"input_id":"9b992c695219694di2","output_id":"9b9f1d572ea7914ao0"},{"input_id":"9b9bd2d81bcc3d4ai0","output_id":"9b9f1d572ea7914ao0"},{"input_id":"9b9f1d572ea7914ai1","output_id":"9b9f56e626ffc942o0"},{"input_id":"9b8165cc45234c4ei0","output_id":"9b81a9902dc83b4ao0"},{"input_id":"9b8165cc45234c4ei1","output_id":"9b81a9902dc83b4ao1"}]}}}
For people, who don’t know how to copy the code to your game: copy the code, go to the object you want to put the code, go to “Behavior”, click the blank space, click import, then just paste the code! Thanks for spending time reading this post. Have a great day!