Jump to content
  • 0

Shot in the dark, I'd like to make my characters show sprites from left and right profiles only.


Ryukio

Question

Has anyone done this and had their characters remain the same "walking" direction when pressing up or down. As soon as you press up or down its going to use whatever sprites are in that slot. I would like them to remain relative to the direction you were currently moving in.

 

Example...

 

Quote

I'm moving to the RIGHT, and press DOWN, the character should be facing to the right and moving down.

 

Its much easier to make a profile of the sprites, without having to make them with a front and back view.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
7 hours ago, Ryukio said:

Has anyone done this and had their characters remain the same "walking" direction when pressing up or down. As soon as you press up or down its going to use whatever sprites are in that slot. I would like them to remain relative to the direction you were currently moving in.

 

Example...

 

 

Its much easier to make a profile of the sprites, without having to make them with a front and back view.

The easiest way to do this is to change your spritesheets, changing all you sprites to face the direction you want. You could also change the sprites settings on the server config for the sprite frames:

 

  "Sprites": {
    "AttackFrames": 6,
    "CastFrames": 6,
    "IdleFrames": 4,
    "IdleFrameDuration": 200,
    "IdleStartDelay": 200,
    "NormalFrames": 6,
    "NormalAttackFrame": 3,
    "NormalBlockFrame": 2,
    "NormalCastFrame": 2,
    "NormalDashFrame": 1,
    "MovingFrameDuration": 100,
    "ShootFrames": 6,
    "WeaponFrames": 6
  },

 

I did a version a while ago using roguelike sprites that only animated in a single direction. so I change the sprite frames config side (reduced them) and change the spritesheets to have up down, lft, right, all facing with the down sprite image (if that makes sense), like this:

d60e78505ecc0059d3cac47862df277b.png

Link to comment
Share on other sites

  • 0

I tried the same thing, awhile back, if you are walking to the RIGHT, and press down, the sprite will look to his LEFT, [BUT MOVE DOWN] correct?...

 

I'm thinking there has to be a way to have the character move up and down, without changing its facing direction.

Link to comment
Share on other sites

  • 0
2 hours ago, Ryukio said:

I tried the same thing, awhile back, if you are walking to the RIGHT, and press down, the sprite will look to his LEFT, [BUT MOVE DOWN] correct?...

 

I'm thinking there has to be a way to have the character move up and down, without changing its facing direction.

Yeah you are correct because of the way diagonal movement works but all depends on how you have your sprite sheet. So mine in the above post does:

 

DOWN = RIGHT
LEFT = LEFT

RIGHT = RIGHT

UP = LEFT

 

I am not too sure what you are trying to accomplish with "a way to have the character move up and down, without changing its facing direction", do you have an example of your sprite?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...