Skip to content

Commit

Permalink
Add all story quests (WIP)
Browse files Browse the repository at this point in the history
Switch to JSON5 for area and quests
Add ability to hide quest steps
Fix Pro Gamer's highscore
Change area sprite properties: "qw", "qh" to "q", "h"
Add area trigger property option: "icon": true
  • Loading branch information
alesan99 committed Apr 6, 2024
1 parent 9f06a34 commit f493bac
Show file tree
Hide file tree
Showing 35 changed files with 366 additions and 271 deletions.
2 changes: 1 addition & 1 deletion server/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var minigameList = {
data: {},
host: false,
// Should be stored by the server
highscores: [[100, "Pro Gamer"],[0,"---"],[0,"---"]]
highscores: [[99, "Pro Gamer"],[0,"---"],[0,"---"]]
}
};

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@
"framesy": 1,
"ox": 0,
"oy": 0,
"qw": 265,
"qh": 72,
"w": 265,
"h": 72,

"x": 244,
"y": 244,
Expand Down Expand Up @@ -185,21 +185,20 @@
"icon": {"frame": 1, "x": 15, "y": -10},

"action": "quest",
"quest": "easteregghunt",
"quest": "egg_hunt",
"questSlot": 3,
"questSlotAdd": 1,

"condition": {
"quest": "easteregghunt",
"quest": "egg_hunt",
"questSlot": 3,
"questSlotValue": 0
},

"sprite": {
"image": "egg.png",
"qw": 30,
"qh": 40,

"w": 30,
"h": 40,
"worldy": 157
}
}
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -149,21 +149,20 @@
"icon": {"frame": 1, "x": 15, "y": -10},

"action": "quest",
"quest": "easteregghunt",
"quest": "egg_hunt",
"questSlot": 4,
"questSlotAdd": 1,

"condition": {
"quest": "easteregghunt",
"quest": "egg_hunt",
"questSlot": 4,
"questSlotValue": 0
},

"sprite": {
"image": "egg.png",
"qw": 30,
"qh": 40,

"w": 30,
"h": 40,
"worldy": 195
}
}
Expand Down
File renamed without changes.
164 changes: 0 additions & 164 deletions website/assets/areas/hub.json

This file was deleted.

53 changes: 14 additions & 39 deletions website/assets/areas/hub.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"name": "Town Square",
"mapLocation": [261, 196],

// Wall Collision
"walls": [
// Buildings in the back
Expand Down Expand Up @@ -84,8 +87,8 @@
"framesy": 1,
"ox": 201,
"oy": 0,
"qw": 226,
"qh": 215,
"w": 226,
"h": 215,

"x": 798,
"y": 145,
Expand All @@ -100,8 +103,8 @@
"frames": [0, 1],
"delay": 0.8
},
"qw": 280,
"qh": 450,
"w": 280,
"h": 450,

"x": 0,
"y": 0,
Expand All @@ -111,57 +114,29 @@

"triggers": {
"egg1": {
"x": 793,
"y": 298,
"x": 76,
"y": 479,
"shape": [0, 0, 40, 0, 40, 40, 0, 40],
"clickable": true,
"icon": { "frame": 1, "x": 15, "y": -10 },
"icon": true,

"action": "quest",
"quest": "easteregghunt",
"quest": "egg_hunt",
"questSlot": 0,
"questSlotAdd": 1,

"condition": {
"quest": "easteregghunt",
"quest": "egg_hunt",
"questSlot": 0,
"questSlotValue": 0
},

"sprite": {
"image": "egg.png",
"qw": 30,
"qh": 40,

"w": 30,
"h": 40,
"worldy": 318
}
},

"egg2": {
"x": 76,
"y": 479,
"shape": [0, 0, 40, 0, 40, 40, 0, 40],
"clickable": true,
"icon": { "frame": 1, "x": 15, "y": -10 },

"action": "quest",
"quest": "easteregghunt",
"questSlot": 1,
"questSlotAdd": 1,

"condition": {
"quest": "easteregghunt",
"questSlot": 1,
"questSlotValue": 0
},

"sprite": {
"image": "egg.png",
"qw": 30,
"qh": 40,

"worldy": 499
}
}
}
}
File renamed without changes.
Loading

0 comments on commit f493bac

Please sign in to comment.