Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Battle Pong
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Frederic Aust
Battle Pong
Commits
dc6697ca
Commit
dc6697ca
authored
Dec 14, 2020
by
Frederic Aust
Browse files
Options
Downloads
Patches
Plain Diff
hit Signal in Main korrigiert - war doppelt angebunden
parent
487ffaac
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Battle Pong/Ball.gd
+1
-2
1 addition, 2 deletions
Battle Pong/Ball.gd
Battle Pong/Main.gd
+0
-3
0 additions, 3 deletions
Battle Pong/Main.gd
with
1 addition
and
5 deletions
Battle Pong/Ball.gd
+
1
−
2
View file @
dc6697ca
...
...
@@ -2,7 +2,7 @@ extends RigidBody2D
# Declare member variables here.
export
var
speed
=
15
0
export
var
speed
=
20
0
var
playing
=
false
var
dx
=
100
var
dy
=
0
...
...
@@ -11,7 +11,6 @@ var y_range = 100
# Called when the node enters the scene tree for the first time.
func
_ready
():
pass
# Called every frame. 'delta' is the elapsed time since the previous frame.
...
...
This diff is collapsed.
Click to expand it.
Battle Pong/Main.gd
+
0
−
3
View file @
dc6697ca
...
...
@@ -9,9 +9,6 @@ var playing = false
var
score_event
=
false
var
game_done
=
false
const
SPACE_TO_PLAY
=
"Press SPACE to Play!"
const
P1_WIN
=
"Player 1 won!"
const
P2_WIN
=
"Player 2 won!"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment