Help and Support > Working with the Ultimate Platformer Engine

Change sprites and settings

(1/6) > >>

Galla:
Hello,

I changed the spr_char_default but I got a problem because my char is 16x16 so I changed the mask_char to fit for my char and now if I want to walk on the obj_solid/ground I'm in the ground and not on the ground. So can u show me where I can change the collision for the mask_char? Sry for bad English

Thank you in advance.

War:
So you changed the character hitbox and now he's stuck in the ground?

Galla:
Hello,

yea not really stuck im under the ground but I can move. But I can't make the player ON the ground. Need to find the script where i can change the (x,y) of the mask_char for the collision on obj_solid.










The difference in size.



Alley:
Welcome, Galla!

I see that you have not a very new member here actually but it is joyfully nice to see that some inactive seeming people actually pop up by beginning to post with some images also including some progress with PB. :)

Talking about your problem I really appreciate people who try to make something that hasn't been meant to be possible with PB yet. However, when you use a lot of free space to represent a tiny character then drawing sprites you won't change about how hitbox works for the character. Although in a case of a very smart system PB may change the size of the hitbox when drawing smaller characters. If your character seems to be always one tile below from a correct position then try to move your character upon every frame from the character sheet! But am I right, I am not completely sure.  ???
If you are working with UPE and you are editing elements also that are not accessible in PB such as masks, etc then I am the wrong person to help because I haven't bought it for being able to try by myself. Your idea to find x and y is right because that way practicing and thinking about the logic ways we also learn.

CGM:
It's the UPE, Alley. This post was posted in Working With the Ultimate Platformer Engine. Not Platform Builder.

Navigation

[0] Message Index

[#] Next page

Go to full version