# Dragging - Apple Picker
The goal of Apple Picker (opens new window) is to drag as many apples into the basket as possible within the given time limit. After an apple is collected, it moves to a new location on the tree.
# Customize
You can customize various game settings by adding parameters to the end of the URL.
# Link generator
The easiest approach is to use the link generator (opens new window) to create your URL. Customize the parameters on the form, click "Share link", and copy the generated URL to play the game with your settings.
# Build URL manually
You can also manually customize the URL by adding various parameters to the end after a #
.
Each setting is specified in the format settingName=settingValue
. For example, you could append timeLimit=120
to set the time limit to 120 seconds:
https://mouse.techlit.tools/drag#timeLimit=120
Separate multiple parameters with an &
. For example, this URL changes the time limit and shows a "play again" button after the game ends:
https://mouse.techlit.tools/drag#timeLimit=120&showPlayAgain=true
Below is a list of all available parameters. If you leave a parameter off of the URL, the game will use the default value.
Setting name | Type | Description | Default value |
---|---|---|---|
timeLimit | number | Game time limit in seconds | 60 |
newAppleInterval | number | Adds a new apple each time this number of seconds goes by. Set to 0 for no new apples | 0 |
startingApples | number | The number of apples on the screen when the game starts | 1 |
showPlayAgain | boolean | Show the player a "play again" button after the game ends | false |
useSound | boolean | Play a sound effect when the player puts an apple in the basket. | true |
disableTouchScreen | boolean | Prevent touch screen interactions | false |