diff options
author | jak1 <mike.wollmann@gmail.com> | 2021-08-02 00:25:17 +0200 |
---|---|---|
committer | jak1 <mike.wollmann@gmail.com> | 2021-08-02 00:25:17 +0200 |
commit | 38b866f15a5ed386341cd1248ee848a9133edcc6 (patch) | |
tree | df13135f5239583d412613998da032b819d43a0e /client/index.html | |
parent | 6c6918bc386b9b085ebc070826294c755aff1f8a (diff) | |
download | thepixelworld-38b866f15a5ed386341cd1248ee848a9133edcc6.tar.gz thepixelworld-38b866f15a5ed386341cd1248ee848a9133edcc6.tar.bz2 thepixelworld-38b866f15a5ed386341cd1248ee848a9133edcc6.tar.xz thepixelworld-38b866f15a5ed386341cd1248ee848a9133edcc6.zip |
changed direction from byte to sprite order
added VERY basic player direction rendering (not animated)
Diffstat (limited to 'client/index.html')
-rw-r--r-- | client/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/index.html b/client/index.html index eb88280..69e2c86 100644 --- a/client/index.html +++ b/client/index.html @@ -212,7 +212,7 @@ var width = 64; var height = 64; ctx.drawImage(Img.player, - 0,0, + 0 /* base sprite */, (height * self.dir), width, height, x-width/2, y-height/2, width, height); |