# FAQ

## Is Orbs JS WebGL based?

**No**, the main goal of orbs is [compatibility across browsers](https://caniuse.com/canvas) and orbs does that by using regular [HTML5 canvas API](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API)

## Can it be used to make games for PC?

**Yes**, as orbs is multi-platform it can be used in the browser; Also, it can be used for distributable games for publishing on Steam; simply use [Electron js](https://www.electronjs.org/) or another cross-platform html library (nw js, Tauri), to bundle your game written in js with orbs and then publish to Windows, Mac and Linux.

## Can it be used to make Mobile games?

**Yes**, as orbs is multi-platform it can be used in the browse on mobile; Also, it can be used for distributable games for publishing on the app store and play store; simply use [Ionic](https://ionicframework.com/) or [Cordoava](https://ionicframework.com/), to bundle your game written in js with orbs and then publish to Andorid and ios. you can also publish to Chromebooks as mentioned [here](https://github.com/electron/electron/issues/12712#issuecomment-889214305) and [here](https://stackoverflow.com/a/68578181/13628564).

## Can it be used to make games for Consoles?

**Yes and No, for** Xbox its possible by building your game normally with js and then using [this documentation](https://docs.microsoft.com/en-us/windows/uwp/xbox-apps/development-lanes-html) to build for Xbox or build using electron uwp app (for Xbox one x, one s, series x and series s). For PS4 and PS5 there complicated ways we are not going to look into now, but there ways as there is a game called crosscode written in html canvas and is on all the latest consoles. Switch is the same case as Play station

## Can I use a controller?

**Yes,** by using the [Gamepad api](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API) that is available in modern browsers and on electron.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://imagineee.gitbook.io/orbs-js/information-on-orbs-js/faq.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
