In each frame of Tick, I want to get the all rows whose “frame” column matches my current game frame, split them so that I get “x” and “y” and push these into an array.
sample:
000000,00000,00,-188.7032,-227.9918
000001,00000,01,231.0830,-184.8418
000002,00000,02,-273.8828,-110.7300
000003,00000,03,295.4238,11.3456
000004,00000,04,236.4773,177.2389
000005,00000,05,-288.5535,-65.5447
000006,00000,06,-191.2853,225.1407
000007,00000,07,181.4515,-233.9608
000008,00000,08,-33.0378,295.1567
000009,00001,00,-187.2686,-227.8242
000010,00001,01,230.7526,-183.5203
000011,00001,02,-272.3634,-110.2600
000012,00001,03,294.0954,10.5669
000013,00001,04,235.1244,176.5849
000014,00001,05,-287.9055,-64.0012
000015,00001,06,-190.9147,223.3959
000016,00001,07,180.4017,-233.6092
000017,00001,08,-33.4581,293.9804
000018,00002,00,-185.8340,-227.6563
000019,00002,01,230.4225,-182.1987
000020,00002,02,-270.7862,-110.0560
000021,00002,03,292.7660,9.7898
000022,00002,04,233.7714,175.9309
000023,00002,05,-287.3856,-62.4100
000024,00002,06,-190.5445,221.6510
000025,00002,07,179.3558,-233.2457
000026,00002,08,-33.8695,292.8009