Paper Toss
Configuration
Options
visible_hitbox
Boolean
[DEV] Display the hitboxes.
false
number_of_shoot
Integer
Number of times a player can "shoot" the ball.
5
time_between_shoot
Integer
Delay between each "shoot".
1000
background > height / width
Integer
Background's visual sizes.
600 / 900
ball > height / width
Integer
Ball's visual sizes (to render).
50 / 50
ball > speed
Integer
Speed of the ball.
9
keeper > active
Boolean
[Do not edit] Set to true to enable the keeper (used in penalty).
false
keeper > height / width
Integer
Keeper's visual sizes (to render) (used in penalty).
1 / 1
keeper > offsetY
Integer
Vertical adjustment of the keeper (used in penalty).
0
keeper > speed > min / max
Integer
Speed of the keeper (is random between min and max at each "shoot") (used in penalty).
1 / 1
goal > height / width
Integer
Goal's visual sizes (to render).
145 / 113
goal > offsetY
Integer
Vertical adjustment of the goal.
50
goal > paddingX
Integer
Horizontal padding for the goal. (the ball will bounce of those areas).
10
goal > floorLine
Integer
Ground level (if no goal).
100
goal > scoreLine
Integer
Score level (if goal).
0
goal > scoreLineOffsetY
Integer
Height to reach to score a point.
-75
default_lang
String
[PTF] Default language if unmatched language.
"fr"
shoot
String
Text displayed in the header.
"Throws: "
score
String
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