forked from StrafesNET/roblox-bot-player
fmt
This commit is contained in:
@@ -7,14 +7,14 @@ import init, {
|
||||
|
||||
await init(); // load the wasm module
|
||||
|
||||
const botBuf = await fetch("bhop_marble_7cf33a64-7120-4514-b9fa-4fe29d9523d.qbot").then((r) => r.arrayBuffer());
|
||||
const mapBuf = await fetch("bhop_marble_5692093612.snfm").then((r) => r.arrayBuffer());
|
||||
const b = await fetch("bhop_marble_7cf33a64-7120-4514-b9fa-4fe29d9523d.qbot");
|
||||
const m = await fetch("bhop_marble_5692093612.snfm");
|
||||
|
||||
const canvas = document.querySelector('canvas');
|
||||
const canvas = document.querySelector("canvas");
|
||||
|
||||
const context = await setup(canvas);
|
||||
const graphics = new Graphics(context, new Uint8Array(mapBuf));
|
||||
const bot = new Bot(new Uint8Array(botBuf));
|
||||
const graphics = new Graphics(context, new Uint8Array(await m.arrayBuffer()));
|
||||
const bot = new Bot(new Uint8Array(await b.arrayBuffer()));
|
||||
const playback = new PlaybackHead(0);
|
||||
|
||||
const startTime = performance.now();
|
||||
|
||||
Reference in New Issue
Block a user