From 065af6f2d0bcf49bced67bf167114796875f808b Mon Sep 17 00:00:00 2001 From: chasmiccoder Date: Fri, 11 Feb 2022 22:34:45 +0530 Subject: [PATCH] added dialog and stuff --- images/ananya.png | Bin 0 -> 7530 bytes images/yash.png | Bin 0 -> 1400 bytes js/OverworldMap.js | 149 ++++++++++++++++++++++++++++++++++----------- js/npc_routes.js | 46 +++++++++----- 4 files changed, 144 insertions(+), 51 deletions(-) create mode 100644 images/ananya.png create mode 100644 images/yash.png diff --git a/images/ananya.png b/images/ananya.png new file mode 100644 index 0000000000000000000000000000000000000000..0668f092d6c0b258fc6b1c85ae4605cdb7280347 GIT binary patch literal 7530 zcmV-w9hKsVP)btxka%TWe>nA+)oE+D^e1 z+A>oX!76oXN9btPqAkH)tr$Inh_=b`z`#IxPEN9k%2bmXn%SbAw9yIWc|~dq z0=K-o7Qi#J?+a82%lAC5Hm_iz)R3vpHwzz{oFNAFT(~fNwFzH1`%3z1^>ySIUh);SCkIu3``eDF zebuB1w)e{U$&{bEF4UQW-&GsnR`(lu)lJ9B3Z)GQ6|u|;J&auq831lp==e10|3mvA zgz()Z6q@SVWYEBqoiwnc*W3p98V`u(Uw%n7J@@EWiCB~SS)-*stz@C@`qj5>@16G1 z`&A*N^2`lf|z0CHD4H{69{Z+W^P$zz~V% z<>l3IeH^)HT2-WE9G83}$ z{A71kQ?nj5GNF?TjJBY$ufIRSLaRXme1s-a5bWH|dCu)7epVA7;<=v2BSw9#)lAc> zO2-vaRcX@VI*xTx^Y#|?{*Z$evE!Ze2B%qeIG?6b(sH3lMTPma`K6sv99tD&NWH=W z*vPvrkA3$aBhbKzA?ybp+MqNEFJ*^it2UW6jXrbpY^A|B%&DoPWbdYqJmBQXlTGlW zy!zUki}AdB9{dpn#jW>!SLF%M!ZZ8&`kFl6TF2WK=v4rAqK5aYlW)$WOZK`yr|AFbOl{nv$Xs4DVN9jbo+n45>p!3$qdDmE> zw8?EHY}F+c1W?G9WZTq8HZmAe09{>OH)B8Vj)&0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J* zd{Q3t$4|oU{PAvu1$!pZJjA?s=ekeSe!PUHxL#<_r-|k{50*_=iTTNk22aHKdOEz9z?o7{(tqw7ub*A zIp%)+XkWbBwT!yb8rK7;co61Z4Z166Ra%sKZ1?)$t^0eaco6Pcjixlz>|*qur)WM@ zJc#@qA%h)d=v{`bc~J2n+`byCKYrAXkX~_n*H6WRn95WB7jYLJ{qe+tTP33vC*4PE zj!X7VTJvd*N5z9^zH{9iw-dK+olo`?qO$6z;z6YQdk>J)H|}+AY4OF+ zF~-+sE#CN4{7w-4@lpS|rhF}K{W)Huv!d3x*3Y5hL73<9Ug~|K_3ORjYWY~>O8IBS zrQ$)jpS0S$N2A5v#Mw!F`r{|TzU!}gx&}GXdWBK(ApQW< to ", faceHero: "ananya"}, ] }, ] diff --git a/js/npc_routes.js b/js/npc_routes.js index ed86d91..1ce5e9c 100644 --- a/js/npc_routes.js +++ b/js/npc_routes.js @@ -48,25 +48,39 @@ const getCutsceneSetOfCoords = (coordinateList) => { // current person let X = "hemanth"; let hemanthPath = [ - walkRight(X),walkRight(X),walkRight(X),walkRight(X),walkRight(X),walkRight(X),walkRight(X),walkRight(X), - standRight(X,500), - {type: "textMessage", text: "Are you up for applying to the technical department?"}, - {type: "textMessage", text: "If so, enter the portal's center!"}, - walkLeft(X),walkLeft(X),walkLeft(X),walkLeft(X),walkLeft(X),walkLeft(X),walkLeft(X),walkLeft(X), + walkRight(X),walkRight(X),walkDown(X),walkRight(X),walkRight(X),walkRight(X),walkRight(X),walkRight(X),standRight(X,200), + {type: "textMessage", text: "Are you up for applying to the App Domain?"}, + {type: "textMessage", text: "If so, enter the portal!"}, + walkLeft(X),walkLeft(X),walkLeft(X),walkLeft(X),walkLeft(X),walkUp(X),walkLeft(X),walkLeft(X),standRight(X,200), ] // hemanth's cutscene's set of coordinates -let hemanth_cutscene_set_of_coords_raw = [[10,9],[11,9],[12,9],[13,9],[14,9],[15,9],[16,9],[17,9],[18,9],[19,9]] // raw == tile format and not in pixel format +// raw == tile format and not in pixel format +let hemanth_cutscene_set_of_coords_raw = [[11,11],[11,10],[11,9],[11,8],[10,8],[11,12],[11,13],[11,14],[10,14]] let hemanth_cutscene_set_of_coords = getCutsceneSetOfCoords(hemanth_cutscene_set_of_coords_raw); // pixel format +X = "yash"; +let yashPath = [ + walkLeft(X),walkUp(X),walkLeft(X),walkLeft(X),walkLeft(X),standDown(X,200), + {type: "textMessage", text: "Are you up for applying to the General Technical Domain?"}, + {type: "textMessage", text: "If so, enter the portal!"}, + walkRight(X),walkRight(X),walkRight(X),walkDown(X),walkRight(X),standLeft(X,200), +] + +let yash_cutscene_set_of_coords_raw = [[10,9],[11,9],[12,9],[13,9],[14,9],[15,9],[16,9],[17,9],[18,9],[19,9]] +let yash_cutscene_set_of_coords = getCutsceneSetOfCoords(yash_cutscene_set_of_coords_raw); + + + + X = "dhriti"; let dhritiPath = [ walkDown(X),walkRight(X),walkDown(X),walkRight(X),walkRight(X),walkRight(X),walkRight(X), standRight(X,500), {type: "textMessage", text: "Are you good looking?"}, {type: "textMessage", text: "Of course you are!"}, - {type: "textMessage", text: "But we want people that can make things that are good looking..."}, - {type: "textMessage", text: "If you're interested, enter the portal's center!"}, + {type: "textMessage", text: "But we want people that can make things look good..."}, + {type: "textMessage", text: "If you're interested, enter the portal!"}, walkLeft(X), walkLeft(X), walkLeft(X), walkLeft(X),walkUp(X),walkLeft(X),walkUp(X), ] @@ -79,7 +93,7 @@ let diyaPath = [ walkUp(X),walkLeft(X),walkUp(X),walkUp(X),walkUp(X), standUp(X,500), {type: "textMessage", text:"Will you be able to manage management, while having a great social life?"}, - {type: "textMessage", text: "If so, enter the portal center to apply!"}, + {type: "textMessage", text: "If so, enter the portal!"}, walkRight(X),walkDown(X),walkDown(X),walkDown(X),walkDown(X), ] @@ -91,7 +105,7 @@ let rehberPath = [ walkRight(X),walkRight(X),walkRight(X),walkRight(X),walkUp(X),walkUp(X), standUp(X,500), {type: "textMessage", text:"Wanna join our cool competitive team?"}, - {type: "textMessage", text: "If so, enter the portal's center!"}, + {type: "textMessage", text: "If so, enter the portal!"}, walkLeft(X),walkDown(X),walkDown(X),walkLeft(X),walkLeft(X),walkLeft(X), ] @@ -103,8 +117,8 @@ let rehber_cutscene_set_of_coords = getCutsceneSetOfCoords(rehber_cutscene_set_o X = "vinamra"; let vinamraPath = [ walkDown(X),walkLeft(X),walkLeft(X),walkLeft(X),standLeft(X,200), - {type: "textMessage", text:"In the Research domain we work on cool, nonstandard technologies..."}, - {type: "textMessage", text:"If you have a curious mindset, fill the research form!"}, + {type: "textMessage", text:"In the Research Domain we work on cool, novel technologies..."}, + {type: "textMessage", text:"If you have a curious mindset, fill the Research form!"}, walkRight(X),walkRight(X),walkRight(X),walkUp(X),standDown(X,200), ] @@ -116,7 +130,7 @@ let vinamra_cutscene_set_of_coords = getCutsceneSetOfCoords(vinamra_cutscene_set X = "shreyas" let shreyasPath = [ walkDown(X),standRight(X,200), - {type: "textMessage", text:"To join our awesome web domain, hop into this portal you see ahead!"}, + {type: "textMessage", text:"To join our awesome Web Domain, hop onto the portal ahead!"}, walkUp(X),standRight(X,200), ] @@ -127,7 +141,11 @@ let shreyas_cutscene_set_of_coords = getCutsceneSetOfCoords(shreyas_cutscene_set X = "sumona" let sumonaPath = [ walkUp(X),walkRight(X),walkRight(X),walkRight(X),walkUp(X),standUp(X,200), - {type: "textMessage", text:"Welcome Message!"}, + {type: "textMessage", text:"Welcome to ACM-RPG!"}, + {type: "textMessage", text:"Thank you for hopping in."}, + {type: "textMessage", text:"Make sure you check out all the domains we have to offer."}, + {type: "textMessage", text:"We hope you have fun while applying to ACMVIT"}, + {type: "textMessage", text:"Best of luck!"}, walkDown(X),walkLeft(X),walkLeft(X),walkLeft(X),walkDown(X),standUp(X,200), ];