Skip to content

Commit a557f72

Browse files
authored
The Future Is Now: Create arcade.future (#2176)
* bring back the future * hopefully fix everything * formatting
1 parent 55037f3 commit a557f72

36 files changed

+64
-1587
lines changed

arcade/examples/background_blending.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
import arcade
13-
import arcade.experimental.background as background
13+
import arcade.future.background as background
1414

1515
SCREEN_WIDTH = 1280
1616
SCREEN_HEIGHT = 720

arcade/examples/background_groups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"""
1313

1414
import arcade
15-
import arcade.experimental.background as background
15+
import arcade.future.background as background
1616

1717
SCREEN_WIDTH = 800
1818
SCREEN_HEIGHT = 600

arcade/examples/background_parallax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"""
1515

1616
import arcade
17-
import arcade.experimental.background as background
17+
import arcade.future.background as background
1818

1919

2020
SCREEN_TITLE = "Background Group Example"

arcade/examples/background_scrolling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
python -m arcade.examples.background_scrolling
1111
"""
1212
import arcade
13-
import arcade.experimental.background as background
13+
import arcade.future.background as background
1414

1515
SCREEN_WIDTH = 1280
1616
SCREEN_HEIGHT = 720

arcade/examples/background_stationary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"""
1010

1111
import arcade
12-
import arcade.experimental.background as background
12+
import arcade.future.background as background
1313

1414
SCREEN_WIDTH = 1280
1515
SCREEN_HEIGHT = 720

arcade/examples/light_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
python -m arcade.examples.light_demo
88
"""
99
import arcade
10-
from arcade.experimental.lights import Light, LightLayer
10+
from arcade.future.light import Light, LightLayer
1111

1212
SCREEN_WIDTH = 1024
1313
SCREEN_HEIGHT = 768

arcade/experimental/__init__.py

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -4,49 +4,9 @@
44

55
from __future__ import annotations
66

7-
from .video_player import VideoPlayer, VideoPlayerView
8-
from .texture_render_target import RenderTargetTexture
97
from .shadertoy import Shadertoy, ShadertoyBuffer, ShadertoyBase
108
from .crt_filter import CRTFilter
119
from .bloom_filter import BloomFilter
12-
from .background import (
13-
Background,
14-
BackgroundGroup,
15-
ParallaxGroup,
16-
BackgroundTexture,
17-
texture_from_file,
18-
background_from_file,
19-
)
2010

2111

22-
__all__ = [
23-
"VideoPlayer",
24-
"VideoPlayerView",
25-
"RenderTargetTexture",
26-
"Shadertoy",
27-
"ShadertoyBuffer",
28-
"ShadertoyBase",
29-
"CRTFilter",
30-
"BloomFilter",
31-
"Background",
32-
"BackgroundGroup",
33-
"ParallaxGroup",
34-
"BackgroundTexture",
35-
"texture_from_file",
36-
"background_from_file",
37-
]
38-
39-
40-
# Keep cv2 an optional dependency
41-
try:
42-
from .video_cv2 import CV2PlayerView, VideoPlayerCV2 # noqa: F401
43-
44-
__all__.extend(
45-
[
46-
"VideoPlayerCV2",
47-
"CV2PlayerView",
48-
]
49-
)
50-
51-
except ImportError:
52-
pass
12+
__all__ = ["Shadertoy", "ShadertoyBuffer", "ShadertoyBase", "CRTFilter", "BloomFilter"]

arcade/experimental/clock/__init__.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

arcade/experimental/clock/clock.py

Lines changed: 0 additions & 147 deletions
This file was deleted.

0 commit comments

Comments
 (0)