Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12,225 changes: 12,225 additions & 0 deletions examples/2d-light-playground/2d-light-playground.json

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions examples/2d-light-playground/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 2D Light Playground

A playground for GDevelop's 2D lights and light obstacles, with one scene per
situation. Press 1, 2 or 3 to go from one scene to another.

- **Dungeon** — rooms of brick walls, where every brick is a light obstacle,
lit by torches and a turning flashlight (a light with a texture).
- **Moving Lights and Obstacles** — coloured lights going around, crates and
doors turning, pillars sliding: the shadows follow them. Candles next to the
doors are hidden by them when they turn in front.
- **Crowded Room** — hundreds of crates casting shadows from many lights at
once. The pink light follows the mouse.
Binary file added examples/2d-light-playground/assets/ConeLight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/2d-light-playground/assets/Crate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/2d-light-playground/assets/Floor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/2d-light-playground/assets/Pillar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/2d-light-playground/assets/Torch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/2d-light-playground/assets/Wall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading