summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@gmail.com>2019-08-31 11:37:47 -0400
committerAndrew Lee <alee14498@gmail.com>2019-08-31 11:37:47 -0400
commit96021d7aa269aa446ce86bf0d3e4672b69636b2c (patch)
treec4c60542150bde85d298b1a2fac70bd7c992452b /src
parent8224c6403299bc4967c23de6cea70689c57b42ab (diff)
downloadProject-TechRPG-96021d7aa269aa446ce86bf0d3e4672b69636b2c.tar.gz
Project-TechRPG-96021d7aa269aa446ce86bf0d3e4672b69636b2c.tar.bz2
Project-TechRPG-96021d7aa269aa446ce86bf0d3e4672b69636b2c.zip
Stuff
Diffstat (limited to 'src')
-rw-r--r--src/js/main.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/js/main.js b/src/js/main.js
new file mode 100644
index 0000000..da54257
--- /dev/null
+++ b/src/js/main.js
@@ -0,0 +1,23 @@
+/*************************************
+ *
+ * Project TechRPG by Alee Productions
+ *
+ * Please don't steal the reuse code without our credit.
+ *
+ *************************************/
+
+console.log("Script has been started");
+var coinImage = new Image();
+coinImage.src = "images/coin-sprite-animation.png";
+
+function main (options) {
+
+ var that = {};
+
+ that.context = options.context;
+ that.width = options.width;
+ that.height = options.height;
+ that.image = options.image;
+
+ return that;
+} \ No newline at end of file