Discuss Scratch

Imagination405
Scratcher
2 posts

Undertale Soul Code

I'm currently working on my own Dusttale Sans fight, but I need help with the soul movement (specifically the blue soul) and stopping the player from moving through the borders. The current method I made isn't smooth at all and I could really use some advice, thanks!
MasterofTheBrick
Scratcher
1000+ posts

Undertale Soul Code

You’ll have to share the project’s link with us.

Is there an attempted collision script within the project already, or are you unsure as to where to start?
Imagination405
Scratcher
2 posts

Undertale Soul Code

MasterofTheBrick wrote:

You’ll have to share the project’s link with us.

Is there an attempted collision script within the project already, or are you unsure as to where to start?
Right now the soul bounces back when the player touches the border, so I just want to change to be smoother and make the jump for the blue soul faster and smoother like in undertale.
sashimiricedev
Scratcher
100+ posts

Undertale Soul Code

Click on the link in my siggy, there should be a project for topdown collision.
heeheehahahoho
Scratcher
26 posts

Undertale Soul Code

Imagination405 wrote:

MasterofTheBrick wrote:

You’ll have to share the project’s link with us.

Is there an attempted collision script within the project already, or are you unsure as to where to start?
Right now the soul bounces back when the player touches the border, so I just want to change to be smoother and make the jump for the blue soul faster and smoother like in undertale.
how far does the soul move?
if it moves like 5 steps/ changes x by 5 i would do this:
whenclickedforeversetx toxpositioniftouchingborder?thengotox:x-05y:yposition
just realised it only works for the right side, for the left maybe change the x variable to x left and go to x left+5?

Last edited by heeheehahahoho (Feb. 10, 2024 17:53:19)

Powered by DjangoBB