-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.lua
61 lines (53 loc) · 991 Bytes
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
local Config =
{
currentLanguage = "en", --> change here your language
hasWindowFocus = true,
isPaused = true,
Paddle = {
width = 15,
height = 100,
speedVel = 350.0,
padding = 10.0,
topLimit = 0,
bottomLimit = 0
},
Player = {
posX = 15,
posY = 0,
score = 0,
},
IA = {
posX = 0,
posY = 0,
score = 0,
},
Ball = {
posX = 0,
posY = 0,
dirX= 0,
dirY = 0,
speedVel = 350,
radius = 7
},
Window = {
title = "Pong Game by SuperCoolNinja.",
width = 800,
height = 600,
},
LimitZoneUI = {
posX = 0,
posY = 0,
width = 5,
height = 10
},
GameScreen = {
fontSize = 30,
bgColor = {
r = 0 / 255,
g = 0 / 255,
b = 0 / 255
},
padding = 20
}
}
return Config;