summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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