I’ll start the stream today in 1 hour - 3:30pm Eastern, 2:30pm Central. I’ll be tacking more logic today: Building the map generator and basic room spawning.
I’ll start the stream today in 1 hour - 3:30pm Eastern, 2:30pm Central. I’ll be tacking more logic today: Building the map generator and basic room spawning.
Sounds like fun, thanks for keeping us up with the schedule!
Ok!
I’m gonna be out for a good chunk of the morning anyways, so this should work
I revised Grazer’s Swipe bundle to have outputs of Left, Right, Up, Down, and Tap. The limit input let’s you set what indicates tap and swipes, by default the swipe needs to be 50 pixels to indicate as a swipe.
Code:
{"data":{"behavior":{"v":"2","nodes":[{"inputCount":1,"outputCount":5,"name":"Swipe","behaviorType":"logic.NodeGroup","x":1890,"y":448,"group":"","id":"b0fae02eb85ee947","notes":"Output is based on Up Click\n \nThis bundle outputs the direction of your swipe. \n \nLimit is what indicates what's a swipe and what's a tap. By default, the limit is 50 pixels from starting click.","n_o":0,"isMenuItem":false},{"inputCount":0,"outputCount":2,"name":"MouseMove","behaviorType":"logic.triggers.MouseMove","x":-450,"y":-128,"group":"b0fae02eb85ee947","id":"b0fae0386f88cc44","notes":null,"n_o":null,"gameCoords":false},{"inputCount":0,"outputCount":4,"name":"MouseClick","behaviorType":"logic.triggers.MouseClick","x":-450,"y":0,"group":"b0fae02eb85ee947","id":"b0fae039b685e54b","notes":null,"n_o":null,"global":true,"rightClick":false},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-180,"y":96,"group":"b0fae02eb85ee947","id":"b0fae039a9273f48","notes":null,"n_o":null,"startVal":0,"tag":"End Tap","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-180,"y":0,"group":"b0fae02eb85ee947","id":"b0fae03ab54c3245","notes":null,"n_o":null,"startVal":0,"tag":"Start Tap","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-180,"y":-128,"group":"b0fae02eb85ee947","id":"b0fae03a20abe948","notes":null,"n_o":null,"startVal":0,"tag":"End Tap","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-180,"y":-224,"group":"b0fae02eb85ee947","id":"b0fae03ade6dd845","notes":null,"n_o":null,"startVal":0,"tag":"Start Tap","roundMode":1},{"expression":"B-A","default0":0,"default1":0,"default2":0,"default3":0,"default4":0,"default5":0,"params":2,"version":2,"tag":"Distance","inputCount":3,"outputCount":1,"name":"Expression","behaviorType":"logic.logic.Expression","x":0,"y":32,"group":"b0fae02eb85ee947","id":"b0fae03a0c221948","notes":null,"n_o":null},{"expression":"B-A","default0":0,"default1":0,"default2":0,"default3":0,"default4":0,"default5":0,"params":2,"version":2,"tag":"Distance","inputCount":3,"outputCount":1,"name":"Expression","behaviorType":"logic.logic.Expression","x":0,"y":-160,"group":"b0fae02eb85ee947","id":"b0fae03ab1492649","notes":null,"n_o":null},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":360,"y":-160,"group":"b0fae02eb85ee947","id":"b0fae03a6780d34e","notes":null,"n_o":null,"startVal":0,"tag":"X","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":360,"y":32,"group":"b0fae02eb85ee947","id":"b0fae03ad1646645","notes":null,"n_o":null,"startVal":0,"tag":"Y","roundMode":1},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":0,"y":-128,"group":"b0fae03b56242b4d","id":"b0fae03a0e447c4f","notes":null,"n_o":null,"portId":"b0fae03b56242b4di0","tag":"A","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":0,"y":0,"group":"b0fae03b56242b4d","id":"b0fae03a1aae2e45","notes":null,"n_o":null,"portId":"b0fae03b56242b4di1","tag":"B","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":900,"y":-128,"group":"b0fae03b56242b4d","id":"b0fae03a71f17c43","notes":null,"n_o":null,"portId":"b0fae03b56242b4do0","tag":"Swipe","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":720,"y":0,"group":"b0fae03b56242b4d","id":"b0fae03abcb3f24c","notes":null,"n_o":null,"portId":"b0fae03b56242b4do1","tag":"Tap","dataType":2},{"gateVal":50,"mode":"greater than","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter","x":360,"y":-128,"group":"b0fae03b56242b4d","id":"b0fae03a55f85b49","notes":null,"n_o":null},{"gateVal":50,"mode":"greater than","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter","x":360,"y":0,"group":"b0fae03b56242b4d","id":"b0fae03a255c844d","notes":null,"n_o":null},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":540,"y":-128,"group":"b0fae03b56242b4d","id":"b0fae03b8aadb043","notes":null,"n_o":null,"gateType":"OR"},{"expression":"Math.abs(A)","default0":0,"default1":0,"default2":0,"default3":0,"default4":0,"default5":0,"params":1,"version":2,"tag":"","inputCount":2,"outputCount":1,"name":"Expression","behaviorType":"logic.logic.Expression","x":180,"y":-128,"group":"b0fae03b56242b4d","id":"b0fae03bada0c84f","notes":null,"n_o":null},{"expression":"Math.abs(A)","default0":0,"default1":0,"default2":0,"default3":0,"default4":0,"default5":0,"params":1,"version":2,"tag":"","inputCount":2,"outputCount":1,"name":"Expression","behaviorType":"logic.logic.Expression","x":180,"y":0,"group":"b0fae03b56242b4d","id":"b0fae03bd9f2a148","notes":null,"n_o":null},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":540,"y":0,"group":"b0fae03b56242b4d","id":"b0fae03bacfde140","notes":null,"n_o":null,"_startVal":0,"dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":180,"y":-224,"group":"b0fae03b56242b4d","id":"b0fae03beaaa6045","notes":null,"n_o":null,"portId":"b0fae03b56242b4di2","tag":"Limit","dataType":2},{"delay":0,"count":1,"version":2,"inputCount":3,"outputCount":1,"name":"Timer","behaviorType":"logic.triggers.Timer","x":720,"y":-128,"group":"b0fae03b56242b4d","id":"b0fb3c62df37d341","notes":null,"n_o":null},{"inputCount":3,"outputCount":2,"name":"Swipe Check","behaviorType":"logic.NodeGroup","x":180,"y":-64,"group":"b0fae02eb85ee947","id":"b0fae03b56242b4d","notes":null,"n_o":null,"isMenuItem":false},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-450,"y":-64,"group":"b0fae0444808504d","id":"b0fae04432d5f247","notes":null,"n_o":null,"portId":"b0fae0444808504di0","tag":"x","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-450,"y":32,"group":"b0fae0444808504d","id":"b0fae04421736041","notes":null,"n_o":null,"portId":"b0fae0444808504di1","tag":"y","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":360,"y":-96,"group":"b0fae0444808504d","id":"b0fae0447c284943","notes":null,"n_o":null,"portId":"b0fae0444808504do0","tag":"h","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":360,"y":0,"group":"b0fae0444808504d","id":"b0fae044cd61f446","notes":null,"n_o":null,"portId":"b0fae0444808504do1","tag":"v","dataType":2},{"expression":"Math.abs(A) > Math.abs(B) ? 1 : 0","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":-180,"y":96,"group":"b0fae0444808504d","id":"b0fae044349f8741","notes":null,"n_o":null},{"gateVal":0,"mode":"greater than","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter","x":0,"y":96,"group":"b0fae0444808504d","id":"b0fae0449ac78443","notes":null,"n_o":null},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":180,"y":0,"group":"b0fae0444808504d","id":"b0fae0448d715c45","notes":null,"n_o":null,"startVal":0,"tag":null,"roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":180,"y":-96,"group":"b0fae0444808504d","id":"b0fae04459b22546","notes":null,"n_o":null,"startVal":0,"tag":"","roundMode":1},{"inputCount":2,"outputCount":2,"name":"Direction","behaviorType":"logic.NodeGroup","x":540,"y":-64,"group":"b0fae02eb85ee947","id":"b0fae0444808504d","notes":null,"n_o":null,"isMenuItem":false},{"gateVal":0,"mode":"greater than","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter","x":720,"y":64,"group":"b0fae02eb85ee947","id":"b0fae04eed9a1f45","notes":null,"n_o":null},{"gateVal":0,"mode":"less than","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter","x":720,"y":-32,"group":"b0fae02eb85ee947","id":"b0fae04e388db247","notes":null,"n_o":null},{"gateVal":0,"mode":"greater than","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter","x":720,"y":-128,"group":"b0fae02eb85ee947","id":"b0fae04e7d313548","notes":null,"n_o":null},{"gateVal":0,"mode":"less than","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter","x":720,"y":-224,"group":"b0fae02eb85ee947","id":"b0fae04ec1900548","notes":null,"n_o":null},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":900,"y":-224,"group":"b0fae02eb85ee947","id":"b0fae04e8cbc954c","notes":null,"n_o":null,"portId":"b0fae02eb85ee947o0","tag":"Left","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":900,"y":-128,"group":"b0fae02eb85ee947","id":"b0fae04e1234c448","notes":null,"n_o":null,"portId":"b0fae02eb85ee947o1","tag":"Right","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":900,"y":-32,"group":"b0fae02eb85ee947","id":"b0fae04e2beba745","notes":null,"n_o":null,"portId":"b0fae02eb85ee947o2","tag":"Up","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":900,"y":64,"group":"b0fae02eb85ee947","id":"b0fae04edcb38c46","notes":null,"n_o":null,"portId":"b0fae02eb85ee947o3","tag":"Down","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":360,"y":-32,"group":"b0fae02eb85ee947","id":"b0fae04e0c277142","notes":null,"n_o":null,"portId":"b0fae02eb85ee947o4","tag":"Tap","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":0,"y":-32,"group":"b0fae02eb85ee947","id":"b0fae04efe30fd41","notes":null,"n_o":null,"portId":"b0fae02eb85ee947i0","tag":"Limit","dataType":2}],"links":[{"input_id":"b0fae03ade6dd845i0","output_id":"b0fae0386f88cc44o0"},{"input_id":"b0fae03a20abe948i0","output_id":"b0fae0386f88cc44o0"},{"input_id":"b0fae03ab54c3245i0","output_id":"b0fae0386f88cc44o1"},{"input_id":"b0fae039a9273f48i0","output_id":"b0fae0386f88cc44o1"},{"input_id":"b0fae03ade6dd845i1","output_id":"b0fae039b685e54bo0"},{"input_id":"b0fae03ab54c3245i1","output_id":"b0fae039b685e54bo0"},{"input_id":"b0fae03a20abe948i1","output_id":"b0fae039b685e54bo1"},{"input_id":"b0fae039a9273f48i1","output_id":"b0fae039b685e54bo1"},{"input_id":"b0fae03a0c221948i1","output_id":"b0fae039a9273f48o0"},{"input_id":"b0fae03a0c221948i2","output_id":"b0fae039a9273f48o0"},{"input_id":"b0fae03a0c221948i0","output_id":"b0fae03ab54c3245o0"},{"input_id":"b0fae03ab1492649i1","output_id":"b0fae03a20abe948o0"},{"input_id":"b0fae03ab1492649i2","output_id":"b0fae03a20abe948o0"},{"input_id":"b0fae03ab1492649i0","output_id":"b0fae03ade6dd845o0"},{"input_id":"b0fae03b56242b4di1","output_id":"b0fae03a0c221948o0"},{"input_id":"b0fae03ad1646645i0","output_id":"b0fae03a0c221948o0"},{"input_id":"b0fae03a6780d34ei0","output_id":"b0fae03ab1492649o0"},{"input_id":"b0fae03b56242b4di0","output_id":"b0fae03ab1492649o0"},{"input_id":"b0fae0444808504di0","output_id":"b0fae03a6780d34eo0"},{"input_id":"b0fae0444808504di1","output_id":"b0fae03ad1646645o0"},{"input_id":"b0fae03bada0c84fi0","output_id":"b0fae03a0e447c4fo0"},{"input_id":"b0fae03bada0c84fi1","output_id":"b0fae03a0e447c4fo0"},{"input_id":"b0fae03bd9f2a148i0","output_id":"b0fae03a1aae2e45o0"},{"input_id":"b0fae03bd9f2a148i1","output_id":"b0fae03a1aae2e45o0"},{"input_id":"b0fae03b8aadb043i0","output_id":"b0fae03a55f85b49o0"},{"input_id":"b0fae03bacfde140i0","output_id":"b0fae03a55f85b49o0"},{"input_id":"b0fae03bacfde140i1","output_id":"b0fae03a55f85b49o1"},{"input_id":"b0fae03b8aadb043i1","output_id":"b0fae03a255c844do0"},{"input_id":"b0fae03bacfde140i0","output_id":"b0fae03a255c844do0"},{"input_id":"b0fae03bacfde140i2","output_id":"b0fae03a255c844do1"},{"input_id":"b0fb3c62df37d341i0","output_id":"b0fae03b8aadb043o0"},{"input_id":"b0fae03a55f85b49i0","output_id":"b0fae03bada0c84fo0"},{"input_id":"b0fae03a255c844di0","output_id":"b0fae03bd9f2a148o0"},{"input_id":"b0fae03abcb3f24ci0","output_id":"b0fae03bacfde140o0"},{"input_id":"b0fae03a55f85b49i1","output_id":"b0fae03beaaa6045o0"},{"input_id":"b0fae03a255c844di1","output_id":"b0fae03beaaa6045o0"},{"input_id":"b0fae03a71f17c43i0","output_id":"b0fb3c62df37d341o0"},{"input_id":"b0fae03a6780d34ei1","output_id":"b0fae03b56242b4do0"},{"input_id":"b0fae03ad1646645i1","output_id":"b0fae03b56242b4do0"},{"input_id":"b0fae04e0c277142i0","output_id":"b0fae03b56242b4do1"},{"input_id":"b0fae04459b22546i0","output_id":"b0fae04432d5f247o0"},{"input_id":"b0fae044349f8741i0","output_id":"b0fae04432d5f247o0"},{"input_id":"b0fae0448d715c45i0","output_id":"b0fae04421736041o0"},{"input_id":"b0fae044349f8741i1","output_id":"b0fae04421736041o0"},{"input_id":"b0fae044349f8741i2","output_id":"b0fae04421736041o0"},{"input_id":"b0fae0449ac78443i0","output_id":"b0fae044349f8741o0"},{"input_id":"b0fae04459b22546i1","output_id":"b0fae0449ac78443o0"},{"input_id":"b0fae0448d715c45i1","output_id":"b0fae0449ac78443o1"},{"input_id":"b0fae044cd61f446i0","output_id":"b0fae0448d715c45o0"},{"input_id":"b0fae0447c284943i0","output_id":"b0fae04459b22546o0"},{"input_id":"b0fae04ec1900548i0","output_id":"b0fae0444808504do0"},{"input_id":"b0fae04e7d313548i0","output_id":"b0fae0444808504do0"},{"input_id":"b0fae04e388db247i0","output_id":"b0fae0444808504do1"},{"input_id":"b0fae04eed9a1f45i0","output_id":"b0fae0444808504do1"},{"input_id":"b0fae04edcb38c46i0","output_id":"b0fae04eed9a1f45o0"},{"input_id":"b0fae04e2beba745i0","output_id":"b0fae04e388db247o0"},{"input_id":"b0fae04e1234c448i0","output_id":"b0fae04e7d313548o0"},{"input_id":"b0fae04e8cbc954ci0","output_id":"b0fae04ec1900548o0"},{"input_id":"b0fae03b56242b4di2","output_id":"b0fae04efe30fd41o0"}]}}}
Edit: I updated the code to work better
Thanks for that! I think this should have its own thread probably, for folks that don’t check the stream info. I think this bundle could come in handy for a lot of people
Alright, I’ll make a post for anyone who’s looking into swipe controls for the Jam.