Discuss Scratch

DaniProFan
Scratcher
7 posts

FnF alike game

Hello fellow scripters,
So today I decided to make a FnF alike game
But I ran into an error
how to make a point system
(if you click the wrong one, you get -1 point the good one, you get +1 point)
https://scratch.mit.edu/projects/544526930/editor/
MasterofTheBrick
Scratcher
1000+ posts

FnF alike game

Each arrow should only give points when clicked on AND when they are lighted up. So,

whenthisspriteclickedifcostumename=uiterlijk1thenchangepointsby-1elsechangepointsby1

You will have to do this to all 4 arrows.

Last edited by MasterofTheBrick (June 15, 2021 07:58:04)

DaniProFan
Scratcher
7 posts

FnF alike game

MasterofTheBrick wrote:

Each arrow should only give points when clicked on AND lighted up. So,

whenthisspriteclickedifcostumename=uiterlijk1thenchangepointsby-1elsechangepointsby1

You will have to do this to all 4 arrows.
Hi, thank you so much for your help!
I have another question: how to add titles under your reply? I'm a self-taught scratcher too
MasterofTheBrick
Scratcher
1000+ posts

FnF alike game

The “title” under my reply is called a signature, often referred to as a siggy. To create one, scroll to the bottom of the Discussion home page, and you should see a link saying “Change your signature” on the bottom left corner of your screen.
DaniProFan
Scratcher
7 posts

FnF alike game

Thank you so much!
MasterofTheBrick
Scratcher
1000+ posts

FnF alike game

Happy to help! Hope you are enjoying your time on Scratch.
DaniProFan
Scratcher
7 posts

FnF alike game

Hi, I'm sorry but…. one last question…
if i make things like this one here: https://scratch.mit.edu/projects/544569546/editor
it stops after some clones.
how to fix this
MasterofTheBrick
Scratcher
1000+ posts

FnF alike game

Move the “create clone of..” outside the forever loop.

createcloneofmyselfforevergotomouse-pointer

Or if you want the clone to go to the mouse pointer instead:

createcloneofmyself

and in a separate script:
whenIstartasacloneforevergotomouse-pointer

Last edited by MasterofTheBrick (June 15, 2021 09:03:02)

DaniProFan
Scratcher
7 posts

FnF alike game

MasterofTheBrick wrote:

Move the “create clone of..” outside the forever loop.

createcloneofmyselfforevergotomouse-pointer

Or if you want the clone to go to the mouse pointer instead:

createcloneofmyself

and in a separate script:
whenIstartasacloneforevergotomouse-pointer

Hi,
I did test that, but when I tried it, it didnt show up as a mouse trail

I meant something like this
https://scratch.mit.edu/projects/547017124/
MasterofTheBrick
Scratcher
1000+ posts

FnF alike game

Apologies, I don't think you requested for a mouse trail in the earlier posts.

Create a separate sprite with the costume of a circle and hide it. Follow the tutorial below, but remember to insert the “show” block into all the clone scripts, otherwise the mouse trail will be invisible.
https://en.scratch-wiki.info/wiki/How_to_Make_a_Mouse_Trail

Last edited by MasterofTheBrick (June 22, 2021 07:11:04)

Powered by DjangoBB