Skip to main content

21 docs tagged with "ui"

View all tags

Crash Course - Make a Game

Follow an end-to-end PlayCanvas game build with video and a playable demo covering physics, UI, and core workflow.

Create QR Code at runtime

Generate QR codes in the browser at runtime with a small library and show them in UI or on textures.

Dynamic UI Scroll View

Add and remove scroll view children at runtime to build lists and feeds with PlayCanvas screen-space UI.

HTML/CSS - Live Updates

Edit HTML and CSS assets with live reload so HUD changes appear instantly while the scene keeps running.

HTML/CSS UI

Build layered HUDs and menus with standard HTML and CSS composited over the WebGL canvas.

Loading Circle UI

Implement a radial loading spinner UI with materials and animation for clear feedback while content streams in.

Mobile UI Safe Areas

Lay out screen UI inside notched and rounded device safe areas so controls stay clear of system bars and hardware cutouts.

Multiple Camera Layers

Combine multiple cameras and render layers to mix screen-space UI with world-space elements in one PlayCanvas scene.

Render 3D World to UI

Render a 3D preview with a dedicated camera into UI elements such as inventory icons or character selection panels.

Touchscreen Joypad Controls

Add a customizable on-screen twin-stick style joypad with PlayCanvas UI elements for mobile character control.

Tutorial: Layout Groups

Arrange buttons and panels with Layout Group and child layout rules to build responsive PlayCanvas UI flows.

Tutorial: Shop User Interface

Compose a shop screen with layout groups, buttons, sprites, and atlases to list items and purchase affordances cleanly.

User Interface - Buttons

Build clickable buttons with Element and Button components on a Screen, wiring events for hover, press, and navigation states.

User Interface - Leaderboard

Populate a scrolling leaderboard from JSON data using Element text rows and scripted sorting for score displays.

User Interface - Text Input

Overlay an HTML text input on the canvas for OS-native typing, copy-paste, and IME support tied to PlayCanvas UI focus.

WebXR UI Interaction

Point WebXR laser pointers or gaze at screen-space UI and handle clicks across desktop, mobile, and headset browsers.

World to UI Screen space

Project 3D world positions into screen-space anchors so labels and markers track moving objects on the 2D overlay.