Skip to content
Merged
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
2 changes: 0 additions & 2 deletions arcade/examples/array_backed_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.array_backed_grid
"""
from __future__ import annotations

import arcade

# Set how many rows and columns we will have
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/array_backed_grid_buffered.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.array_backed_grid_buffered
"""
from __future__ import annotations

import arcade

# Set how many rows and columns we will have
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/array_backed_grid_sprites_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.array_backed_grid_sprites_1
"""
from __future__ import annotations

import arcade

# Set how many rows and columns we will have
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/array_backed_grid_sprites_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.array_backed_grid_sprites_2
"""
from __future__ import annotations

import arcade

# Set how many rows and columns we will have
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/astar_pathfinding.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
python -m arcade.examples.astar_pathfinding
"""

from __future__ import annotations

import arcade
import random

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/asteroid_smasher.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
the command line with:
python -m arcade.examples.asteroid_smasher
"""
from __future__ import annotations

import random
import math
import arcade
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/background_blending.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
python -m arcade.examples.background_blending
"""

from __future__ import annotations

import arcade
import arcade.experimental.background as background

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/background_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
python -m arcade.examples.background_groups
"""

from __future__ import annotations

import arcade
import arcade.experimental.background as background

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/background_parallax.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
python -m arcade.examples.background_parallax
"""

from __future__ import annotations

import arcade
import arcade.experimental.background as background

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/background_scrolling.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.background_scrolling
"""
from __future__ import annotations

import arcade
import arcade.experimental.background as background

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/background_stationary.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
python -m arcade.examples.background_stationary
"""

from __future__ import annotations

import arcade
import arcade.experimental.background as background

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/bloom_defender.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
python -m arcade.examples.bloom_defender
"""

from __future__ import annotations

import arcade
import random

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/bouncing_rectangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
python -m arcade.examples.bouncing_rectangle
"""

from __future__ import annotations

import arcade

# --- Set up the constants
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/camera_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
python -m arcade.examples.camera_platform
"""

from __future__ import annotations

import time

import arcade
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/conway_alpha.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
typing:
python -m arcade.examples.conway_alpha
"""
from __future__ import annotations

import arcade
import random

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/drawing_primitives.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
python -m arcade.examples.drawing_primitives
"""

from __future__ import annotations

# Import the Arcade library. If this fails, then try following the instructions
# for how to install arcade:
# https://api.arcade.academy/en/latest/install/index.html
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/drawing_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.drawing_text
"""
from __future__ import annotations

import arcade

SCREEN_WIDTH = 1200
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/drawing_text_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.drawing_text_objects
"""
from __future__ import annotations

import arcade

SCREEN_WIDTH = 1200
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/drawing_text_objects_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.drawing_text_objects_batch
"""
from __future__ import annotations

import arcade
import pyglet.graphics

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/dual_stick_shooter.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.dual_stick_shooter
"""
from __future__ import annotations

import math
import pprint
import random
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/easing_example_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.easing_example_1
"""
from __future__ import annotations

import arcade
from arcade import easing
from arcade.types import Color
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/easing_example_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.easing_example_2
"""
from __future__ import annotations

import arcade
from arcade import easing

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/follow_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
python -m arcade.examples.follow_path
"""

from __future__ import annotations

import arcade
import math

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/full_screen_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
python -m arcade.examples.full_screen_example
"""

from __future__ import annotations

import arcade

SPRITE_SCALING = 0.5
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/3d_cube.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.gl.3d_cube
"""
from __future__ import annotations

from pyglet.math import Mat4
import arcade
from arcade.gl import geometry
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/3d_cube_with_cubes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.gl.3d_cube_with_cubes
"""
from __future__ import annotations

from pyglet.math import Mat4

import arcade
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/3d_sphere.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.gl.3d_sphere
"""
from __future__ import annotations

import arcade
from arcade.math import clamp
from arcade.gl import geometry
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/basic_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
python -m arcade.examples.gl.basic_renderer
"""

from __future__ import annotations

import math
import arcade
from arcade.gl import geometry
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/bindless_texture.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.gl.bindless_texture
"""
from __future__ import annotations

from array import array
from typing import List
from itertools import cycle
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/chip8_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.gl.chip8_display
"""
from __future__ import annotations

from array import array

import arcade
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/compute_ssbo.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.gl.compute_ssbo
"""
from __future__ import annotations

import random
import math
from array import array
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/compute_texture.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.gl.compute_texture
"""
from __future__ import annotations

import arcade
from arcade.gl import geometry

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/custom_sprite.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.gl.custom_sprite
"""
from __future__ import annotations

from random import randint
from array import array
import arcade
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/game_of_life_colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.gl.game_of_life_colors
"""
from __future__ import annotations

import random
from array import array

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/geometry_index_buffers.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.gl.geometry_index_buffers
"""
from __future__ import annotations

from array import array

import arcade
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/geometry_shader.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.gl.geometry_shader
"""
from __future__ import annotations

import random
from array import array
import arcade
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/instancing.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.gl.instancing
"""
from __future__ import annotations

import random
from array import array

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/multisample_fbo.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
python -m arcade.examples.gl.multisample_fbo
"""

from __future__ import annotations

import math
import arcade

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/normal_mapping_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
Run this example from the command line with:
python -m arcade.examples.gl.normal_mapping_simple
"""
from __future__ import annotations

import arcade
from arcade.gl import geometry

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/random_shader_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.gl.random_shader_simple
"""
from __future__ import annotations

from time import time
from array import array
from random import random
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/ray_marching/ray_marching_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
"Ray Marching for Dummies!" video from The Art of Code
YouTube channel : https://www.youtube.com/watch?v=PGtv-dBi2wE
"""
from __future__ import annotations

from pathlib import Path
import arcade
from arcade.gl import geometry
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/render_indirect.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.gl.render_indirect
"""
from __future__ import annotations

from random import (
randint,
random,
Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/shader_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.gl.shader_setup
"""
from __future__ import annotations

import arcade
from arcade.gl import geometry

Expand Down
2 changes: 0 additions & 2 deletions arcade/examples/gl/shader_setup_simple_texture.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
If Python and Arcade are installed, this example can be run from the command line with:
python -m arcade.examples.gl.shader_setup_simple_texture
"""
from __future__ import annotations

import arcade
from arcade.gl import geometry

Expand Down
Loading