Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Fix bot actions - Re-map these actions to the current dom and 3d controls #8

Open
mrhegemon opened this issue Feb 1, 2023 · 1 comment

Comments

@mrhegemon
Copy link
Contributor

mrhegemon commented Feb 1, 2023

Fix bot actions,

We want the puppeteer bot to work first and best. We want the bots to use the same UI / code as humans.

If we have to cheat, the API is available to us too.
https://api-dev.etherealengine.com/openapi/

Re-map these actions to the current dom and 3d controls

WebXR emulator is a great start

Start here
https://github.com/XRFoundation/XREngine-Bot/blob/master/bot/bot-action.ts

export const BotActionType = {
None: 'none',

// connection
Connect: 'connect',
Disconnect: 'disconnect',

// room
EnterRoom: 'enterRoom',
LeaveRoom: 'leaveRoom',

// key
KeyPress: 'keyPress',

// audio
SendAudio: 'sendAudio',
StopAudio: 'stopAudio',
ReceiveAudio: 'receiveAudio',

// video
SendVideo: 'sendVideo',
StopVideo: 'stopVideo',
ReceiveVideo: 'receiveVideo',

// interact
InteractObject: 'interactObject',

// send message
SendMessage: 'sendMessage',

// flow control
OpIf: 'opIf',
Delay: 'delay'
}

@SYBIOTE
Copy link
Member

SYBIOTE commented Feb 3, 2023

Updated the bot actions file to include a lot more actions, including
interaction with the user settings, avatar, screenshots, animation and sharing.

Updated on my fork, should i make a pull request?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants