Discuss Scratch

LG125
Scratcher
500+ posts

Buggy Koopa Shell Collision

https://turbowarp.org/544752841/

Mario game, so how to is pretty much self explanatory

When koopa shell movement activates, sometimes, when it collides with something, it goes back and forth. I know how the bug is caused (ish), but i feel like I’m missing something to fix it.

Enemy script can be found in “non-solid objects”

Koopa shell script can be found where the “here” comment is



LG125
Scratcher
500+ posts

Buggy Koopa Shell Collision

Me when no reply: “BUMPPPPPPPPPPP”



LG125
Scratcher
500+ posts

Buggy Koopa Shell Collision

Never gonna stop bum-ping, never gonna let it down…

Wait that didn’t rhyme.

Idk.

Last edited by LG125 (Nov. 11, 2021 21:24:12)




LG125
Scratcher
500+ posts

Buggy Koopa Shell Collision

I hope somebody who can help is online…

Is the link bad? The project ID is perfect.



LG125
Scratcher
500+ posts

Buggy Koopa Shell Collision

11-19-21

I bumped this thread waiting for a reply for the 4th time.



LG125
Scratcher
500+ posts

Buggy Koopa Shell Collision

Still no reply? Bump.



dhnv
Scratcher
4 posts

Buggy Koopa Shell Collision

reply:)
LG125
Scratcher
500+ posts

Buggy Koopa Shell Collision

dhnv wrote:

reply:)
-_-

Was hoping for something more helpful



LG125
Scratcher
500+ posts

Buggy Koopa Shell Collision

I think I can bump this again?



xenon-dev-group
Scratcher
100+ posts

Buggy Koopa Shell Collision

Hello I’m your order handler for your order in sky blue
Can you give more information

Last edited by xenon-dev-group (Dec. 1, 2021 20:12:18)


-Male|furry|age:12|Mentally unstable (sometimes)|fourmer|Kind|Writer|ADHD|#wordshurt
Call me Cyber
the car crash gone furry writing thread




LG125
Scratcher
500+ posts

Buggy Koopa Shell Collision

xenon-dev-group wrote:

Hello I’m your order handler for your order in sky blue
Can you give more information
When I make a koopa shell move, i make it move one way until it collides with something, then I make it move the other way. When the ground tiles start hiding because I’m going far, there is nothing for ther shell to collide with, so it follows me and causes me to lose. I fixed this by letting it free to move one time, then record the position where it collided to use it again for future collisions. I also added pause button compatibility, so it doesnt move when the game is paused (animation will still run). When I do something like get a power up, the game forces everything to freeze for half a second to give a power up effect. The koopa shell then thinks its collided with something, and sets it as its collision point (which is nothing). I know how the bug is caused, i just dont know how to fix it.

Edit: i was wrong. There is no script to momentarily stop the enemies from moving.

Last edited by LG125 (Dec. 8, 2021 18:30:33)




xenon-dev-group
Scratcher
100+ posts

Buggy Koopa Shell Collision

LG125 wrote:

xenon-dev-group wrote:

Hello I’m your order handler for your order in sky blue
Can you give more information
When I make a koopa shell move, i make it move one way until it collides with something, then I make it move the other way. When the ground tiles start hiding because I’m going far, there is nothing for ther shell to collide with, so it follows me and causes me to lose. I fixed this by letting it free to move one time, then record the position where it collided to use it again for future collisions. I also added pause button compatibility, so it doesnt move when the game is paused (animation will still run). When I do something like get a power up, the game forces everything to freeze for half a second to give a power up effect. The koopa shell then thinks its collided with something, and sets it as its collision point (which is nothing). I know how the bug is caused, i just dont know how to fix it.
Sorry for asking a lot but can you point out where the colided script is

-Male|furry|age:12|Mentally unstable (sometimes)|fourmer|Kind|Writer|ADHD|#wordshurt
Call me Cyber
the car crash gone furry writing thread




LG125
Scratcher
500+ posts

Buggy Koopa Shell Collision

xenon-dev-group wrote:

LG125 wrote:

xenon-dev-group wrote:

Hello I’m your order handler for your order in sky blue
Can you give more information
When I make a koopa shell move, i make it move one way until it collides with something, then I make it move the other way. When the ground tiles start hiding because I’m going far, there is nothing for ther shell to collide with, so it follows me and causes me to lose. I fixed this by letting it free to move one time, then record the position where it collided to use it again for future collisions. I also added pause button compatibility, so it doesnt move when the game is paused (animation will still run). When I do something like get a power up, the game forces everything to freeze for half a second to give a power up effect. The koopa shell then thinks its collided with something, and sets it as its collision point (which is nothing). I know how the bug is caused, i just dont know how to fix it.
Sorry for asking a lot but can you point out where the colided script is

LG125 wrote:

https://turbowarp.org/544752841/

-snip-

Enemy script can be found in “non-solid objects”

Koopa shell script can be found where the “here” comment is

You dont need the turbowarp link, the project is now shared

https://scratch.mit.edu/projects/544752841/

Last edited by LG125 (Dec. 2, 2021 15:13:44)




LG125
Scratcher
500+ posts

Buggy Koopa Shell Collision

When the bump



LG125
Scratcher
500+ posts

Buggy Koopa Shell Collision

When the bump x2



LG125
Scratcher
500+ posts

Buggy Koopa Shell Collision

When the bump x3



--ThatCrownedKing--
Scratcher
100+ posts

Buggy Koopa Shell Collision


I'm definitely a professional scratcher

Powered by DjangoBB