Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Final Project - Fish Chomp
- Jross12
-
2 posts
Final Project - Fish Chomp
http://scratch.mit.edu.ezproxyberklee.flo.org/projects/11160597/
Hi everyone.
I would like to take the Fish Chomp Score activity and turn it into a 3 level game.
You move to a different level based on the score. I am not sure how to do that, I am excited I got this far.
Any help would be great.
Thank you.
Hi everyone.
I would like to take the Fish Chomp Score activity and turn it into a 3 level game.
You move to a different level based on the score. I am not sure how to do that, I am excited I got this far.
Any help would be great.
Thank you.
- drmcw
-
1000+ posts
Final Project - Fish Chomp
You need to decide what you want the levels to do. Different background? Make the food move quicker? Have bigger fish appear that can eat you?
- InquisitiveMinds
-
2 posts
Final Project - Fish Chomp
You can define and fix scores for different levels.
Use Conditional statements like if..else..then to switch to different levels
Use Backdrops to proceed to next screen
Use Broadcast to inform the new set of activity to concerned spirtes
Introduce more sprites and update more complex condition to chase fish
I hope these pointers would help you to progress with your levels.
Use Conditional statements like if..else..then to switch to different levels
Use Backdrops to proceed to next screen
Use Broadcast to inform the new set of activity to concerned spirtes
Introduce more sprites and update more complex condition to chase fish
I hope these pointers would help you to progress with your levels.
- TecnoB
-
3 posts
Final Project - Fish Chomp
You need to create two variables:
LEVEL (initial value = 1)
eaten fish (initial value = 0)
Every time the big fish eat one small fish, add 1 to the variable “eaten fish”. When this variable is = 10, add 1 to the variable LEVEL, then begin level 2. When eaten fish = 20, add 1 to the variable LEVEL, then begin level 3.
When LEVEL = 2 … what do you want to happen?
LEVEL (initial value = 1)
eaten fish (initial value = 0)
Every time the big fish eat one small fish, add 1 to the variable “eaten fish”. When this variable is = 10, add 1 to the variable LEVEL, then begin level 2. When eaten fish = 20, add 1 to the variable LEVEL, then begin level 3.
When LEVEL = 2 … what do you want to happen?
- Jross12
-
2 posts
Final Project - Fish Chomp
Ahh this helps a lot. I have some things to think about….Thank you all!
- superstikfa
-
100+ posts
Final Project - Fish Chomp
TecnoB's script could be a bit glitchy, unfortunately. I'd reccomend:
wait until score>9
set level to 2
set score to 10
wait until score>19
set level to 3
set score to 20
wait until score>29
set level to win
set score to 30
wait until score>9
set level to 2
set score to 10
wait until score>19
set level to 3
set score to 20
wait until score>29
set level to win
set score to 30
- WendyCR
-
1 post
Final Project - Fish Chomp
Hi, you need to create variables for each level you want to move on. For example when I was creating my 3 level game, first I went to the DATA section and made 3 variables. One main variable for the global score and two that will control when the user would pass to the next level. So according to the points you have assigned for each item the big fish eats you´ll have to decide well when score1= 300pts send a broadcast. When the message is recieved a new backdrop can appear to make the user feel the next level, maybe you can add sprites that will take away points to make it harder and so on. You can also use operators combined with variables to make the switching of levels. For me only text can not be that helpful, I also need action. I am a Scratch beginner, but on the CCOW workshop I´ve learned pretty good the basics!!! So if you would like to have a better idea for your project I´ll give you this link of my game project because it has a similar idea of your game, it´s a chick that is eating corn grains and passing on to the next levels. Here is the link http://scratch.mit.edu.ezproxyberklee.flo.org/projects/11023763/.
I´m not a pro but I would love to be helpful.
I´m not a pro but I would love to be helpful.
- Discussion Forums
- » Help with Scripts
-
» Final Project - Fish Chomp