Skip to content

Commit

Permalink
object placement
Browse files Browse the repository at this point in the history
  • Loading branch information
Mythical-Atlas committed Jun 2, 2020
1 parent a8a2d7e commit 2c50880
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Sonic Fan Game/src/scenes/MainScene.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,29 +185,37 @@ private void placeObjects() {
placeSpring(137, 18, 8, 5, -16, -32, PI / 2, 55, 0);
placeSpring(157, 24, 8, 5, -16, -32, PI / 2, 55, 0);

placeSpring(144, 23, 2, 6, -16, -32, 0, 55, 3);

placeSpring( 84, 11, 10, 5, -16, -32, PI / 2 - PI / 4, 55, 5);
placeSpring( 88, 16, 8, 7, -16, -32, PI / 2 + PI / 4, 55, 4);
placeSpring( 87, 14, 2, 8, -16, -32, PI / 2 - PI / 4, 55, 9);
placeSpring(109, 16, 2, 7, -16, -32, PI / 2 - PI / 4, 55, 5);
placeSpring(152, 17, 8, 5, -16, -32, PI / 2 + PI / 4, 55, 4);

placeRamp( 15, 4, 0, 2, 4, 4, PI / 4, 30);
placeRamp( 31, 6, 2, 8, 4, 4, PI / 4, 30);
placeRamp( 51, 13, 6, 8, 4, 4, PI / 4, 30);
placeRamp( 68, 6, 6, 2, 4, 4, PI / 4, 30);
placeRamp(124, 14, 6, 8, 4, 4, PI / 4, 30);
placeRamp(157, 20, 6, 0, 4, 4, PI / 4, 30);
placeRamp(143, 21, 6, 8, 4, 4, PI / 4, 30);

placeRotor (32, 7, 11, 11, 4, 4);
placeRotor( 41, 9, 10, 10, 0, 0);
placeRotor( 57, 5, 3, 7, 0, 4);
placeRotor(110, 13, 11, 6, 4, 0);
placeRotor(114, 17, 4, 10, 0, 4);
placeRotor(134, 19, 11, 6, 4, 0);
placeRotor(145, 20, 4, 0, 4, 0);

placeSpringPole( 34, 7, 0, 0, 0, 0, 1);
placeSpringPole( 40, 12, 0, 3, 0, 0, 1);
placeSpringPole( 23, 5, 0, -7, 0, 0, 1);
placeSpringPole( 74, 13, 0, 6, 0, 0, 1);
placeSpringPole( 74, 12, 0, 3, 0, 0, 1);
placeSpringPole(116, 17, -6, 2, 0, 0, 1);
placeSpringPole(146, 19, 0, 4, 0, 0, 1);

helixes = new Helix[]{
new Helix(( 49 + 16) * 96 * 2, ( 6 + 16) * 96 * 2),
Expand Down

0 comments on commit 2c50880

Please sign in to comment.