Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » ASTEROID GAME: GOLD ASTEROIDS DAMAGE PLAYER (BUG)
- tagnindesbois2
-
16 posts
ASTEROID GAME: GOLD ASTEROIDS DAMAGE PLAYER (BUG)
Project link : https://scratch.mit.edu/projects/1114156693
<iframe src="https://scratch.mit.edu/projects/1114156693/embed“ allowtransparency=”true“ width=”485“ height=”402“ frameborder=”0“ scrolling=”no“ allowfullscreen></iframe>
How to play the game : avoid the normal asteroids, and gain money with the gold asteroids (yellow costume). to move around press the space bar and aim with your mouse. you can zoom in and out with the ”c“ and ”v” key
How the project works : the Spawn sprite is responsable for adding to the list the different asteroids. there are 3 types of asteroids; normal (red skin), big_gold(yellow skin), and small_gold (yellow skin)
the Show sprite manages the stamping of the items in the list and the interactions when ther is a collision with the player.
when the normal asteroids impact the player he takes damage, when the gold asteroids impact the player he should gain gold.
Project bug: the big gold asteroids spawned by
if the big gold asteroid impact the player he takes damage not normal and gains coins normal he also spawnes small gold asteroids aroud him in a delay normal some of the small asteroids give coins normal but some also damage the player not normal
PLEASE HELP ME
I put comment in the script to explain what each of them does
thanks in advance.
<iframe src="https://scratch.mit.edu/projects/1114156693/embed“ allowtransparency=”true“ width=”485“ height=”402“ frameborder=”0“ scrolling=”no“ allowfullscreen></iframe>
How to play the game : avoid the normal asteroids, and gain money with the gold asteroids (yellow costume). to move around press the space bar and aim with your mouse. you can zoom in and out with the ”c“ and ”v” key
How the project works : the Spawn sprite is responsable for adding to the list the different asteroids. there are 3 types of asteroids; normal (red skin), big_gold(yellow skin), and small_gold (yellow skin)
the Show sprite manages the stamping of the items in the list and the interactions when ther is a collision with the player.
when the normal asteroids impact the player he takes damage, when the gold asteroids impact the player he should gain gold.
Project bug: the big gold asteroids spawned by
if the big gold asteroid impact the player he takes damage not normal and gains coins normal he also spawnes small gold asteroids aroud him in a delay normal some of the small asteroids give coins normal but some also damage the player not normal
PLEASE HELP ME
I put comment in the script to explain what each of them does
thanks in advance.
- TheSmileyMan1
-
10 posts
ASTEROID GAME: GOLD ASTEROIDS DAMAGE PLAYER (BUG)

- TheSmileyMan1
-
10 posts
ASTEROID GAME: GOLD ASTEROIDS DAMAGE PLAYER (BUG)
I dont get why it is red
- TheSmileyMan1
-
10 posts
ASTEROID GAME: GOLD ASTEROIDS DAMAGE PLAYER (BUG)
I don't understand
- TheSmileyMan1
-
10 posts
ASTEROID GAME: GOLD ASTEROIDS DAMAGE PLAYER (BUG)
I saw there was a little bit of brown on the gold asteroid
And another bug is that in the federal end I get blue coins and a lot of them
And another bug is that in the federal end I get blue coins and a lot of them

Whyyyywhat do I use the coins for anyway?
I think that you need to spend more time on your project
I'm tring not to be mean ok?
Last edited by TheSmileyMan1 (Jan. 5, 2025 15:43:30)
- TheSmileyMan1
-
10 posts
ASTEROID GAME: GOLD ASTEROIDS DAMAGE PLAYER (BUG)
But cooool coding


- archgavriel
-
51 posts
ASTEROID GAME: GOLD ASTEROIDS DAMAGE PLAYER (BUG)
you are not really helping, smileyman I saw there was a little bit of brown on the gold asteroid
And another bug is that in the federal end I get blue coins and a lot of themWhyyyywhat do I use the coins for anyway?I think that you need to spend more time on your projectI'm tring not to be mean ok?
- tagnindesbois2
-
16 posts
ASTEROID GAME: GOLD ASTEROIDS DAMAGE PLAYER (BUG)
there is a link to the project at the top
this is just to show you where in my script I spawn the asteroids here is a better version if you don't understand the probleme i don't think you can help and you need to spend more time on it
I don't understand
this is just to show you where in my script I spawn the asteroids here is a better version if you don't understand the probleme i don't think you can help and you need to spend more time on it
- tagnindesbois2
-
16 posts
ASTEROID GAME: GOLD ASTEROIDS DAMAGE PLAYER (BUG)
I saw there was a little bit of brown on the gold asteroid
And another bug is that in the federal end I get blue coins and a lot of themWhyyyywhat do I use the coins for anyway?I think that you need to spend more time on your projectI'm tring not to be mean ok?
the brown on the asteroid has nothing to do with the probleme the colision is not color based
The project is not finished because of the bug, until I find an awnser i will not continue this project
what do you mean federal end and blue coins.
when your lifes go below 0 the - is not rendered and therfore you see the coin sprit in a qierd color
and not to be mean but if you don't undersant the code it is you who needs to spend more time on learning
- TheSmileyMan1
-
10 posts
ASTEROID GAME: GOLD ASTEROIDS DAMAGE PLAYER (BUG)
Sure im not a hacker on this stuff
butttt you do create some awesome things
Like I do this pro not hacker stuff

Like I do this pro not hacker stuff
And all blah blah blah stuff for a SIMPLE PLATFORER does scratch know what their doing?
Last edited by TheSmileyMan1 (Jan. 6, 2025 17:34:38)
- TheSmileyMan1
-
10 posts
ASTEROID GAME: GOLD ASTEROIDS DAMAGE PLAYER (BUG)
.
Edit your project and tell me where you made the collision to the asteroids
Then I think I can fix it


- TheSmileyMan1
-
10 posts
ASTEROID GAME: GOLD ASTEROIDS DAMAGE PLAYER (BUG)
I think…








Show me where the collisions are
- TheSmileyMan1
-
10 posts
ASTEROID GAME: GOLD ASTEROIDS DAMAGE PLAYER (BUG)
Actually I played the game that had a bug I kinda understood why it had a bug archgavrielyou are not really helping, smileyman I saw there was a little bit of brown on the gold asteroid
And another bug is that in the federal end I get blue coins and a lot of themWhyyyywhat do I use the coins for anyway?I think that you need to spend more time on your projectI'm tring not to be mean ok?
- Discussion Forums
- » Help with Scripts
-
» ASTEROID GAME: GOLD ASTEROIDS DAMAGE PLAYER (BUG)