Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
89448cb
Improved player movement
CharlieCrosley Feb 16, 2022
652eb5c
Merge pull request #1 from CharlieCrosley/master
CharlieCrosley Feb 16, 2022
61c8f91
Create packages to make classes identifiable
booksaw Feb 17, 2022
0cb3bed
Merge pull request #2 from booksaw/CreatePackages
booksaw Feb 17, 2022
041dcde
Changed Shooting Mechanism
r0b-ert Feb 21, 2022
0a5ceb9
Update .gitignore
r0b-ert Feb 21, 2022
25213ca
Merge pull request #3 from r0b-ert/shooting-mouse
r0b-ert Feb 21, 2022
1c8de18
Shooting Clean-up
r0b-ert Feb 21, 2022
7df56f7
Merge pull request #4 from r0b-ert/shooting-mouse
r0b-ert Feb 21, 2022
0a236da
Added Ability to use Arrow Keys
r0b-ert Feb 21, 2022
bbf552f
Merge pull request #5 from r0b-ert/moving
r0b-ert Feb 21, 2022
375fb00
Rebalanced college fights
booksaw Feb 22, 2022
3e28f8f
Merge pull request #6 from booksaw/RebalanceCollege
booksaw Feb 22, 2022
735baff
Increase window size on start
dan-wade42 Feb 22, 2022
1448ebc
Merge pull request #7 from dan-wade42/master
dan-wade42 Feb 22, 2022
322e6df
First Official Commit to Assessment 2 game
Anon0x19 Feb 23, 2022
dd57ba4
sfx and music
Anon0x19 Feb 23, 2022
b6c22bd
moved unused assets
Anon0x19 Feb 23, 2022
f60e123
Merge pull request #8 from Anon0x19/master
Anon0x19 Feb 23, 2022
b6cac5a
FIx resize issue
dan-wade42 Feb 24, 2022
e614cb8
Merge pull request #9 from dan-wade42/master
dan-wade42 Feb 24, 2022
65da48e
Added sound effects to player and college cannonball collision
CharlieCrosley Feb 27, 2022
a9173f0
Merge pull request #11 from CharlieCrosley/master
CharlieCrosley Feb 27, 2022
2dea753
Update WorldCreator.java
booksaw Feb 27, 2022
392b0a1
Merge pull request #12 from booksaw/TestDiscordNotifications
booksaw Feb 27, 2022
1a1d0ce
Create gradle.yml
booksaw Feb 27, 2022
283a9d3
Update gradle.yml
booksaw Feb 27, 2022
ab39110
Update gradle.yml
booksaw Feb 27, 2022
8c7a07c
Update gradle.yml
booksaw Feb 27, 2022
250f9cf
Update gradle.yml
booksaw Feb 27, 2022
e35d223
Organization + Backend
Anon0x19 Feb 28, 2022
989b591
Revert "Organization + Backend"
Anon0x19 Feb 28, 2022
b7a1915
Merge branch 'booksaw:master' into master
Anon0x19 Feb 28, 2022
2e1993e
Revert "Revert "Organization + Backend""
Anon0x19 Feb 28, 2022
42ee9fb
Merge branch 'master' of https://github.com/Anon0x19/spice_traders
Anon0x19 Feb 28, 2022
4eeb7e4
Fixed relocations
booksaw Mar 1, 2022
dba0c1b
Merge pull request #13 from Anon0x19/master
Anon0x19 Mar 1, 2022
78732a2
Fixed backed
Anon0x19 Mar 1, 2022
29f5e9d
Testing
Anon0x19 Mar 1, 2022
df1399c
Merge pull request #14 from Anon0x19/master
Anon0x19 Mar 1, 2022
25bb033
Update gradle.yml
booksaw Mar 3, 2022
415eff6
Add failed test
booksaw Mar 3, 2022
288b438
Merge branch 'master' of https://github.com/booksaw/spice_traders
booksaw Mar 3, 2022
420ed27
Remove failed test
booksaw Mar 3, 2022
6ad4e41
Added Blurred Background
r0b-ert Mar 3, 2022
f66c0cf
Changed Background of Main Menu
r0b-ert Mar 3, 2022
ac14221
Merge pull request #15 from r0b-ert/blurred-background
r0b-ert Mar 3, 2022
81476ac
Fixed Scaling for Background
r0b-ert Mar 4, 2022
af4aa6e
Merge pull request #16 from r0b-ert/blurred-background
r0b-ert Mar 4, 2022
fe8b8ef
Foundations for an "Arrow" Point at Colleges
r0b-ert Mar 4, 2022
30d1de3
Merge pull request #17 from r0b-ert/arrow
r0b-ert Mar 4, 2022
fa22eb4
Removed Invulnerability
r0b-ert Mar 4, 2022
efd7ec7
Merge pull request #18 from r0b-ert/arrow
r0b-ert Mar 4, 2022
1179595
Started On PowerUps
r0b-ert Mar 5, 2022
8650acd
Merge pull request #20 from r0b-ert/power-up
r0b-ert Mar 5, 2022
9aeadb3
Added Heal power up & started coin magnet
CharlieCrosley Mar 7, 2022
af0def3
Merge pull request #21 from CharlieCrosley/master
CharlieCrosley Mar 7, 2022
5a8013c
Initial pathfinding
booksaw Mar 8, 2022
7285ca7
Speed Boost Power Up
r0b-ert Mar 9, 2022
664b673
Faster Shooting Power Up
r0b-ert Mar 9, 2022
a726dca
Merge pull request #22 from r0b-ert/power-ups
r0b-ert Mar 9, 2022
c0ca1d8
Add test that checks points increase after college defeat
dan-wade42 Mar 9, 2022
4c587f8
Tidy code
dan-wade42 Mar 9, 2022
8f06c0b
Merge pull request #23 from dan-wade42/master
dan-wade42 Mar 9, 2022
727c866
Fixed some pathfinding bugs
booksaw Mar 9, 2022
fec0049
Fixed issues with pathfinding into rocks
booksaw Mar 9, 2022
75f96e0
Update map.tmx
r0b-ert Mar 9, 2022
7c6542e
Merge pull request #25 from r0b-ert/map-fix
r0b-ert Mar 9, 2022
95c6368
Fixed enemy hitting enemy
booksaw Mar 10, 2022
d454f91
Removed pathfinder debug
booksaw Mar 10, 2022
f7f6e77
Merge branch 'master' into AddPathfinding
booksaw Mar 10, 2022
3ba0fd0
Merge pull request #24 from booksaw/AddPathfinding
booksaw Mar 10, 2022
9444c5c
Redo CollegeID system
booksaw Mar 10, 2022
474fd13
Added coin magnet power up
CharlieCrosley Mar 11, 2022
a1c3243
Merge pull request #26 from CharlieCrosley/master
CharlieCrosley Mar 11, 2022
2fa4a34
Added test to ensure debug tools are off
booksaw Mar 11, 2022
a409a17
Added attack runs by enemy ships
booksaw Mar 11, 2022
0c6c6b0
disabled the Debug Tools
booksaw Mar 11, 2022
42da9f8
Merge pull request #27 from booksaw/AddLogic
booksaw Mar 11, 2022
8407366
Update build.gradle for testing
dan-wade42 Mar 11, 2022
9a6a8a2
Merge pull request #29 from dan-wade42/master
dan-wade42 Mar 11, 2022
a777c54
Tutorial screen added
alice-wondering Mar 11, 2022
5af0823
Tutorial screen added
alice-wondering Mar 11, 2022
e0d69a1
Merge branch 'master' into tutorialScreen
alice-wondering Mar 11, 2022
9805de9
Delete core/src/test/java/com/mygdx/pirategame/tests/Experience direc…
dan-wade42 Mar 11, 2022
cc34e27
Merge pull request #30 from booksaw/tutorialScreen
alice-wondering Mar 11, 2022
0d9b18d
testing
Anon0x19 Mar 11, 2022
61f5afb
Revert "Tutorial screen added"
booksaw Mar 11, 2022
88a2be2
Merge pull request #31 from booksaw/revert-30-tutorialScreen
booksaw Mar 11, 2022
18505d1
tutorial screen added
alice-wondering Mar 11, 2022
7806497
Update GameScreen.java
alice-wondering Mar 11, 2022
cae52b5
Update GameScreen.java
alice-wondering Mar 11, 2022
c59fa25
more bug fix
alice-wondering Mar 11, 2022
ad51caf
more bug fix again
alice-wondering Mar 11, 2022
db5eb01
fixes bug maybe
alice-wondering Mar 11, 2022
486d808
please fix the bug
alice-wondering Mar 11, 2022
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
44 changes: 44 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle

name: Java CI with Gradle

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
# - name: Build with Gradle
# uses: gradle/gradle-build-action@937999e9cc2425eddc7fd62d1053baf041147db7
# with:
# arguments: desktop:dist

- name: Make gradlew executable
run: chmod +x ./gradlew

- name: Build with Gradle
run: ./gradlew desktop:dist
- name: Run tests with Gradle
run: ./gradlew test
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.3.1
with:
name: Spice_Traders
path: desktop/build/libs/desktop-1.0.jar
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,4 @@ Thumbs.db
/ios/xcode/native/
/ios/IOSLauncher.app
/ios/IOSLauncher.app.dSYM
core/src/com/mygdx/pirategame/gameobjects/CannonFire_Old.java
34 changes: 33 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,38 @@ project(":core") {
dependencies {
api "com.badlogicgames.gdx:gdx:$gdxVersion"
api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"


testCompile "junit:junit:4.+"
testCompile "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion"
testCompile "com.badlogicgames.gdx:gdx:$gdxVersion"
testCompile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
testCompile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
testCompile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"

testImplementation "org.mockito:mockito-core:3.+"
}
}

project(":test") {
apply plugin: "java-library"

sourceSets.test.java.srcDirs = ["src/"]


dependencies {
compile project(":desktop")
compile project(":core")

api "com.badlogicgames.gdx:gdx:$gdxVersion"
api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"

testCompile 'junit:junit:4.+'
testCompile "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion"
testCompile "com.badlogicgames.gdx:gdx:$gdxVersion"
testCompile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
testCompile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
testCompile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"

testImplementation "org.mockito:mockito-core:3.+"
}
}
Binary file added core/assets/Tutorial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
3 changes: 2 additions & 1 deletion core/assets/map.tmx → core/assets/map/map.tmx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.5" tiledversion="1.7.2" orientation="orthogonal" renderorder="right-down" width="128" height="128" tilewidth="64" tileheight="64" infinite="0" nextlayerid="21" nextobjectid="1575">
<map version="1.5" tiledversion="1.7.2" orientation="orthogonal" renderorder="right-down" width="128" height="128" tilewidth="64" tileheight="64" infinite="0" nextlayerid="21" nextobjectid="1580">
<editorsettings>
<export target="../../../Desktop/map..tmx" format="tmx"/>
</editorsettings>
Expand Down Expand Up @@ -659,6 +659,7 @@
<object id="1483" x="1472" y="5952" width="192" height="64"/>
<object id="1484" x="1664" y="5888" width="256" height="64"/>
<object id="1485" x="1920" y="5824" width="64" height="64"/>
<object id="1578" x="3200" y="7168.5" width="63.75" height="63.25"/>
</objectgroup>
<objectgroup id="15" name="CollegeWalls1" visible="0">
<object id="1486" x="1792" y="5952" width="320" height="320"/>
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
Binary file added core/assets/map_blurred.png
File renamed without changes.
Binary file added core/assets/sfx_and_music/explode.mp3
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 8 additions & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
sourceCompatibility = 1.7
dependencies {
implementation 'com.badlogicgames.gdx:gdx-backend-headless:1.10.0'
implementation 'junit:junit:4.11'
implementation 'org.mockito:mockito-all:1.10.7'
}
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'

sourceSets.main.java.srcDirs = [ "src/" ]
sourceSets.main.java.srcDirs = [ "src/main/java" ]
sourceSets.test.java.srcDirs = [ "src/test/java" ]
sourceSets.test.resources.srcDirs = ["../core/assets"]

eclipse.project.name = appName + "-core"
111 changes: 0 additions & 111 deletions core/src/com/mygdx/pirategame/Coin.java

This file was deleted.

156 changes: 0 additions & 156 deletions core/src/com/mygdx/pirategame/EnemyShip.java

This file was deleted.

Loading