Discuss Scratch

RevolutionRoulette
New Scratcher
4 posts

Trying to add a play again function in game.

I'm trying to make a game for my college assignment. My game is pretty much done except I cannot make my play again button to work properly. the script for my play again button is the same as the quit game button which works perfectly fine. the problem with the play again button is that it either causes the no. of enemy clones to more than double than they normally would or it causes problems with the score. I suspect that the problem may be in the backdrop script but I cant exactly pinpoint the problem. Any help will be appreciated.

Here is the project.

https://scratch.mit.edu/projects/158049414/#player
J-Craft
Scratcher
77 posts

Trying to add a play again function in game.

Here, I will take a look at it now and come back to you when I have figured out the problem.
J-Craft
Scratcher
77 posts

Trying to add a play again function in game.

Sorry, I couldn't find the problem. Everything seemed to run normally when I tested it. Could you describe in more detail what the problem looks like?
footsocktoe
Scratcher
1000+ posts

Trying to add a play again function in game.

RevolutionRoulette wrote:

I'm trying to make a game for my college assignment. My game is pretty much done except I cannot make my play again button to work properly. the script for my play again button is the same as the quit game button which works perfectly fine. the problem with the play again button is that it either causes the no. of enemy clones to more than double than they normally would or it causes problems with the score. I suspect that the problem may be in the backdrop script but I cant exactly pinpoint the problem. Any help will be appreciated.

Here is the project.

https://scratch.mit.edu/projects/158049414/#player

Be sure to test it from the project window and not from the editor window. Performance can be different between the two.
RevolutionRoulette
New Scratcher
4 posts

Trying to add a play again function in game.

J-Craft wrote:

Sorry, I couldn't find the problem. Everything seemed to run normally when I tested it. Could you describe in more detail what the problem looks like?

Well after I made the thread I tried another idea and it started working properly. Thanks for your help.
alexjackgaetano
New Scratcher
1 post

Trying to add a play again function in game.

what are you looking at to figure it out?
deck26
Scratcher
1000+ posts

Trying to add a play again function in game.

alexjackgaetano wrote:

what are you looking at to figure it out?
Please check the date before posting.
twirll
Scratcher
27 posts

Trying to add a play again function in game.

This should work

whenIreceiveplayshow
deck26
Scratcher
1000+ posts

Trying to add a play again function in game.

twirll wrote:

This should work

whenIreceiveplayshow
Please check the date before posting. This topic is old.
Suzeschool
Scratcher
7 posts

Trying to add a play again function in game.

deck26 wrote:

twirll wrote:

This should work

whenIreceiveplayshow
Please check the date before posting. This topic is old.
i agree
CrestedClamp
Scratcher
1 post

Trying to add a play again function in game.

Wyan100
Scratcher
1000+ posts

Trying to add a play again function in game.

CrestedClamp wrote:

So much better than me!
https://scratch.mit.edu/projects/426297150/

Please don't post on such old topics, it bumps them all the way back to the top of the page.
joshuaho
Scratcher
1000+ posts

Trying to add a play again function in game.

CrestedClamp wrote:

So much better than me!
https://scratch.mit.edu/projects/426297150/

If you have a question regarding to scripting, then please feel free to make a new topic in the Help with Scripts forum. If you are showcasing your project, then please do so by making a new topic in the Show and Tell forum. Thanks!

Powered by DjangoBB