Commit a53839cf authored by wildfirecode13's avatar wildfirecode13

1

parent 8c416f7e
...@@ -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: 'ball', display: 'box',
initialVelocityX: 2, initialVelocityX: 2,
initialVelocityY: 2 initialVelocityY: 2
}); });
const ball2 = new Body({ const ball2 = new Body({
display: 'ball', display: 'box',
initialVelocityX: -2, initialVelocityX: -2,
initialVelocityY: -2 initialVelocityY: -2
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment