From 8224c6403299bc4967c23de6cea70689c57b42ab Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 30 Aug 2019 17:02:23 -0400 Subject: Inital commit --- .idea/.gitignore | 2 ++ .idea/Project-TechRPG.iml | 12 ++++++++++++ .idea/discord.xml | 9 +++++++++ .idea/misc.xml | 6 ++++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ img/mario_sprite.png | Bin 0 -> 587087 bytes index.html | 13 +++++++++++++ js/sprite.js | 14 ++++++++++++++ 9 files changed, 70 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/Project-TechRPG.iml create mode 100644 .idea/discord.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 img/mario_sprite.png create mode 100644 index.html create mode 100644 js/sprite.js diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..5c98b42 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,2 @@ +# Default ignored files +/workspace.xml \ No newline at end of file diff --git a/.idea/Project-TechRPG.iml b/.idea/Project-TechRPG.iml new file mode 100644 index 0000000..24643cc --- /dev/null +++ b/.idea/Project-TechRPG.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/discord.xml b/.idea/discord.xml new file mode 100644 index 0000000..59b11d1 --- /dev/null +++ b/.idea/discord.xml @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..28a804d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..d4c17ec --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/img/mario_sprite.png b/img/mario_sprite.png new file mode 100644 index 0000000..583992a Binary files /dev/null and b/img/mario_sprite.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..ce3e1b4 --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ + + + + + + + Title + + + + + + \ No newline at end of file diff --git a/js/sprite.js b/js/sprite.js new file mode 100644 index 0000000..38b00fc --- /dev/null +++ b/js/sprite.js @@ -0,0 +1,14 @@ +var coinImage = new Image(); +coinImage.src = "images/coin-sprite-animation.png"; + +function sprite (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