supertux icon indicating copy to clipboard operation
supertux copied to clipboard

Better "transportation" sprites for worldmaps

Open Rusty-Box opened this issue 4 years ago • 7 comments

With the help of @Alzter, this PR adds improved boat sprites as well as a new transportation methode aside the boat, granito.

There are still a few things that I need help fixing as I have no idea how to solve/what causes them:

  • [ ] Boat doesn't show proper empty sprite when not in use, however granito does
  • [ ] Changing power-up via cheat menu doesn't change sprite immediately, only upon changing directions

Rusty-Box avatar Jun 15 '21 14:06 Rusty-Box

The first point of issue in this PR can probably be fixed with some code adjustments, as the game might not recognize some of the sprite actions you specified in boat.sprite as actions that the game needs to make happen.

weluvgoatz avatar Jul 11 '21 05:07 weluvgoatz

I think that also would be good, if small and big tux could have different sprite (ok, where is the sprite???)

Guih48 avatar Nov 05 '21 19:11 Guih48

@Guih48 What do you mean “where is the sprite”? There are separate sprites for small and big Tux in both boat and granito mode

Rusty-Box avatar Nov 06 '21 07:11 Rusty-Box

@Guih48 What do you mean “where is the sprite”? There are separate sprites for small and big Tux in both boat and granito mode

Yes, but they aren't look different (and if we would make they different we need a new sprite)

Guih48 avatar Nov 06 '21 08:11 Guih48

@Guih48 What do you mean “where is the sprite”? There are separate sprites for small and big Tux in both boat and granito mode

Yes, but they aren't look different (and if we would make they different we need a new sprite)

Uh… yes they are different… one is taller than the other

Rusty-Box avatar Nov 06 '21 08:11 Rusty-Box

@Guih48 What do you mean “where is the sprite”? There are separate sprites for small and big Tux in both boat and granito mode

Yes, but they aren't look different (and if we would make they different we need a new sprite)

Uh… yes they are different… one is taller than the other

Oh sorry, i don't noticed the difference :( (Because we need to make sprites more different?)

Guih48 avatar Nov 06 '21 12:11 Guih48

@Rusty-Box Can this be rebased on latest master?

Semphriss avatar Mar 17 '22 13:03 Semphriss

Okay, I went back to this and currently it seems the only bug still present is that the sprite can't quite update when moving up and/or down.

An example: As Big Tux I go onto a boat/granito and move on an up or down path. Now I wanna change my powerup state with the cheat menu to Fire Tux, while I'm on said path. However, instead of showing Fire Tux now in the boat/granito, I still see Big Tux in it until my boat/granito either begins to move to the right or the left. Only then it seems to update the sprite it is supposed to show.

Rusty-Box avatar Oct 09 '22 11:10 Rusty-Box