Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
playground
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
playground
Commits
a53839cf
Commit
a53839cf
authored
Feb 15, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8c416f7e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
main.js
test/src/game/main.js
+2
-2
No files found.
test/src/game/main.js
View file @
a53839cf
...
@@ -15,13 +15,13 @@ class GameStage extends WidgetBase {
...
@@ -15,13 +15,13 @@ class GameStage extends WidgetBase {
addbodys
()
{
addbodys
()
{
const
ball1
=
new
Body
({
const
ball1
=
new
Body
({
display
:
'b
all
'
,
display
:
'b
ox
'
,
initialVelocityX
:
2
,
initialVelocityX
:
2
,
initialVelocityY
:
2
initialVelocityY
:
2
});
});
const
ball2
=
new
Body
({
const
ball2
=
new
Body
({
display
:
'b
all
'
,
display
:
'b
ox
'
,
initialVelocityX
:
-
2
,
initialVelocityX
:
-
2
,
initialVelocityY
:
-
2
initialVelocityY
:
-
2
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment