-
-
Save codeforfun-jp/c7980c89d9afe62ad17f6f29a19e72aa to your computer and use it in GitHub Desktop.
CTB 12-2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
screenWidth = size.x; | |
screenHeight = size.y; | |
boxSpeed = Math.round(screenHeight / 60f); | |
orangeSpeed = Math.round(screenWidth / 60f); | |
pinkSpeed = Math.round(screenWidth / 36f); | |
blackSpeed = Math.round(screenWidth / 45f); | |
orange.setX(-80.0f); | |
orange.setY(-80.0f); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment