We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 92a8e8b + af46d92 commit 04368ceCopy full SHA for 04368ce
1 file changed
scripts/global.gd
@@ -16,6 +16,15 @@ signal timer_added
16
enum Endings { WIN, LOSE }
17
enum Player { ONE, TWO, BOTH }
18
19
+## These constants correspond to the names configured in Project Settings → Layer Names → 2D
20
+## Physics. Please keep these in sync!
21
+enum PhysicsLayers {
22
+ PLAYER = 1,
23
+ COINS = 2,
24
+ PLATFORMS = 3,
25
+ ENEMY = 4,
26
+}
27
+
28
## Timer for finishing the level.
29
var timer: Timer
30
0 commit comments