ScenePortal2D

An asset by jonnymind
The page banner background of a mountain and forest
ScenePortal2D thumbnail image
ScenePortal2D thumbnail image
ScenePortal2D hero image

Quick Information

0 ratings
ScenePortal2D icon image
jonnymind
ScenePortal2D

Changing scenes seems one of the most hairy problems Godot newbies are facing. While other game engines have a clear concept of "level" and simple ways you can transfer between them, Godot has a much more powerful concept of "scene", but moving between them requires ad-hoc scripting.This module automatizes scene switch, and offers a powerful set of objects to help you design both level transfers and programmatic scene transition.* The SceneChanger object can be directly used to change scene, optionally using transitions objects to perform visual transition between scenes.* The SceneChangerCtrl object provided can program the scene changer, so that you need writing less code, and rely on GUI to configure your scene changes.* ScenePortal2D objects can be placed in your levels, and given a target scene and exit portal directly from the UI, without any script.Transition controls can be added to the SceneChangerCtrl and to the portals to configure scene transitions without having to script them.New in this version:* Intra-scene portals* Support for portal loops* Support for teleport (moving player objects to remote scenes).

Supported Engine Version
3.2
Version String
1.1
License Version
MIT
Support Level
community
Modified Date
4 years ago
Git URL
Issue URL

ScenePortal2D

A Godot Asset to emulate RPG-Maker portal-events and scene changes.

Purpose

Changing scenes seems one of the most hairy problems Godot newbies are facing. While other game engines have a clear concept of "level" and simple ways you can transfer between them, Godot has a much more powerful concept of "scene", but moving between them requires ad-hoc scripting.

This module automatizes scene switch, and offers a powerful set of objects to help you design both level transfers and programmatic scene transition.

  • The SceneChanger object can be directly used to change scene, optionally using transitions objects to perform visual transition between scenes.
  • The SceneChangerCtrl object provided can program the scene changer, so that you need writing less code, and rely on GUI to configure your scene changes.
  • ScenePortal2D objects can be placed in your levels, and given a target scene and exit portal directly from the UI, without any script. Transition controls can be added to the SceneChangerCtrl and to the portals to configure scene transitions without having to script them.

Minimal Set Up

  1. Set the SceneChanger object as AutoLoad in the project.
  2. You may want to add a transition control (*_ctrl.tscn) under SceneChanger and rename it as DefaultTransition to take advantage of this feature application-wide.
  3. Your player object can implement a set_portal_facing(direction) method, to automate its facing on exit from a portal.
  4. By default, portal objects (ScenePortal2D) listen to collision levels 1 and 2. You may want to configure this.
  5. Your transferable entity (usually the Player) must be assigned the Player group.

Changing scenes seems one of the most hairy problems Godot newbies are facing. While other game engines have a clear concept of "level" and simple ways you can transfer between them, Godot has a much more powerful concept of "scene", but moving between them requires ad-hoc scripting.

This module automatizes scene switch, and offers a powerful set of objects to help you design both level transfers and programmatic scene transition.

* The SceneChanger object can be directly used to change scene, optionally using transitions objects to perform visual transition between scenes.
* The SceneChangerCtrl object provided can program the scene changer, so that you need writing less code, and rely on GUI to configure your scene changes.
* ScenePortal2D objects can be placed in your levels, and given a target scene and exit portal directly from the UI, without any script.
Transition controls can be added to the SceneChangerCtrl and to the portals to configure scene transitions without having to script them.

New in this version:
* Intra-scene portals
* Support for portal loops
* Support for teleport (moving player objects to remote scenes).

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
ScenePortal2D icon image
jonnymind
ScenePortal2D

Changing scenes seems one of the most hairy problems Godot newbies are facing. While other game engines have a clear concept of "level" and simple ways you can transfer between them, Godot has a much more powerful concept of "scene", but moving between them requires ad-hoc scripting.This module automatizes scene switch, and offers a powerful set of objects to help you design both level transfers and programmatic scene transition.* The SceneChanger object can be directly used to change scene, optionally using transitions objects to perform visual transition between scenes.* The SceneChangerCtrl object provided can program the scene changer, so that you need writing less code, and rely on GUI to configure your scene changes.* ScenePortal2D objects can be placed in your levels, and given a target scene and exit portal directly from the UI, without any script.Transition controls can be added to the SceneChangerCtrl and to the portals to configure scene transitions without having to script them.New in this version:* Intra-scene portals* Support for portal loops* Support for teleport (moving player objects to remote scenes).

Supported Engine Version
3.2
Version String
1.1
License Version
MIT
Support Level
community
Modified Date
4 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