Skip to content

Conversation

@pushfoo
Copy link
Member

@pushfoo pushfoo commented Apr 27, 2023

Follow-up to reading #1729 (comment)

Changes

  • Move sprite depth demo to a clearer file name
  • Add a top-level docstring including run instructions per arcade's conventions
  • Move hard-coded values into adjustable constants
  • Add space bar toggle for depth testing
  • Add on-screen instruction / status display using batched text matching other examples
  • Add comments

How to test

python -m arcade.experimental.sprite_depth_cosine

@pushfoo pushfoo changed the title Make experimental sprite depth example more legible Improve readability & controls of sprite depth example Apr 27, 2023
@einarf
Copy link
Member

einarf commented Apr 27, 2023

👍

@einarf einarf merged commit e20d111 into pythonarcade:development Apr 27, 2023
@pushfoo pushfoo deleted the touch_up_sprite_depth_example branch May 7, 2023 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants