Skip to content

Clear stage to black & Mouse scroll wheel input? #1279

Answered by AlmasB
Gomaya19 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there,

  1. FXGL.getGameScene().setBackgroundColor(Color.BLACK). Here is a sample showing how to use a scrolling background for when you need it.

  2. This is fine as there is no built-in way of listening for zoom events in Input.

Feel free to post any questions that may arise during development.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Gomaya19
Comment options

Answer selected by Gomaya19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants