Skip to content

Commit

Permalink
Added literally everyone
Browse files Browse the repository at this point in the history
  • Loading branch information
Chasmiccoder committed Feb 12, 2022
1 parent b0f66c1 commit ba547b1
Show file tree
Hide file tree
Showing 113 changed files with 382 additions and 2,725 deletions.
Binary file removed createdTiles/Frame 1.png
Binary file not shown.
Binary file removed createdTiles/Frame 10.png
Binary file not shown.
Binary file removed createdTiles/Frame 11.png
Binary file not shown.
Binary file removed createdTiles/Frame 2.png
Binary file not shown.
Binary file removed createdTiles/Frame 3.png
Binary file not shown.
Binary file removed createdTiles/Frame 4.png
Binary file not shown.
Binary file removed createdTiles/Frame 5.png
Binary file not shown.
Binary file removed createdTiles/Frame 6.png
Binary file not shown.
Binary file removed createdTiles/Frame 9.png
Binary file not shown.
Binary file removed createdTiles/Frame.png
Binary file not shown.
Binary file removed images/DemoLower.png
Binary file not shown.
Binary file removed images/DemoUpper.png
Binary file not shown.
Binary file removed images/FINAL_FOR_REALZ_OLD(OG Map).png
Binary file not shown.
Binary file removed images/FINAL_OFFICIAL.png
Binary file not shown.
Binary file removed images/FINAL_OFFICIAL_2_STRIPPED.png
Binary file not shown.
Binary file removed images/HarshGeniusMap3.png
Binary file not shown.
Binary file removed images/Heroin.png
Binary file not shown.
Binary file removed images/KitchenLower.png
Binary file not shown.
Binary file removed images/KitchenUpper.png
Binary file not shown.
Binary file removed images/R&D Room Assets/1 Drones/1/Death.png
Binary file not shown.
Binary file removed images/R&D Room Assets/1 Drones/1/Scan.png
Binary file not shown.
Binary file removed images/R&D Room Assets/1 Drones/1/Walk.png
Binary file not shown.
Binary file removed images/R&D Room Assets/1 Drones/1/Walk_scan.png
Binary file not shown.
Binary file removed images/R&D Room Assets/1 Drones/2/Bomb.png
Binary file not shown.
Binary file removed images/R&D Room Assets/1 Drones/2/Drop.png
Binary file not shown.
Binary file removed images/R&D Room Assets/1 Drones/3/Back.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/3/Death.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/3/Fire1.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/3/Fire2.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/3/Fire3.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/3/Forward.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/3/Idle.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/4/Death.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/4/Idle.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/4/Landing.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/4/Walk.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/5/Death.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/5/Idle.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/5/Walk.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/5_2/Death.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/5_2/Idle.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/5_2/Walk.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/6/Capsule.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/6/Drop.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/6/Walk.png
Diff not rendered.
Binary file removed images/R&D Room Assets/1 Drones/6/Walk2.png
Diff not rendered.
Binary file removed images/R&D Room Assets/2 Character animations/1.png
Diff not rendered.
Binary file removed images/R&D Room Assets/2 Character animations/2.png
Diff not rendered.
Binary file removed images/R&D Room Assets/2 Character animations/3.png
Diff not rendered.
2 changes: 0 additions & 2 deletions images/R&D Room Assets/Font.txt

This file was deleted.

Binary file removed images/R&D Room Assets/PSD/1.psd
Diff not rendered.
Binary file removed images/R&D Room Assets/PSD/2.psd
Diff not rendered.
Binary file removed images/R&D Room Assets/PSD/3.psd
Diff not rendered.
Binary file removed images/R&D Room Assets/PSD/4.psd
Diff not rendered.
Binary file removed images/R&D Room Assets/PSD/5_1.psd
Diff not rendered.
Binary file removed images/R&D Room Assets/PSD/5_2.psd
Diff not rendered.
Binary file removed images/R&D Room Assets/PSD/6.psd
Diff not rendered.
Binary file removed images/R&D Room Assets/PSD/7.psd
Diff not rendered.
1 change: 0 additions & 1 deletion images/R&D Room Assets/license.txt

This file was deleted.

Binary file modified images/acmrpg.png
Binary file added images/aishwariya.png
Binary file added images/anish.png
Binary file added images/anmol.png
File renamed without changes
Binary file added images/avinaash.png
Binary file added images/chirayu.png
Binary file modified images/drone.png
Binary file removed images/drone2.png
Diff not rendered.
Binary file removed images/droneOld.png
Diff not rendered.
Binary file added images/gagan.png
File renamed without changes
Binary file added images/malvi.png
Binary file added images/manvi.png
Binary file removed images/map_outlineOld.png
Diff not rendered.
Binary file removed images/myTile01.aseprite
Binary file not shown.
Binary file removed images/myTileMap01.aseprite
Binary file not shown.
Binary file removed images/myTileMap02.aseprite
Binary file not shown.
Binary file removed images/npc1.png
Diff not rendered.
Binary file removed images/npc2.png
Diff not rendered.
Binary file removed images/ourLatestMap.png
Diff not rendered.
Binary file removed images/ourMap.png
Diff not rendered.
Binary file removed images/ourMap16.png
Diff not rendered.
Binary file removed images/ourMap16Old.png
Diff not rendered.
Binary file removed images/ourMap16_1.png
Diff not rendered.
Binary file removed images/ourMap16_2.png
Diff not rendered.
Binary file removed images/ourMap16_3_11.png
Diff not rendered.
Binary file removed images/ourMap16_4.png
Diff not rendered.
Binary file removed images/ourMap16_4_5.png
Diff not rendered.
Binary file removed images/ourMap16_5.png
Diff not rendered.
Binary file removed images/ourMap16_6_6.png
Diff not rendered.
Binary file removed images/ourMap16_7_7.png
Diff not rendered.
Binary file removed images/ourMap2.png
Diff not rendered.
Binary file removed images/ourMap3.png
Diff not rendered.
Binary file removed images/ourMap32.png
Diff not rendered.
2,629 changes: 0 additions & 2,629 deletions images/ourMap4.svg
Diff not rendered.
Binary file removed images/ourMap5.png
Diff not rendered.
Binary file removed images/ourMap96.png
Diff not rendered.
6 changes: 0 additions & 6 deletions images/problem.txt

This file was deleted.

Binary file added images/rishu.png
Binary file added images/rohan.png
Binary file added images/samridh.png
Binary file added images/srinivas.png
Binary file added images/swarup.png
Binary file added images/tejas.png
Binary file added images/vaishnavi.png
Binary file removed images/wall_frameOld.png
Diff not rendered.
1 change: 0 additions & 1 deletion js/DirectionInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class DirectionInput {
}
}


init() {
document.addEventListener("keydown", e => {
const dir = this.map[e.code];
Expand Down
22 changes: 3 additions & 19 deletions js/Overworld.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,18 @@ class Overworld {
this.canvas.height = window.innerHeight;
this.canvas.width = window.innerWidth;

// this.gameContainer = this.element.querySelector(".game-container");
// this.gameContainer.style.width = window.innerWidth;
// this.gameContainer.style.height = window.innerHeight;

// console.log(this.canvas.width, this.canvas.height);

this.context = this.canvas.getContext("2d");
this.map = null;
}

init() {
this.startMap(window.OverworldMaps.DemoRoom);
this.startMap(window.OverworldMaps.ACM_MAP);
this.bindActionInput();
this.bindHeroPositionCheck();

this.directionInput = new DirectionInput();
this.directionInput.init();

this.startGameLoop();
// game loop fires at 60 fps


// this.map.startCutscene([
// {type: "changeMap", map: "DemoRoom"},
// {type: "textMessage", text: "Why hello there! Welcome to ACM-RPG..."},
// ]);

}

bindActionInput() {
Expand Down Expand Up @@ -64,12 +49,11 @@ class Overworld {
const match = Object.values(this.map.gameObjects).find(object => {
return `${object.x},${object.y}` === `${nextCoords.x},${nextCoords.y}`
});
// console.log({match});


let interact_p = document.querySelector(".game-interact");

if(match) {
// console.log("MATCHED");

interact_p.style.visibility = "visible"
} else {
// make it hidden again
Expand Down
2 changes: 1 addition & 1 deletion js/OverworldEvent.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class OverworldEvent {
const sceneTransition = new SceneTransition();

sceneTransition.init(document.querySelector('.game-container'), () => {
this.map.overworld.startMap(window.OverworldMaps[this.event.map]); // the value this.event.map is referencing {type: "changeMap", map: "Kitchen"} in OverworldMap
this.map.overworld.startMap(window.OverworldMaps[this.event.map]);
resolve();

sceneTransition.fadeOut();
Expand Down
Loading

0 comments on commit ba547b1

Please sign in to comment.