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

Revert "Revert "Updated comments"" #49

Merged
merged 1 commit into from
Aug 26, 2023
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
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ You are welcome to use the game engine for your own purposes. It is released und

- [JavaDoc](https://uqcsse3200.github.io/2023-studio-3/)
- [SonarCloud](https://sonarcloud.io/project/overview?id=UQcsse3200_2023-studio-3)


## Team 2 - Tower Branch

Implements defense towers in the Outworld Outposts game. Any questions or discussion, please contact Team 2
12 changes: 12 additions & 0 deletions source/core/assets/configs/tower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"weapon": {
"health": 10,
"baseAttack": 10,
"cost": 10
},
"wall": {
"health": 20,
"baseAttack": 0,
"cost": 5
}
}
160 changes: 160 additions & 0 deletions source/core/assets/images/turret.atlas
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@

turret.png
size: 256, 256
format: RGBA8888
filter: Nearest, Nearest
repeat: xy
deploy
rotate: false
xy: 20, 77
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
deploy
rotate: false
xy: 140, 134
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
deploy
rotate: false
xy: 20, 20
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
deploy
rotate: false
xy: 80, 191
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
deploy
rotate: false
xy: 80, 77
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
deploy
rotate: false
xy: 80, 134
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
deploy
rotate: false
xy: 20, 191
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
deploy
rotate: false
xy: 20, 134
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
default
rotate: false
xy: 20, 191
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
firing
rotate: false
xy: 200, 195
size: 35, 33
orig: 35, 33
offset: 0, 0
index: -1
firing
rotate: false
xy: 140, 81
size: 35, 33
orig: 35, 33
offset: 0, 0
index: -1
firing
rotate: false
xy: 80, 24
size: 35, 33
orig: 35, 33
offset: 0, 0
index: -1
idle
rotate: false
xy: 140, 191
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
idle
rotate: false
xy: 20, 134
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
stow
rotate: false
xy: 20, 77
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
stow
rotate: false
xy: 140, 134
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
stow
rotate: false
xy: 20, 20
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
stow
rotate: false
xy: 80, 191
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
stow
rotate: false
xy: 80, 77
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
stow
rotate: false
xy: 80, 134
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
stow
rotate: false
xy: 20, 191
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
stow
rotate: false
xy: 20, 134
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
Binary file added source/core/assets/images/turret.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
160 changes: 160 additions & 0 deletions source/core/assets/images/turret01.atlas
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@

turret01.png
size: 256, 256
format: RGBA8888
filter: Nearest, Nearest
repeat: xy
deploy
rotate: false
xy: 20, 77
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
deploy
rotate: false
xy: 140, 134
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
deploy
rotate: false
xy: 20, 20
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
deploy
rotate: false
xy: 80, 191
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
deploy
rotate: false
xy: 80, 77
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
deploy
rotate: false
xy: 80, 134
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
deploy
rotate: false
xy: 20, 191
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
firing
rotate: false
xy: 200, 195
size: 35, 33
orig: 35, 33
offset: 0, 0
index: -1
firing
rotate: false
xy: 140, 81
size: 35, 33
orig: 35, 33
offset: 0, 0
index: -1
firing
rotate: false
xy: 80, 24
size: 35, 33
orig: 35, 33
offset: 0, 0
index: -1
idle
rotate: false
xy: 140, 191
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
idle
rotate: false
xy: 20, 134
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
deploy
rotate: false
xy: 20, 134
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
default
rotate: false
xy: 20, 134
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
stow
rotate: false
xy: 20, 77
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
stow
rotate: false
xy: 140, 134
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
stow
rotate: false
xy: 20, 20
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
stow
rotate: false
xy: 80, 191
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
stow
rotate: false
xy: 80, 77
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
stow
rotate: false
xy: 80, 134
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
stow
rotate: false
xy: 20, 191
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
stow
rotate: false
xy: 20, 134
size: 40, 37
orig: 40, 37
offset: 0, 0
index: -1
Binary file added source/core/assets/images/turret01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/core/assets/images/turret_deployed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading