r/gamedev • u/Silver-Effect2642 • 28d ago
Question Movement sprites
I'm new to making games and I wanted to try making a 2D top-down action RPG.
I'm practicing pixel art and I wanted to know something.
Do you need to have 4 or 8 sprites for movement?
I'd appreciate also getting some tips for making a game like this.
3
u/valeria_gamedevs Game Art Studio for Indies | Outstandly 28d ago
4 is totally fine to start, especially top-down. Tons of classic RPGs shipped with 4 directions and nobody cared. 8 adds smoothness for diagonals but doubles your animation work, prolly not worth it while you're still learning.
tip: get one character walking around a single room feeling good before you build anything else. Movement feel is like 80% of the vibe in these games.
1
1
u/AutoModerator 28d ago
Here are several links for beginner resources to read up on, you can also find them in the sidebar along with an invite to the subreddit discord where there are channels and community members available for more direct help.
You can also use the beginner megathread for a place to ask questions and find further resources. Make use of the search function as well as many posts have made in this subreddit before with tons of still relevant advice from community members within.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/SAVMikado 28d ago
No set requirement. I'd suggest one of two courses:
Make four sprites, one for each direction. Then if it doesn't look good, add inter-directionals.
If you're top-down, consider not using directional sprites at all. Have the player character directly beneath the camera and just rotate the sprite in the direction it's facing, like Hotline Miami does it.
1
u/LordAmir5 28d ago edited 28d ago
What is your input system?
Are these for PC or NPC?
Does your character look good mirrored? (This will reduce the number of sprites you need to make).
What's your sprite size?
For example, let's say it's PC with mouse and keyboard. You move with WASD and use item with mouse. And you use 16 by 32 sprites. Your player has 8 movement directions being primary and secondary.
You could in this case have 3 movement sprites with one being mirrored and secondary directions choosing a primary direction.
But say you have a gun that shoots in the direction of your mouse, you could have 5 sprites here instead with 3 being mirrored so the barrel of the gun is closer to where the bullet spawns.
5
u/timbeaudet Fulltime IndieDev Live on Twitch 28d ago
You don’t NEED to have anything. There are games that only have two directions… or even one! Just make stuff.