-
Notifications
You must be signed in to change notification settings - Fork 8
Effects
Effects transform the game state in different ways.
- class:goscene
- JSON Schema
Changes the current scene.
{
class:goscene,
name:menuscene
}
- class:transform
- JSON Schema
Applies a transformation the owner scene element on a given time. This effect can be used to move, scale or rotate a scene element, or to change its color.
- class:spin
- JSON Schema
Spins (rotates 360º) a number of times a scene element on a given time.
- class: video
- JSON Schema
Shows a full screen video.
- class: changerenderer
- JSON Schema
Changes the renderer of the scene element this effect is attached to. It admits two parameters:
-
setInitialRenderer If set to true, this effect will restore the initial renderer this element had, even if it was null. In that case, the newRenderer param is omitted. The default value is true.
-
newRenderer Any of the renderers currently being supported in ead2. If setInitialRenderer is set to false, this renderer will be set up for this scene element.
You can see how it works by running the techdemo
eAdventure - eUCM research group
- Setting up a Development Environment
- Contributing Guidelines
- Build Process
- Project structure
- Schema
-
Engine
- Files paths and FileResolver
- Binding Schema elements with Engine elements
- Managing the game view through Layers
- Game loop and scene management
- IO
- File Resolver
- Assets: Converting schema objects to engine objects
- Engine Objects
- Actors
- Effects
- Testing the engine
- Editor
- Remote communication
- Release Process
- Other documentation