diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/build/sjgs - v1.0.jar b/build/sjgs - v1.0.jar deleted file mode 100644 index 8d3033d..0000000 Binary files a/build/sjgs - v1.0.jar and /dev/null differ diff --git a/build/sjgs.jar b/build/sjgs.jar new file mode 100755 index 0000000..e69de29 diff --git a/dep/JMP3-README.txt b/dep/JMP3-README.txt old mode 100644 new mode 100755 diff --git a/license.txt b/license.txt old mode 100644 new mode 100755 diff --git a/src/sjgs/__example_games/__PhysicsDemonstration.java b/src/sjgs/__example_games/__PhysicsDemonstration.java index 4bbd51d..5a5a0ae 100755 --- a/src/sjgs/__example_games/__PhysicsDemonstration.java +++ b/src/sjgs/__example_games/__PhysicsDemonstration.java @@ -60,10 +60,10 @@ class __PhysicsDemonstration extends Engine { for(int row = 1; row < map.length+1; row++) for(int col = 1; col < level_width+1; col++) switch(map[row-1].charAt(col-1)) { - case 't': new ExampleTile(TILE_SIZE*col, TILE_SIZE*row, TILE_SIZE, TILE_SIZE, 0, 0); break; - case 'l': new ExampleTile(TILE_SIZE*col, TILE_SIZE*row, TILE_SIZE, TILE_SIZE, 100, 0); break; - case 'r': new ExampleTile(TILE_SIZE*col, TILE_SIZE*row, TILE_SIZE, TILE_SIZE, 0, 100 ); break; - case 'p': player = new ExamplePlayer(TILE_SIZE*col, TILE_SIZE*row, TILE_SIZE, TILE_SIZE*1.5f); break; + case 't': new ExampleTile(TILE_SIZE*col, TILE_SIZE*row, TILE_SIZE, TILE_SIZE, 0, 0); break; + case 'l': new ExampleTile(TILE_SIZE*col, TILE_SIZE*row, TILE_SIZE, TILE_SIZE, 100, 0); break; + case 'r': new ExampleTile(TILE_SIZE*col, TILE_SIZE*row, TILE_SIZE, TILE_SIZE, 0, 100 ); break; + case 'p': player = new ExamplePlayer(TILE_SIZE*col, TILE_SIZE*row, TILE_SIZE, TILE_SIZE*1.5f); break; } } diff --git a/src/sjgs/core/jython/engine_imports.py b/src/sjgs/core/jython/engine_imports.py index 47d54cd..85de09b 100755 --- a/src/sjgs/core/jython/engine_imports.py +++ b/src/sjgs/core/jython/engine_imports.py @@ -18,7 +18,10 @@ from sjgs.graphics import Colors from sjgs.base_objects import * -import sjgs.sound.SoundPlayer as SoundPlayer +# NOTE: this is deprecated due to moving sound to JMP3 versus inside SJGS. +#### In order to use JMP3 inside of SJGS you will need to import the classes inside +#### of your project. +#import sjgs.sound.SoundPlayer as SoundPlayer import sjgs.physics.Physics as Physics import sjgs.physics.structs.BoundingBox as BoundingBox