griffpatch.github.io icon indicating copy to clipboard operation
griffpatch.github.io copied to clipboard

Scratch Space Shooter Game Small Asteroids Disappearing.

Open E-man7598 opened this issue 3 years ago • 4 comments

Hi Griffpatch. I have recently been making a scratch space shooter game with your YouTube tutorials, most things are working as normal but I do have one big problem with the wrap around for the asteroids, everything seems to be working fine for the bigger asteroids but for the small ones they will wrap around twice and then they will disappear, this is very problematic for my scoring system because if an asteroid is lost then the player will never be able to destroy it and they will be stuck in the level. do you know what might be going wrong here?

E-man7598 avatar Apr 01 '22 17:04 E-man7598

If you can tell me your project ID then I can take a look in turbowarp

On Fri, 1 Apr 2022 at 18:09, E-man7598 @.***> wrote:

Hi Griffpatch. I have recently been making a scratch space shooter game with your YouTube tutorials, most things are working as normal but I do have one big problem with the wrap around for the asteroids, everything seems to be working fine for the bigger asteroids but for the small ones they will wrap around twice and then they will disappear, this is very problematic for my scoring system because if an asteroid is lost then the player will never be able to destroy it and they will be stuck in the level. do you know what might be going wrong here?

— Reply to this email directly, view it on GitHub https://github.com/griffpatch/griffpatch.github.io/issues/22, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTM3PRLKAIWKCJ4M7H6R2LVC4UV7ANCNFSM5SJI7S6A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

griffpatch avatar Apr 01 '22 18:04 griffpatch

Thank you so much! here is the project ID: 668000608

E-man7598 avatar Apr 01 '22 20:04 E-man7598

I suggest you add this after each of the 4 directions the tomato goes off the edge of the screen... I think they are cycling around, it's just that they are at such sharp angles that they are staying off screen for ages!

point towards player, set dir to direction + pick random -45 to 45

2022-04-01_22-48-58

[image: image.png]

On Fri, 1 Apr 2022 at 21:20, E-man7598 @.***> wrote:

Thank you so much! here is the project ID: 668000608

— Reply to this email directly, view it on GitHub https://github.com/griffpatch/griffpatch.github.io/issues/22#issuecomment-1086291116, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTM3PR6RMG7MJTJFC4QTG3VC5LCJANCNFSM5SJI7S6A . You are receiving this because you commented.Message ID: @.***>

griffpatch avatar Apr 01 '22 21:04 griffpatch

The problem is solved! thank you so much!

E-man7598 avatar Apr 01 '22 22:04 E-man7598