Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge pull request #68 from LittleTealeaf/main #69

Merged
merged 4 commits into from
Nov 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MapFiles/test_map.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 18 1 1 1 1 17 1 5 11 11 12 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 13 11 6 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 8 8 8 1 1 1 1 1 1 9 1 1 1 1 1 7 1 1 1 1 1 1 18 1 1 1 1 1 1
1 1 1 1 1 8 8 8 1 1 1 1 1 1 9 1 1 1 1 1 7 1 1 1 1 1 1 20 1 1 1 1 1 1
1 1 1 1 1 8 8 8 1 1 1 1 1 0 0 0 0 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 7 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 7 1 1 10 1 0 0 0 0 0 0 0 0 0 0 0 0 0 19 19 14 14 14 14 19 19 0 0
Expand Down
14 changes: 7 additions & 7 deletions Team A2/Test Cases/Test Case SCP-34.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

|Step | Action | Expected Result | Pass/Fail |
|:---:| :--- | :---- | :---: |
|1| Run the game | The game successfully opens ||
|2| Enter level 1 | The User will enter level 1 | |
|3| Find new map tile next to water tile | User will find the new map tile, sand, next to water tiles in game | |
|4| User will exit the game | The User will properly exit the game | |
|1| Run the game | The game successfully opens |Passed|
|2| Enter level 1 | The User will enter level 1 |Passed|
|3| Find new map tile next to water tile | User will find the new map tile, sand, next to water tiles in game |Passed|
|4| User will exit the game | The User will properly exit the game |Passed|


### Test Completion
- **Tester**: [TESTER NAME]
- **Date of Test**: DATE OF TEST
- **Test Result**: TEST RESULT
- **Tester**: Thomas Kwashnak
- **Date of Test**: 11/29/2021
- **Test Result**: Passed
1 change: 1 addition & 0 deletions src/Screens/OptionsScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import Engine.GamePanel;
import Engine.GraphicsHandler;
import Engine.ImageLoader;
import Game.GameState;
import GameObject.SpriteSheet;
import Maps.LevelSelectMap;
import Menu.Direction;
Expand Down
19 changes: 10 additions & 9 deletions src/Tilesets/CommonTileset.java
Original file line number Diff line number Diff line change
Expand Up @@ -241,27 +241,28 @@ public ArrayList<MapTileBuilder> defineTiles() {
mapTiles.add(floatingPlatformTile);


// solid floating block
Frame solidFloatingFrame = new FrameBuilder(getSubImage(3, 5), 0)
// Sand
Frame sandFrame = new FrameBuilder(getSubImage(4, 0), 0)
.withScale(tileScale)
.withBounds(0, 6, 16, 3)
.build();

MapTileBuilder solidFloatingTile = new MapTileBuilder(solidFloatingFrame)
MapTileBuilder sandTile = new MapTileBuilder(sandFrame)
.withTileType(TileType.NOT_PASSABLE);

mapTiles.add(solidFloatingTile);
mapTiles.add(sandTile);


// Sand
Frame sandFrame = new FrameBuilder(getSubImage(4, 0), 0)
// solid floating block
Frame solidFloatingFrame = new FrameBuilder(getSubImage(3, 5), 0)
.withScale(tileScale)
.withBounds(0, 6, 16, 3)
.build();

MapTileBuilder sandTile = new MapTileBuilder(sandFrame)
MapTileBuilder solidFloatingTile = new MapTileBuilder(solidFloatingFrame)
.withTileType(TileType.NOT_PASSABLE);

mapTiles.add(sandTile);
mapTiles.add(solidFloatingTile);


return mapTiles;
}
Expand Down