Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Project that Supports Both Flat & XR

An asset by samsarette
The page banner background of a mountain and forest
Project that Supports Both Flat & XR thumbnail image
Project that Supports Both Flat & XR thumbnail image
Project that Supports Both Flat & XR hero image

Quick Information

0 ratings
Project that Supports Both Flat & XR icon image
samsarette
Project that Supports Both Flat & XR

This project template enables your game to play as both an XR and a 'normal', a.k.a 'flat', 3D game).

Supported Engine Version
3.5
Version String
2.0.0
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Godot Project that Supports Both Flat & XR

README icon

This project template enables your game to play as both an XR and a 'normal', a.k.a 'flat', 3D game).

Project Settings

MSAA "AndroidVR 2x" is recommended; it applies a 2x MSAA for both desktop and Quest platforms.

Inputs expected by the project's code are: "character_forward", "character_backward", "character_left", "character_right".

Autoload Singleton

There is one singleton to define under the "AutoLoad" section. the script "xr_or_flat_mode_singleton.gd" must be named "XrOrFlatMode". This singleton is the helper that allows any script to preform functions that differ between modes and to query the current mode.

README autoload-singleton

Export For Meta Quest

Simply add the "always-xr" feature to the android export.

Don't forget to setup the usual settings like "XR Mode" as "OpenXR".

README export-for-exclusively-xr-platform

Autodetect

If no OS feature is enforcing a mode, or the in-engine selector, it will select a mode based on whether it can start in XR mode or not.

Specify Mode via argument

  • Use "--flat", "--flat=true", or "--xr=false" for standard flat mode.
  • Use "--xr" or "--xr=true" for XR mode.

Providing Launch Options in Launcher App

This is intended to be used with itch.io's "Manifest actions" feature, where one can create different ways to launch a game.

This project template enables your game to play as both an XR and a 'normal', a.k.a 'flat', 3D game).

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Project that Supports Both Flat & XR icon image
samsarette
Project that Supports Both Flat & XR

This project template enables your game to play as both an XR and a 'normal', a.k.a 'flat', 3D game).

Supported Engine Version
3.5
Version String
2.0.0
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers