Once you are familiar with Scratch, hopefully you will be able to figure out how to put things right. The removeObject() method needs one argument (extra piece of information) to be entered into the brackets when the method is called. Videos 1 to 3 are complete but video 4 still needs a little work. Using Greenfoot to create your own driving game If the condition is met, we need to use the removeObject() method of the vehicle’s world. Here's another little game to try based on a top down racer. Reproduced with permission of David Phillips and Rob Easton Secretly once you make it you will play the thing with your mates.īased on an original idea by Rob Easton (see car race above)
They sold the console that played this game for the price of an XBox or PS3 you know. Perhaps this really should have been the first set of video tutorials as in this series of videos you will learn to make the first ever video game called Pong.īasically it's a bit like tennis. We don't think anyone could unless they were very lucky!!!! We challenge you to build the game and try and reach that score. Nice little game here where we teach you to make parrots fly on random paths,then shoot them and make them disappear.įor good measure we shall even show you how to keep the score and set a timer to shoot all the parrots within. There are plenty of extension possibilities with this project. There are l ots of skills and commands used in scratch and students end up with a game that they will genuinely play.
Reproduced with permission by original author, David PhillipsĪ fabulous project where you create fish, get them to swim around the sea and then make an evil shark to gobble them up. Watch the 2 videos on the left-hand side to find out how to create an asteriods game. Learn how to create another classic game. On the left-hand side are 2 videos, the first takes you through the main ideas and the second shows you some advanced programming techniques: Remember to hit pause from time to time and recreate the game Watch the video on the left-hand side to find out how to create the tank game. In this activity you will create a tank which could lead to your own game.
Learn to create a game which allows you to pilot a helicoptor through the caves by watching the video and copying what you see.ĭownload the graphics from the zip file on the left-hand side. Try to extend the game and add in some extra features of your own. You can also use the graphics provided to give your game an arcade look. You can use the graphics provided in the zip file on the left.Ĭreate a car racing game for two players. Pause the video after each point and recreate the game yourself. Find game assets tagged 2D and spaceship like 10+ Voxel Spaceships assets for free, Warped Vehicles, Space Station Ada, Free Enemy Spaceship 2D Sprites Pixel Art, Blue, Green, and Red Spacecraft Asset on itch.io, the indie game hosting marketplace. Watch the video tutorials on the left-hand side to find out how to re-create the eyes.
Reproduced with permission by original author, Rob EastonĬreate a cat and dog chasing game whilst learning the basics of how to use Scratch.ĭo you fancy creating a set of moving eyes that follow your mouse? If (x >= myWorld.getWidth() || y >= myWorld.Scratch Click on the images for each resource to find out more about these video tutorials ("Number of steps from move() method " + numberOfStepsTaken)
* Move one cell forward in the current direction. Check whether there is a leaf in the same cell as we are.Īctor leaf = getOneObjectAtOffset(0, 0, Leaf.class) A Wombat moves forward until it can't do so anymore, at Import greenfoot.* // (World, Actor, GreenfootImage, and Greenfoot) Then put a new wombat on the stage and run the program.
Copy all of the code from the text area below into your Wombat class. In the text area below is all of the code for the "modified" Wombat Class. Here is some code that I added to the move() method. You then see code similar to the picture below.įind the move() method in your wombat class. Right-click over the Wombat Icon and choose "Open editor". Part II A closer look at the Wombat Class's Code Below is the code for the Wombat class.