How to display a minigame via viewport?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By hdo4ever

Hi,

In my project, I’m planning to have the upper half of the screen as a side-scroller with the bottom half displaying puzzles/quiz questions/minigames, but I’ve had no success displaying them correctly. Once I’ve created a scene of the minigame, I’ve tried going Viewport Collector → Viewport → instance minigame node yet nothing is displayed within the Viewport Collector.

Anyone got any tips?

Thanks!

Do you mean like how it’s done in the Godot demo 2D in 3D?

Two-Tone | 2018-04-06 05:18

:bust_in_silhouette: Reply From: ywaby

tip

  1. set viewport size
  2. select viewport → render → usage = 3d ,if viewport is disaplay 3d .
  3. enable material → resource → locale to sence ,in something use viewport texture