Skip to content

Commit

Permalink
Merge pull request #45 from UQcsse3200/Tower-Graphics
Browse files Browse the repository at this point in the history
Updated comments
  • Loading branch information
Mohamad11Dab authored Aug 25, 2023
2 parents 9c68444 + b2e61b8 commit 9479b04
Show file tree
Hide file tree
Showing 25 changed files with 1,327 additions and 7 deletions.
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

0 comments on commit 9479b04

Please sign in to comment.