aliens

Author Topic: How are the sprite sheets for bullet sprites laid out?  (Read 2503 times)

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
How are the sprite sheets for bullet sprites laid out?
« on: May 14, 2022, 01:36:51 pm »
Could someone please explain the layout of the bullet sprite images?


How does this animate and how big is each frame?

What part is the bullet and what part is the trail that follows it?
« Last Edit: May 14, 2022, 01:40:57 pm by The Martian »

Offline Nord

  • Commander
  • *****
  • Posts: 1625
  • The Gate is open.
    • View Profile
Re: How are the sprite sheets for bullet sprites laid out?
« Reply #1 on: May 15, 2022, 04:21:11 am »
Each bullet is a chain of a squares of 3x3 pixels, from left to right. For example, when you shoot stright right side, bullet sprite will be turned like that in pixels: ...9,10,11,6,7,8,3,4,5,0,1,2.

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: How are the sprite sheets for bullet sprites laid out?
« Reply #2 on: May 15, 2022, 01:03:35 pm »
It was chains like this that were throwing me off as there are dots before the larger blocks and I thought it was an animation loop of some kind:


But after watching it closely ingame I see what you are describing:


Thank you for the help.