From 96021d7aa269aa446ce86bf0d3e4672b69636b2c Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 31 Aug 2019 11:37:47 -0400 Subject: Stuff --- src/js/main.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/js/main.js (limited to 'src/js/main.js') 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 -- cgit v1.2.3