Skip to content

Commit

Permalink
Merge pull request #557 from UQcsse3200/feature/map
Browse files Browse the repository at this point in the history
Feature/map
  • Loading branch information
zombiechook authored Oct 19, 2023
2 parents 070a8fd + 0ee0a9d commit 518c345
Show file tree
Hide file tree
Showing 47 changed files with 154 additions and 100 deletions.
33 changes: 33 additions & 0 deletions source/core/assets/images/entity/Campfire.atlas
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Campfire.png
size: 768, 192
format: RGBA8888
filter: Linear,Linear
repeat: none
Flicker
rotate: false
xy: 0, 0
size: 192, 192
orig: 192, 192
offset: 0, 0
index: -1
Flicker
rotate: false
xy: 192, 0
size: 192, 192
orig: 192, 192
offset: 0, 0
index: -1
Flicker
rotate: false
xy: 384, 0
size: 192, 192
orig: 192, 192
offset: 0, 0
index: -1
Flicker
rotate: false
xy: 576, 0
size: 192, 192
orig: 192, 192
offset: 0, 0
index: -1
Binary file added source/core/assets/images/entity/Campfire.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "LaboratoryConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.LaboratoryConfig,
"class": "com.csse3200.game.entities.configs.LaboratoryConfig",
"spritePath": "images/companion/laboratoryinferno.png",
"position": {"x":34,
"y": 49
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"entityType": "PlayerConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.PlayerConfig,
"class": "com.csse3200.game.entities.configs.PlayerConfig",
"position": {
"x": 10,
"x": 20,
"y": 40
},
"health": 100,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "PortalConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.PortalConfig,
"class": "com.csse3200.game.entities.configs.PortalConfig",
"teleportX" : 40,
"teleportY" : 10,
"position": {
Expand All @@ -11,7 +11,7 @@
}
},
{
class: com.csse3200.game.entities.configs.PortalConfig,
"class": "com.csse3200.game.entities.configs.PortalConfig",
"teleportX" : 16,
"teleportY" : 20,
"position": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"entityType": "SafeZoneConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.SafeZoneConfig,
"spritePath": "map/coolzone.png",
"class": "com.csse3200.game.entities.configs.SafeZoneConfig",
"spritePath": "map/Coolzone.atlas",
"position": {
"x": 25,
"y": 67
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "ShipConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.ShipConfig,
"class": "com.csse3200.game.entities.configs.ShipConfig",
"spritePath": "images/ship/Ship.png",
"position": {
"x": 33,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "SpawnerConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.SpawnerConfig,
"class": "com.csse3200.game.entities.configs.SpawnerConfig",
"wave1" : {
"redGhost" : 30,
"roboMan" : 30,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
"entityType": "FissureConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.FissureConfig,
"class": "com.csse3200.game.entities.configs.FissureConfig",
"resource": "Solstite",
"position": {
"x": 34,
"y": 34
}
},
{
class: com.csse3200.game.entities.configs.FissureConfig,
"class": "com.csse3200.game.entities.configs.FissureConfig",
"resource": "Nebulite",
"position": {
"x": 40,
"y": 34
}
},
{
class: com.csse3200.game.entities.configs.FissureConfig,
"class": "com.csse3200.game.entities.configs.FissureConfig",
"resource": "Durasteel",
"position": {
"x": 46,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "PlayerConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.PlayerConfig,
"class": "com.csse3200.game.entities.configs.PlayerConfig",
"position": {
"x": 30,
"y": 70
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "SpawnerConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.SpawnerConfig,
"class": "com.csse3200.game.entities.configs.SpawnerConfig",
"wave1" : [
1,
1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "AstronautConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.AstronautConfig,
"class": "com.csse3200.game.entities.configs.AstronautConfig",
"spritePath": "images/npc/astronaut_npc.atlas",
"position" : {
"x": 15,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "BotanistConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.BotanistConfig,
"class": "com.csse3200.game.entities.configs.BotanistConfig",
"spritePath": "images/botanist.atlas",
"position" : {
"x": 20,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "HellmanConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.HellmanConfig,
"class": "com.csse3200.game.entities.configs.HellmanConfig",
"spritePath": "images/npc/Hellman.atlas",
"position" : {
"x": 25,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "PlayerConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.PlayerConfig,
"class": "com.csse3200.game.entities.configs.PlayerConfig",
"position": {
"x": 20,
"y": 40
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "PortalConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.PortalConfig,
"class": "com.csse3200.game.entities.configs.PortalConfig",
"teleportX" : 40,
"teleportY" : 5,
"position": {
Expand All @@ -11,7 +11,7 @@
}
},
{
class: com.csse3200.game.entities.configs.PortalConfig,
"class": "com.csse3200.game.entities.configs.PortalConfig",
"teleportX" : 16,
"teleportY" : 20,
"position": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"entityType": "SafeZoneConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.SafeZoneConfig,
"spritePath": "map/heatzone.png",
"class": "com.csse3200.game.entities.configs.SafeZoneConfig",
"spritePath": "images/entity/Campfire.atlas",
"position": {
"x": 25,
"y": 67
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "ShipConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.ShipConfig,
"class": "com.csse3200.game.entities.configs.ShipConfig",
"spritePath": "images/ship/Ship.png",
"position": {
"x": 33,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "SpawnerConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.SpawnerConfig,
"class": "com.csse3200.game.entities.configs.SpawnerConfig",
"wave1" : {
"redGhost" : 10,
"roboMan" : 10,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "TreeTopConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.TreeTopConfig,
"class": "com.csse3200.game.entities.configs.TreeTopConfig",
"position": {
"x": 0,
"y": 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "AstroConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.AstroConfig,
"class": "com.csse3200.game.entities.configs.AstroConfig",
"spritePath": "images/npc/Astro_NPC.atlas",
"position" : {
"x": 24,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "CompanionConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.CompanionConfig,
"class": "com.csse3200.game.entities.configs.CompanionConfig",
"position": {
"x": 10,
"y": 50
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
"entityType": "FissureConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.FissureConfig,
"class": "com.csse3200.game.entities.configs.FissureConfig",
"resource": "Solstite",
"position": {
"x": 34,
"y": 34
}
},
{
class: com.csse3200.game.entities.configs.FissureConfig,
"class": "com.csse3200.game.entities.configs.FissureConfig",
"resource": "Nebulite",
"position": {
"x": 40,
"y": 34
}
},
{
class: com.csse3200.game.entities.configs.FissureConfig,
"class": "com.csse3200.game.entities.configs.FissureConfig",
"resource": "Durasteel",
"position": {
"x": 46,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "JailConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.JailConfig,
"class": "com.csse3200.game.entities.configs.JailConfig",
"spritePath": "images/Jail/jail.atlas",
"position" : {
"x": 24,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "LaboratoryConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.LaboratoryConfig,
"class": "com.csse3200.game.entities.configs.LaboratoryConfig",
"spritePath": "images/companion/laboratory.png",
"position": {"x":34,
"y": 49
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "PlayerConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.PlayerConfig,
"class": "com.csse3200.game.entities.configs.PlayerConfig",
"position": {
"x": 10,
"y": 40
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "PortalConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.PortalConfig,
"class": "com.csse3200.game.entities.configs.PortalConfig",
"teleportX" : 40,
"teleportY" : 5,
"position": {
Expand All @@ -11,7 +11,7 @@
}
},
{
class: com.csse3200.game.entities.configs.PortalConfig,
"class": com.csse3200.game.entities.configs.PortalConfig,
"teleportX" : 16,
"teleportY" : 20,
"position": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entityType": "PowerupConfig",
"entities": [
{
class: com.csse3200.game.entities.configs.PowerupConfig,
"class": "com.csse3200.game.entities.configs.PowerupConfig",
"imagePath": "images/powerups/health_boost.png",
"spritePath": "images/powerups/health_boost.png",
"type": "HEALTH_BOOST",
Expand All @@ -12,7 +12,7 @@
}
},
{
class: com.csse3200.game.entities.configs.PowerupConfig,
"class": "com.csse3200.game.entities.configs.PowerupConfig",
"imagePath": "images/powerups/extra_life.png",
"spritePath": "images/powerups/extra_life.png",
"type": "EXTRA_LIFE",
Expand All @@ -22,7 +22,7 @@
}
},
{
class: com.csse3200.game.entities.configs.PowerupConfig,
"class": "com.csse3200.game.entities.configs.PowerupConfig",
"imagePath": "images/powerups/speed_boost.png",
"spritePath": "images/powerups/speed_boost.png",
"type": "SPEED_BOOST",
Expand All @@ -32,7 +32,7 @@
}
},
{
class: com.csse3200.game.entities.configs.PowerupConfig,
"class": "com.csse3200.game.entities.configs.PowerupConfig",
"imagePath": "images/powerups/double_cross.png",
"spritePath": "images/powerups/double_cross.png",
"type": "DOUBLE_CROSS",
Expand All @@ -42,7 +42,7 @@
}
},
{
class: com.csse3200.game.entities.configs.PowerupConfig,
"class": "com.csse3200.game.entities.configs.PowerupConfig",
"imagePath": "images/powerups/temp_immunity.png",
"spritePath": "images/powerups/temp_immunity.png",
"type": "TEMP_IMMUNITY",
Expand All @@ -52,7 +52,7 @@
}
},
{
class: com.csse3200.game.entities.configs.PowerupConfig,
"class": "com.csse3200.game.entities.configs.PowerupConfig",
"imagePath": "images/powerups/double_damage.png",
"spritePath": "images/powerups/double_damage.png",
"type": "DOUBLE_DAMAGE",
Expand All @@ -62,7 +62,7 @@
}
},
{
class: com.csse3200.game.entities.configs.PowerupConfig,
"class": "com.csse3200.game.entities.configs.PowerupConfig",
"imagePath": "images/powerups/snap.png",
"spritePath": "images/powerups/snap.png",
"type": "SNAP",
Expand Down
Loading

0 comments on commit 518c345

Please sign in to comment.