I tried making an interpolated camera (It did not work)

Flowlab - New Game

When making topics, Please add more information to make people understand easier, they will skip you if you don’t add any info of what you are trying to do here

  1. It’s only going into the Y input on the position block.
  2. In the position block, you need to use pixels, not grid.

I also made a camera, that interpolates without having to use another object. You can put this in your player object.

{"data":{"behavior":{"v":"2","nodes":[{"inputCount":1,"outputCount":1,"name":"Extractor","behaviorType":"logic.properties.Extractor","x":-90,"y":-48,"group":"526a1d00b2d16943","id":"526afff6829b944b","targetId":0,"prop":"x","version":2},{"inputCount":1,"outputCount":1,"name":"Extractor","behaviorType":"logic.properties.Extractor","x":-90,"y":48,"group":"526a1d00b2d16943","id":"526b0236854d7448","targetId":0,"prop":"y","version":2},{"inputCount":0,"outputCount":1,"name":"Always","behaviorType":"logic.triggers.Always","x":-270,"y":-48,"group":"526a1d00b2d16943","id":"526b1a47d0bf1041"},{"inputCount":6,"outputCount":6,"name":"Camera","behaviorType":"logic.components.View","x":450,"y":32,"group":"526a1d00b2d16943","id":"526bcb4ad1700545","parallax":100,"scrollX":false,"scrollY":false,"minLeft":0,"maxRight":8,"top":0,"bottom":8,"repeatBG":false,"infX":false,"infY":false},{"inputCount":2,"outputCount":2,"name":"Interpolation","behaviorType":"logic.NodeGroup","x":90,"y":-64,"group":"526a1d00b2d16943","id":"526d0777e4c1e74a","isMenuItem":false},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":270,"y":-16,"group":"526d0777e4c1e74a","id":"526d0778973feb46","portId":"526d0777e4c1e74ai0","tag":"Speed","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-90,"y":64,"group":"526d0777e4c1e74a","id":"526d07788da3c647","portId":"526d0777e4c1e74ai1","tag":"In","dataType":2},{"delay":0,"count":0,"version":2,"inputCount":3,"outputCount":1,"name":"Timer","behaviorType":"logic.triggers.Timer","x":90,"y":96,"group":"526d0777e4c1e74a","id":"526d077986744b48"},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":270,"y":64,"group":"526d0777e4c1e74a","id":"526d077a61033f4d","startVal":0,"roundMode":1},{"expression":"A+(B-A)*(C/100)","default0":0,"default1":0,"default2":25,"default3":0,"default4":0,"default5":0,"params":3,"version":2,"tag":"","inputCount":4,"outputCount":1,"name":"Expression","behaviorType":"logic.logic.Expression","x":0,"y":-32,"group":"526d0783185e854d","id":"526d077e43e46d46","notes":"'C' sets the Interpolation Speed (in %)","n_o":1},{"inputCount":0,"outputCount":1,"name":"Once","behaviorType":"logic.triggers.Once","x":-360,"y":-128,"group":"526d0783185e854d","id":"526d077fa0cd7740","resetOnLevelStart":false},{"inputCount":1,"outputCount":1,"name":"Extractor","behaviorType":"logic.properties.Extractor","x":-180,"y":-128,"group":"526d0783185e854d","id":"526d078079db2a4c","notes":"Set to the value you want to Interpolate","n_o":1,"targetId":0,"prop":"x"},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-180,"y":0,"group":"526d0783185e854d","id":"526d0780a7ed634f","portId":"526d0783185e854di0","tag":"speed","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-360,"y":192,"group":"526d0783185e854d","id":"526d0780447d5246","portId":"526d0783185e854di1","tag":"in","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":180,"y":-32,"group":"526d0783185e854d","id":"526d0781275c944e","portId":"526d0783185e854do0","tag":"out","dataType":2},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":-180,"y":96,"group":"526d0783185e854d","id":"526d078140448344","_startVal":0,"dataType":2},{"gateVal":0,"mode":"equal to","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter2","x":360,"y":192,"group":"526d0783185e854d","id":"526d0782b4d5e54b"},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":540,"y":192,"group":"526d0783185e854d","id":"526d0782985cda49","portId":"526d0783185e854do1","tag":"done","dataType":2},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":180,"y":96,"group":"526d0783185e854d","id":"526d0783011df84b","startVal":0,"tag":"Result","roundMode":2},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-180,"y":192,"group":"526d0783185e854d","id":"526d07837f008645","startVal":0,"tag":"To","roundMode":2},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":-360,"y":-32,"group":"526d0783185e854d","id":"526d0783a1bcc243","_startVal":0,"dataType":2},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-540,"y":-32,"group":"526d0783185e854d","id":"526d078306ef5c4f","gateType":"NOR"},{"delay":0,"count":10,"version":2,"inputCount":3,"outputCount":1,"name":"Timer","behaviorType":"logic.triggers.Timer","x":-720,"y":-32,"group":"526d0783185e854d","id":"526d07832bfaa143"},{"inputCount":2,"outputCount":2,"name":"v5 Interpolation","behaviorType":"logic.NodeGroup","x":450,"y":64,"group":"526d0777e4c1e74a","id":"526d0783185e854d","notes":"Bundle by JR01 & PixelPizza.\r\n- speed: Speed (in %)\r\n- in: Target result\r\n\r\n- out: Result\r\n- done: reached the Target Value, turns off expression until different value is desired","n_o":0,"isMenuItem":false},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":630,"y":48,"group":"526d0777e4c1e74a","id":"526d078412fa4d4c","portId":"526d0777e4c1e74ao0","tag":"Out","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":630,"y":128,"group":"526d0777e4c1e74a","id":"526d0784b2cae74d","portId":"526d0777e4c1e74ao1","tag":"Done","dataType":2},{"inputCount":2,"outputCount":2,"name":"Interpolation","behaviorType":"logic.NodeGroup","x":90,"y":32,"group":"526a1d00b2d16943","id":"526d660230dbf44a","isMenuItem":false},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":270,"y":-16,"group":"526d660230dbf44a","id":"526d66025d7d2443","portId":"526d660230dbf44ai0","tag":"Speed","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-90,"y":64,"group":"526d660230dbf44a","id":"526d6603a383af45","portId":"526d660230dbf44ai1","tag":"In","dataType":2},{"delay":0,"count":0,"version":2,"inputCount":3,"outputCount":1,"name":"Timer","behaviorType":"logic.triggers.Timer","x":90,"y":96,"group":"526d660230dbf44a","id":"526d6603b736434d"},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":270,"y":64,"group":"526d660230dbf44a","id":"526d6603872c2b48","startVal":0,"roundMode":1},{"expression":"A+(B-A)*(C/100)","default0":0,"default1":0,"default2":25,"default3":0,"default4":0,"default5":0,"params":3,"version":2,"tag":"","inputCount":4,"outputCount":1,"name":"Expression","behaviorType":"logic.logic.Expression","x":0,"y":-32,"group":"526d66053b16ca48","id":"526d660345141d43","notes":"'C' sets the Interpolation Speed (in %)","n_o":1},{"inputCount":0,"outputCount":1,"name":"Once","behaviorType":"logic.triggers.Once","x":-360,"y":-128,"group":"526d66053b16ca48","id":"526d6604a4efb348","resetOnLevelStart":false},{"inputCount":1,"outputCount":1,"name":"Extractor","behaviorType":"logic.properties.Extractor","x":-180,"y":-128,"group":"526d66053b16ca48","id":"526d66040841174a","notes":"Set to the value you want to Interpolate","n_o":1,"targetId":0,"prop":"y"},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-180,"y":0,"group":"526d66053b16ca48","id":"526d66044e22d944","portId":"526d66053b16ca48i0","tag":"speed","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-360,"y":192,"group":"526d66053b16ca48","id":"526d660452929249","portId":"526d66053b16ca48i1","tag":"in","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":180,"y":-32,"group":"526d66053b16ca48","id":"526d6604beda3a41","portId":"526d66053b16ca48o0","tag":"out","dataType":2},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":-180,"y":96,"group":"526d66053b16ca48","id":"526d6604600ade49","_startVal":0,"dataType":2},{"gateVal":0,"mode":"equal to","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter2","x":360,"y":192,"group":"526d66053b16ca48","id":"526d66048214aa40"},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":540,"y":192,"group":"526d66053b16ca48","id":"526d66044429544d","portId":"526d66053b16ca48o1","tag":"done","dataType":2},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":180,"y":96,"group":"526d66053b16ca48","id":"526d6604f623fd49","startVal":0,"tag":"Result","roundMode":2},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-180,"y":192,"group":"526d66053b16ca48","id":"526d6604fad89543","startVal":0,"tag":"To","roundMode":2},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":-360,"y":-32,"group":"526d66053b16ca48","id":"526d66040de0ca40","_startVal":0,"dataType":2},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":-540,"y":-32,"group":"526d66053b16ca48","id":"526d66046f65cf45","gateType":"NOR"},{"delay":0,"count":10,"version":2,"inputCount":3,"outputCount":1,"name":"Timer","behaviorType":"logic.triggers.Timer","x":-720,"y":-32,"group":"526d66053b16ca48","id":"526d660529ea8945"},{"inputCount":2,"outputCount":2,"name":"v5 Interpolation","behaviorType":"logic.NodeGroup","x":450,"y":64,"group":"526d660230dbf44a","id":"526d66053b16ca48","notes":"Bundle by JR01 & PixelPizza.\r\n- speed: Speed (in %)\r\n- in: Target result\r\n\r\n- out: Result\r\n- done: reached the Target Value, turns off expression until different value is desired","n_o":0,"isMenuItem":false},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":630,"y":48,"group":"526d660230dbf44a","id":"526d6605c1cb894e","portId":"526d660230dbf44ao0","tag":"Out","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":630,"y":128,"group":"526d660230dbf44a","id":"526d6605845f9c46","portId":"526d660230dbf44ao1","tag":"Done","dataType":2},{"expression":"A-(B/2)","default0":0,"default1":144,"default2":0,"default3":0,"default4":0,"default5":0,"params":2,"version":2,"tag":"","inputCount":3,"outputCount":1,"name":"Expression","behaviorType":"logic.logic.Expression","x":270,"y":-64,"group":"526a1d00b2d16943","id":"526f211295314a49"},{"expression":"A-(B/2)","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":270,"y":48,"group":"526a1d00b2d16943","id":"526f2251a2ca5540"},{"inputCount":5,"outputCount":5,"name":"Full Screen","behaviorType":"logic.components.FullScreen","x":90,"y":-192,"group":"526a1d00b2d16943","id":"5270f6deda958a43","smIdx":0},{"inputCount":0,"outputCount":1,"name":"Once","behaviorType":"logic.triggers.Once","x":-270,"y":-144,"group":"526a1d00b2d16943","id":"5270fe8dd0c9e043","resetOnLevelStart":false},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-90,"y":-144,"group":"526a1d00b2d16943","id":"5271fb3a75829e4a","startVal":5,"tag":"Speed","roundMode":1}],"links":[{"input_id":"526afff6829b944bi0","output_id":"526b1a47d0bf1041o0"},{"input_id":"526d0777e4c1e74ai1","output_id":"526afff6829b944bo0"},{"input_id":"526b0236854d7448i0","output_id":"526b1a47d0bf1041o0"},{"input_id":"526d660230dbf44ai1","output_id":"526b0236854d7448o0"},{"input_id":"526afff6829b944bi0","output_id":"526b1a47d0bf1041o0"},{"input_id":"526b0236854d7448i0","output_id":"526b1a47d0bf1041o0"},{"input_id":"526bcb4ad1700545i2","output_id":"526f211295314a49o0"},{"input_id":"526bcb4ad1700545i3","output_id":"526f2251a2ca5540o0"},{"input_id":"526d0777e4c1e74ai0","output_id":"5271fb3a75829e4ao0"},{"input_id":"526d0777e4c1e74ai1","output_id":"526afff6829b944bo0"},{"input_id":"526f211295314a49i0","output_id":"526d0777e4c1e74ao0"},{"input_id":"526f211295314a49i2","output_id":"526d0777e4c1e74ao0"},{"input_id":"526d660230dbf44ai0","output_id":"5271fb3a75829e4ao0"},{"input_id":"526d660230dbf44ai1","output_id":"526b0236854d7448o0"},{"input_id":"526f2251a2ca5540i0","output_id":"526d660230dbf44ao0"},{"input_id":"526f2251a2ca5540i2","output_id":"526d660230dbf44ao0"},{"input_id":"526f211295314a49i0","output_id":"526d0777e4c1e74ao0"},{"input_id":"526f211295314a49i1","output_id":"5270f6deda958a43o3"},{"input_id":"526f211295314a49i2","output_id":"526d0777e4c1e74ao0"},{"input_id":"526bcb4ad1700545i2","output_id":"526f211295314a49o0"},{"input_id":"526f2251a2ca5540i0","output_id":"526d660230dbf44ao0"},{"input_id":"526f2251a2ca5540i1","output_id":"5270f6deda958a43o4"},{"input_id":"526f2251a2ca5540i2","output_id":"526d660230dbf44ao0"},{"input_id":"526bcb4ad1700545i3","output_id":"526f2251a2ca5540o0"},{"input_id":"5270f6deda958a43i3","output_id":"5271fb3a75829e4ao0"},{"input_id":"5270f6deda958a43i4","output_id":"5271fb3a75829e4ao0"},{"input_id":"526f211295314a49i1","output_id":"5270f6deda958a43o3"},{"input_id":"526f2251a2ca5540i1","output_id":"5270f6deda958a43o4"},{"input_id":"5271fb3a75829e4ai1","output_id":"5270fe8dd0c9e043o0"},{"input_id":"5271fb3a75829e4ai1","output_id":"5270fe8dd0c9e043o0"},{"input_id":"5270f6deda958a43i3","output_id":"5271fb3a75829e4ao0"},{"input_id":"5270f6deda958a43i4","output_id":"5271fb3a75829e4ao0"},{"input_id":"526d0777e4c1e74ai0","output_id":"5271fb3a75829e4ao0"},{"input_id":"526d660230dbf44ai0","output_id":"5271fb3a75829e4ao0"},{"input_id":"526d0783185e854di0","output_id":"526d0778973feb46o0"},{"input_id":"526d077a61033f4di0","output_id":"526d07788da3c647o0"},{"input_id":"526d077986744b48i0","output_id":"526d07788da3c647o0"},{"input_id":"526d077a61033f4di1","output_id":"526d077986744b48o0"},{"input_id":"526d0783185e854di1","output_id":"526d077a61033f4do0"},{"input_id":"526d077e43e46d46i0","output_id":"526d077e43e46d46o0"},{"input_id":"526d0781275c944ei0","output_id":"526d077e43e46d46o0"},{"input_id":"526d0783011df84bi0","output_id":"526d077e43e46d46o0"},{"input_id":"526d0783011df84bi1","output_id":"526d077e43e46d46o0"},{"input_id":"526d078079db2a4ci0","output_id":"526d077fa0cd7740o0"},{"input_id":"526d077e43e46d46i0","output_id":"526d078079db2a4co0"},{"input_id":"526d078140448344i1","output_id":"526d078079db2a4co0"},{"input_id":"526d077e43e46d46i2","output_id":"526d0780a7ed634fo0"},{"input_id":"526d07832bfaa143i0","output_id":"526d0780447d5246o0"},{"input_id":"526d0783a1bcc243i2","output_id":"526d0780447d5246o0"},{"input_id":"526d078140448344i2","output_id":"526d0780447d5246o0"},{"input_id":"526d07837f008645i0","output_id":"526d0780447d5246o0"},{"input_id":"526d07837f008645i1","output_id":"526d0780447d5246o0"},{"input_id":"526d077e43e46d46i1","output_id":"526d078140448344o0"},{"input_id":"526d077e43e46d46i3","output_id":"526d078140448344o0"},{"input_id":"526d078140448344i0","output_id":"526d0782b4d5e54bo0"},{"input_id":"526d0782985cda49i0","output_id":"526d0782b4d5e54bo0"},{"input_id":"526d078140448344i1","output_id":"526d0782b4d5e54bo1"},{"input_id":"526d0782b4d5e54bi0","output_id":"526d0783011df84bo0"},{"input_id":"526d0782b4d5e54bi1","output_id":"526d07837f008645o0"},{"input_id":"526d078079db2a4ci0","output_id":"526d0783a1bcc243o0"},{"input_id":"526d0783a1bcc243i0","output_id":"526d0783a1bcc243o0"},{"input_id":"526d0783a1bcc243i1","output_id":"526d078306ef5c4fo0"},{"input_id":"526d078306ef5c4fi0","output_id":"526d07832bfaa143o0"},{"input_id":"526d078412fa4d4ci0","output_id":"526d0783185e854do0"},{"input_id":"526d077986744b48i1","output_id":"526d0783185e854do1"},{"input_id":"526d0784b2cae74di0","output_id":"526d0783185e854do1"},{"input_id":"526d66053b16ca48i0","output_id":"526d66025d7d2443o0"},{"input_id":"526d6603872c2b48i0","output_id":"526d6603a383af45o0"},{"input_id":"526d6603b736434di0","output_id":"526d6603a383af45o0"},{"input_id":"526d6603872c2b48i1","output_id":"526d6603b736434do0"},{"input_id":"526d66053b16ca48i1","output_id":"526d6603872c2b48o0"},{"input_id":"526d660345141d43i0","output_id":"526d660345141d43o0"},{"input_id":"526d6604beda3a41i0","output_id":"526d660345141d43o0"},{"input_id":"526d6604f623fd49i0","output_id":"526d660345141d43o0"},{"input_id":"526d6604f623fd49i1","output_id":"526d660345141d43o0"},{"input_id":"526d66040841174ai0","output_id":"526d6604a4efb348o0"},{"input_id":"526d660345141d43i0","output_id":"526d66040841174ao0"},{"input_id":"526d6604600ade49i1","output_id":"526d66040841174ao0"},{"input_id":"526d660345141d43i2","output_id":"526d66044e22d944o0"},{"input_id":"526d660529ea8945i0","output_id":"526d660452929249o0"},{"input_id":"526d66040de0ca40i2","output_id":"526d660452929249o0"},{"input_id":"526d6604600ade49i2","output_id":"526d660452929249o0"},{"input_id":"526d6604fad89543i0","output_id":"526d660452929249o0"},{"input_id":"526d6604fad89543i1","output_id":"526d660452929249o0"},{"input_id":"526d660345141d43i1","output_id":"526d6604600ade49o0"},{"input_id":"526d660345141d43i3","output_id":"526d6604600ade49o0"},{"input_id":"526d6604600ade49i0","output_id":"526d66048214aa40o0"},{"input_id":"526d66044429544di0","output_id":"526d66048214aa40o0"},{"input_id":"526d6604600ade49i1","output_id":"526d66048214aa40o1"},{"input_id":"526d66048214aa40i0","output_id":"526d6604f623fd49o0"},{"input_id":"526d66048214aa40i1","output_id":"526d6604fad89543o0"},{"input_id":"526d66040841174ai0","output_id":"526d66040de0ca40o0"},{"input_id":"526d66040de0ca40i0","output_id":"526d66040de0ca40o0"},{"input_id":"526d66040de0ca40i1","output_id":"526d66046f65cf45o0"},{"input_id":"526d66046f65cf45i0","output_id":"526d660529ea8945o0"},{"input_id":"526d6605c1cb894ei0","output_id":"526d66053b16ca48o0"},{"input_id":"526d6603b736434di1","output_id":"526d66053b16ca48o1"},{"input_id":"526d6605845f9c46i0","output_id":"526d66053b16ca48o1"}]}}}