diff --git a/LICENSE b/LICENSE index 9b3a615..157c154 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Aryaman Kolhe +Copyright (c) 2022 Aryaman Kolhe, Harsh Avinash Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index a6295d0..3382145 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,28 @@ # ACM-Recruitment-Portal RPG inspired recruitment portal for the year 2022 -## Resources - -Got game dev logic from: -https://www.youtube.com/playlist?list=PLcjhmZ8oLT0r9dSiIK6RB_PuBWlG1KSq +Play here! +https://acm-rpg.netlify.app/ -Made with ❤️ by [Aryaman Khole](https://github.com/Chasmiccoder) & [Harsh Avinash](https://github.com/Harsh-Avinash) +![gameplay gif](./acmrpg-gameplay.gif) - diff --git a/acmrpg-gameplay.gif b/acmrpg-gameplay.gif new file mode 100644 index 0000000..c822e6f Binary files /dev/null and b/acmrpg-gameplay.gif differ diff --git a/js/generatePath.py b/generatePath.py similarity index 100% rename from js/generatePath.py rename to generatePath.py diff --git a/ideas.md b/ideas.md deleted file mode 100644 index cd245c3..0000000 --- a/ideas.md +++ /dev/null @@ -1,37 +0,0 @@ -To Do: - * Collision detection - * change map depending on which gate the player walks through - - - -Ideas for - ACM-RPG -ACM Logo is the platform! -Secret room by walking through one wall, plays rick roll on opening a chest -Computers that give information on pressing spacebar - -First make the game in vanilla js -then put it in react with react stuff - - -Secret room will have character skin customization thing. Upgrade your look! - -To Download aseprite pixel art editor - -https://www.youtube.com/watch?v=s3hhkcDOASc - -To run aseprite - - -cmake \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DLAF_BACKEND=skia \ - -DSKIA_DIR=$HOME/deps/skia \ - -DSKIA_LIBRARY_DIR=$HOME/deps/skia/out/Release-x64 \ - -DSKIA_LIBRARY=$HOME/deps/skia/out/Release-x64/libskia.a \ - -G Ninja \ - .. - - - - -ninja aseprite - - diff --git a/js/GameObject.js b/js/GameObject.js index c6bd98a..0445d04 100644 --- a/js/GameObject.js +++ b/js/GameObject.js @@ -11,7 +11,7 @@ class GameObject { // all people }); this.behaviorLoop = config.behaviorLoop || []; // used for the behavior of npcs. This is a list of objects with the behavior type, which is defined in OverworldMap.js - this.behaviorLoopIndex = 0; // keeps track of + this.behaviorLoopIndex = 0; this.talking = config.talking || []; } diff --git a/styles/global.css b/styles/global.css index bdca59b..7433247 100644 --- a/styles/global.css +++ b/styles/global.css @@ -49,8 +49,6 @@ body { text-align: center; } - - .game-container{ position: relative; margin: 0; @@ -64,5 +62,3 @@ body { /* Removes the blur, which occurs due to scaling */ image-rendering: pixelated; } - - diff --git a/wallGenerator.py b/wallGenerator.py index e665d3e..df3e687 100644 --- a/wallGenerator.py +++ b/wallGenerator.py @@ -1,3 +1,5 @@ +# Script that uses the map outline to find the exact coordinates of the walls + from PIL import Image from numpy import asarray import numpy as np @@ -54,5 +56,3 @@ def removeFlagged(coordinate_list): with open("wall_coordinates.txt", "w") as file: file.writelines(file_list) - -