Discuss Scratch

KingRobert11
New to Scratch
4 posts

Help with space invader game

I'm hoping someone can help,I've been working on a space invader type game and the problem is that, when I fire it, it can't just pick it up when passing and doesn't always pick up that it has touched the target. Any Suggestions? I've attached a picture of the script that isn't working.

https://scratch.mit.edu/projects/167681141/#editor

Thanking you in advance
kuchikoo
Scratcher
66 posts

Help with space invader game

I wish I could help but I want to know what you mean by pick up…?

- K U C H I K O O
safety1st78
Scratcher
10 posts

Help with space invader game

I noticed that the bullet was trying to sense if it was touching balloon1 but there was no balloon1 sprite.
check out my remix here.
KingRobert11
New to Scratch
4 posts

Help with space invader game


kuchikoo wrote:

I wish I could help but I want to know what you mean by pick up…?

Thanks for your reply, I mean that he doesn't sense the target.
KingRobert11
New to Scratch
4 posts

Help with space invader game

safety1st78 wrote:

I noticed that the bullet was trying to sense if it was touching balloon1 but there was no balloon1 sprite.
check out my remix here.


I think this may be it… Watch this space… Thank you
KingRobert11
New to Scratch
4 posts

Help with space invader game

Further help needed.. it's still not sensing the points??
drmcw
Scratcher
1000+ posts

Help with space invader game

I'm assuming Sprite5 is the issue? What's a Sprite5 can't it have a proper name?

Anyway perhaps you could explain what it's supposed to do as the only script that makes any sense is

when green flag clicked
hide
go to x: (-10) y: (-59)
set [Score v] to [0]

10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
dinomite59
Scratcher
8 posts

Help with space invader game

There isn't a Sprite 5 ??
dinomite59
Scratcher
8 posts

Help with space invader game

One more thing is that it doesn't detect that it is hit the target.
dinomite59
Scratcher
8 posts

Help with space invader game

Oh yes there is a sprite 5 and yes it is the problem
dinomite59
Scratcher
8 posts

Help with space invader game

drmcw
Scratcher
1000+ posts

Help with space invader game

dinomite59 wrote:

Updated version here:https://scratch.mit.edu/projects/167874809/
My original post still applies

10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
dinomite59
Scratcher
8 posts

Help with space invader game

The scripts that have been added have been to control the main ship.
dinomite59
Scratcher
8 posts

Help with space invader game

One other problem is that we plan to have the the alien ships moving down, how can I have it so it still detects that its been shot when its moving.
HoofEMP
Scratcher
100+ posts

Help with space invader game

dinomite59 wrote:

One other problem is that we plan to have the the alien ships moving down, how can I have it so it still detects that its been shot when its moving.
Don't use the glide block.


dinomite59
Scratcher
8 posts

Help with space invader game

It still isn't sensing that the bullet has hit the target.

Thanks
drmcw
Scratcher
1000+ posts

Help with space invader game

https://scratch.mit.edu/projects/167890309/ fixes bullet sprite

10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
thegamerdd
Scratcher
11 posts

Help with space invader game

I have a project that is a simple space invader game https://scratch.mit.edu/projects/159250093/

look at the code if it didn't work im sorry

Powered by DjangoBB