Paper Toss
Configuration
Options
visible_hitboxBoolean
[DEV] Display the hitboxes.
false
number_of_shootInteger
Number of times a player can "shoot" the ball.
5
time_between_shootInteger
Delay between each "shoot".
1000
background > height / widthInteger
Background's visual sizes.
600 / 900
ball > height / widthInteger
Ball's visual sizes (to render).
50 / 50
ball > speedInteger
Speed of the ball.
9
keeper > activeBoolean
[Do not edit] Set to true to enable the keeper (used in penalty).
false
keeper > height / widthInteger
Keeper's visual sizes (to render) (used in penalty).
1 / 1
keeper > offsetYInteger
Vertical adjustment of the keeper (used in penalty).
0
keeper > speed > min / maxInteger
Speed of the keeper (is random between min and max at each "shoot") (used in penalty).
1 / 1
goal > height / widthInteger
Goal's visual sizes (to render).
145 / 113
goal > offsetYInteger
Vertical adjustment of the goal.
50
goal > paddingXInteger
Horizontal padding for the goal. (the ball will bounce of those areas).
10
goal > floorLineInteger
Ground level (if no goal).
100
goal > scoreLineInteger
Score level (if goal).
0
goal > scoreLineOffsetYInteger
Height to reach to score a point.
-75
default_langString
[PTF] Default language if unmatched language.
"fr"
shootString
Text displayed in the header.
"Throws: "
scoreString
Text displayed in the header.
"Points: "
Assets
background > url~600 x 600px (adapt background sizes)
Background of the game.
keeper > url/
Visual of the keeper (used in penalty).
/
goal > url~100 x 150px (adapt goal sizes)
Visual of the bin (back).
goal > url_foreground~100 x 150px (adapt goal sizes)
Visual of the bin (front).
Last updated