Discuss Scratch

pieprince1
Scratcher
9 posts

need a bit of help on this

i am making an undertale battle engine, but i have NO idea how i can add invincibility frames. i have literally been trying for weeks.
Studio42
Scratcher
500+ posts

need a bit of help on this

I do what invincibility frames are but I did a quick Google search and it is the amount off time you cant be harmed after being attacked right? If so, do this
forever

wait until <guy gets hit>
Do damage and such
wait (invicibility frames) secs
end
pieprince1
Scratcher
9 posts

need a bit of help on this

Studio42 wrote:

I do what invincibility frames are but I did a quick Google search and it is the amount off time you cant be harmed after being attacked right? If so, do this
forever

wait until <guy gets hit>
Do damage and such
wait (invicibility frames) secs
end
yeah but in undertale invincibility frames include the guy disappearing and reappearing until the invincibility frames end
deck26
Scratcher
1000+ posts

need a bit of help on this

pieprince1 wrote:

Studio42 wrote:

I do what invincibility frames are but I did a quick Google search and it is the amount off time you cant be harmed after being attacked right? If so, do this
forever

wait until <guy gets hit>
Do damage and such
wait (invicibility frames) secs
end
yeah but in undertale invincibility frames include the guy disappearing and reappearing until the invincibility frames end
So presumably add hide and show blocks, one each side of the code where it is invincible.
pieprince1
Scratcher
9 posts

need a bit of help on this

deck26 wrote:

pieprince1 wrote:

Studio42 wrote:

I do what invincibility frames are but I did a quick Google search and it is the amount off time you cant be harmed after being attacked right? If so, do this
forever

wait until <guy gets hit>
Do damage and such
wait (invicibility frames) secs
end
yeah but in undertale invincibility frames include the guy disappearing and reappearing until the invincibility frames end
So presumably add hide and show blocks, one each side of the code where it is invincible.
yeah but then it lags, i tried that method just an fyi
deck26
Scratcher
1000+ posts

need a bit of help on this

pieprince1 wrote:

deck26 wrote:

pieprince1 wrote:

Studio42 wrote:

I do what invincibility frames are but I did a quick Google search and it is the amount off time you cant be harmed after being attacked right? If so, do this
forever

wait until <guy gets hit>
Do damage and such
wait (invicibility frames) secs
end
yeah but in undertale invincibility frames include the guy disappearing and reappearing until the invincibility frames end
So presumably add hide and show blocks, one each side of the code where it is invincible.
yeah but then it lags, i tried that method just an fyi
So you need to share the project so we can try to help you fix that.
pieprince1
Scratcher
9 posts

need a bit of help on this

deck26 wrote:

pieprince1 wrote:

deck26 wrote:

pieprince1 wrote:

Studio42 wrote:

I do what invincibility frames are but I did a quick Google search and it is the amount off time you cant be harmed after being attacked right? If so, do this
forever

wait until <guy gets hit>
Do damage and such
wait (invicibility frames) secs
end
yeah but in undertale invincibility frames include the guy disappearing and reappearing until the invincibility frames end
So presumably add hide and show blocks, one each side of the code where it is invincible.
yeah but then it lags, i tried that method just an fyi
So you need to share the project so we can try to help you fix that.
i did share it

Powered by DjangoBB