You will need bigger sprite sheets with more animations.
I don't like the way this is coded, you want to prototype for something like this.
walking sprite help
Re: walking sprite help
Fighting for peace is declaring war on war. If you want peace be peaceful.
Re: walking sprite help
Hello,
took a browse on your code, you could simply mimic the way it has been done when using the sword.
For example, adding to the movement the
'switchPlayerMode('swinging');'
just to simulate it, then on every movement it should do the same movement on the player when it swings the sword.
I'm unable to test this right away but I would think that it might be doing the movement superfast but not sure..
Hope that helps.
took a browse on your code, you could simply mimic the way it has been done when using the sword.
For example, adding to the movement the
'switchPlayerMode('swinging');'
just to simulate it, then on every movement it should do the same movement on the player when it swings the sword.
I'm unable to test this right away but I would think that it might be doing the movement superfast but not sure..
Hope that helps.
Why so serious?
Business Intelligence, Data Engineering, Data Mining
PHP, HTML, JavaScript, Bash/KornShell, Python, C#, PL/SQL
MySQL, DB2, Oracle, Snowflake
Pentaho, DataStage, Matillion, Unity3D, Blender
Business Intelligence, Data Engineering, Data Mining
PHP, HTML, JavaScript, Bash/KornShell, Python, C#, PL/SQL
MySQL, DB2, Oracle, Snowflake
Pentaho, DataStage, Matillion, Unity3D, Blender
Re: walking sprite help
It's the way of making JavaScript Objects..Oroton wrote:I have no idea what that means??you want to prototype for something like this.
http://en.wikipedia.org/wiki/Prototype_ ... _Framework
http://yehudakatz.com/2011/08/12/unders ... avascript/
https://developer.mozilla.org/en-US/doc ... /prototype
Fighting for peace is declaring war on war. If you want peace be peaceful.