Coding Underwater Adventure Games in Scratch

Our Year 5 students have been exploring Scratch this term and learning lots about coding along the way.  From small beginnings, the children have quickly developed a really exciting and creative understanding of just what’s possible in Scratch.

This learning has all come together in the last few weeks with a massive game building project, based on their class topic of a ‘Conservation Conversation‘.  This project started out as a simple ‘falling objects’ type game where they were trying to collect pollution before it hit the bottom of the ocean.  However this quickly developed into something far more interesting thanks to some incredible ideas from the children.  First they wanted to make the game more random, with objects falling at different times in different places.  Then several of them explored the idea of ‘power ups’ that would make the game easier or harder.  The natural next step was to add a variable to hold a Score and after that we decided it would be fun to add a time limit variable to add to the pressure!

But they didn’t stop there – the children then developed even more elements in their games.  Time limited boosters, sneaky tricks to get extra points, objects that immediately ended the game when caught.  The list was endless!

Finally we all came together and explored how a micro:bit could be used as a game controller for these games.  We used buttons as an input, before Rio came up with some quite brilliant code to use the motion sensor too!

This has been a hugely fun project and the children have been problem solving, debugging and creating new code with incredible skill and precision.  They’ve even got into the habit of labelling their code as they go to make it easy to pick up and edit in the future!

Below you can see some of the code they’ve been constructing, as well as some of their games for you to play and enjoy!

For this game you need to use the Arrow Keys to move the paddle along the bottom of the screen.

Catch the pollution but beware of bad power-ups!

Press the Green Flag to start.

"It was really fun, I loved making the games with Mr Woolcock. It was hard work, but fun because we kept adding more to make our games more fun. There was a time when we tried to get the micro:bits to move and I just couldn’t get the right pieces of code to make it move properly, when I figured it out I was so excited that I just kept playing the game for ages!"
Oliver
"It was fun with the micro:bits because it was so cool watching it come to life and play the game with our own controllers. I also liked testing each others games out on Scratch because it was a great way to get more ideas for our own games."
Imogen
Cool Code in these Games

Randomising Game Elements

We quickly discovered that the games would be a lot more fun if we didn't know where or when objects would be falling from. The children explore Random blocks to create rules for the game to follow, but rules which would create an unpredictable outcome.

Variables: Timer, Score and More

Adding a Score and Timer was a great chance to spend more time exploring Variables. These clever bits of code can change their value at any time, making them perfect for adding five points or taking away a second on the timer. Some children even used the Score variable to trigger new levels starting!

Boosters

As well as pollution falling into the ocean, the children wanted to add other objects which would affect the gameplay in one way or another. Cue objects that add or remove time from the timer, ones which give you bonus points and even ones which make your paddle bigger or smaller. Bonuses, both good and bad, added a whole new dimension to the gameplay.

Micro:Bit Controllers

The last part of the project involved connecting our micro:bits to Scratch over Bluetooth to use them as an external gamepad. The children experimented with using the buttons too move left and right before Rio made a breakthrough (with the code above!) to make the tilt sensor work flawlessly. The micro:bits also came in handy for displaying the score and time remaining.

"I’ve really enjoyed this project, it was challenging but it was totally worth it. Trying to figure out where the bugs in my game were was tricky, but eventually I figured it out by using trial and error which helped because it showed me that my timer wasn’t working properly. When I fixed that the game was perfect!"
Maisie
"My favourite thing was exploring the new blocks which I haven’t used before in Scratch, like the micro:bit blocks to control the game. I made lots of choices in my game to make it fun, including where things would go and how quickly they moved!"
Tacita
"My favourite part of making our games was designing the code - especially working with the variables like the timer and the score. These parts make the game a lot more fun because they make it really competitive to play - they were challenging to get working but my friend was able how to make it work a little better."
Lylie

For this game you need to use the Arrow Keys to move the paddle along the bottom of the screen.

Catch the pollution but beware of bad power-ups!

Press the Green Flag to start.

"It was amazing because you got to make a game and play it at school! It was challenging because sometimes getting the right code was tricky, but what I did was (when I calmed down!) I had another look for the blocks I needed and I always managed to find it in the end."
Alex
"My favourite bit of the project was doing the challenges in the code where Mr Woolcock would give us a starting point and it was up to us to make the game elements work."
Caitlyn

Class 11

View all of the games made by
Class 11 on the Scratch Website.

Class 12

View all of the games made by
Class 12 on the Scratch Website.

Also in the news:

Jono Peck

London’s Calling 2023

On the 22nd May 2023, many of the Y6 travelled to London for 3 days of sightseeing, visiting attractions and the many things our nations capital has on offer. With a jam packed itinerary planned, we

Read More »
Amanda Aspden

Splendid Standing Stones Stables

Class 1 had a fabulous time at the Standing Stones Stables in Trink St.Ives. We met Rolo, Buddy and James the gentle and patient ponies. I liked riding the horse, the brown one – Jasper We

Read More »
Colin Jones

Class 12 Surf Day

On Thursday 17th of June 2021, Class 12 went surfing at the Global Boarders surf school based near Hayle, Cornwall. Class 12 went for the whole day and surfed from ~10:30 to ~14:30 with a small

Read More »
Michael Pearson

Sleeping with the Sharks

To top off a school year filled with adventure, excitement and challenge, Year 2 pupils embarked upon an incredible opportunity to ‘sleep with the sharks’ at Plymouth’s National Marine Aquarium. Following a joyous minibus journey up

Read More »

Also in the news:

Jacob Woolcock

Codeblocks at Christmas

This term the students in Years 3 and 6 have been creating their own 3D Winter Ornaments using the Tinkercad program. The Year 3’s have been learning all about 3D modelling and how to adjust, combine

Read More »
Amanda Aspden

Police Visit

The reception classes had a great time when Police Officer Mike visited us today. He brought loads of equipment which we tried on and found out all about the different roles that the police do, including

Read More »
Rebecca Best

Daya Visits Penpol School

Class 6 loved our workshop with Daya, in which we looked at the life of someone who follows the religion of Islam, including the Five Pillars of Islam, Islamic prayer practices and the role of a

Read More »
Michael Pearson

Drama at the Minack

On Wednesday 21st and Thursday 22nd February, our Year 2 classes braved the elements as they ventured to the historic and magical Minack Theatre for a theatre tour and drama workshop.   After a long and

Read More »
Jono Peck

Keep Dancing! – Danceathon 2023

On Thursday 2oth April, the Penpol School community came together for an afternoon of dancing to raise funds for Shelterbox. This all began following the devastating earthquakes in Southern Turkey and Northern Syria in February this

Read More »