• 0

My custom pickup spawns as invisible

Question

I've made a custom health pickup, but once i spawn it in-game, it's invisible. I can still pick it up by walking into it, but it has no sprites.

Can anyone help me resolve this issue?

 

Things I checked:

  - The sprites are in between the SS_START and SS_END files like they should be

  - There are no filename typos

  - It functions normally, except for the sprites not appearing

LargeHealthBonus.zip

Share this post


Link to post

3 answers to this question

  • 1

Their name needs to contain a rotation number. For sprites supposed to look the same from all direction, it is zero. So, name your sprites HEBOA0, HEBOB0, HEBOC0 and HEBOD0.

Share this post


Link to post
  • 0

Oh. Major lapse in judgment there. Thanks for pointing that out.

 

Share this post


Link to post
  • 0

Also check offsets. Default offsets of 0,0 will result in most if not all sprites being in the ground and "invisible."

Share this post


Link to post

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