Penalty
Last updated
Last updated
Demo:
Boolean
[DEV] Display the hitboxes.
false
Integer
Number of times a player can "shoot" the ball.
5
Integer
Delay between each "shoot".
1000
Integer
Background's visual sizes.
600 / 686
Integer
Ball's visual sizes (to render).
50 / 50
Integer
Speed of the ball.
12
Boolean
[Do not edit] Set to false to disable the keeper.
true
Integer
Keeper's visual sizes (to render).
126 / 103
Integer
Vertical adjustment of the keeper.
10
Integer
Speed of the keeper (is random between min and max at each "shoot").
5 / 15
Integer
Goal's visual sizes (to render).
216 / 400
Integer
Vertical adjustment of the goal.
25
Integer
Horizontal padding for the goal. (the ball will bounce of those areas).
35
Integer
Ground level (if no goal).
100
Integer
Score level (if goal).
65
Integer
[Do not edit, used in PaperToss]
0
String
[PTF] Default language if unmatched language.
"fr"
String
Text displayed in the header.
"Shots: "
String
Text displayed in the header.
"Goals: "
~600 x 600px (adapt background sizes)
Background of the game.
50 x 50px
Visual of the ball.
~100 x 125px (adapt keeper sizes)
Visual of the keeper.
~400 x ...px (adapt goal sizes)
Visual of the goal.
/
[Do not edit, used in PaperToss]
/
~400 x 200px
Visual of the scoreboard.