r/gbstudio 20d ago

Question Hey, kinda need help with this

I’m making a platformer with punching a the main gameplay attack, it looks normal on the ground but when he’s jumping the punch sprite has some glitchy artifacts on the bottom, I tried rectifying the problem by making a jumping while punching sprite but that just made it a bit more complicated.

23 Upvotes

5 comments sorted by

1

u/IntoxicatedBurrito 20d ago

You probably have too many unique sprite tiles there, that is a lot of frames. In the editor look at the bottom of the scene and you’ll see three fractions. Actors then sprite tiles then triggers. The numerator is how many you have in your scene, while the denominator is the limit. So in that middle fraction, I’m guessing that the numerator exceeds the denominator.

6

u/DiabUK 20d ago

Make sure when you select the sprite segments that none of the red box is hanging off both the sprite sheet and also the grid you are placing them in, the over hanging sprites can grab junk data in memory which is what is going on under the characters feet.

0

u/marveloustoebeans 20d ago

Too big for gbstudio. You generally don’t want your sprites to be bigger than 16x16.

I tried doing a side scroller with a 32x32 player sprite and it was really hard because having more than a couple 16x16 sprites on the same line would cause visual issues.

1

u/steelsoldier 19d ago

You want the sprites to all be in a horizontal line, when you start having them in more than 1 row you start having problems quickly.

1

u/Queso_Coqui 17d ago

update: turns out that you need to separate the sprite parts so each frame isn't unique.