Tuesday
Arduino Uno Basics - DigitalReadSerial
Arduino Uno is a really good way to learn about Electronics components. When you use a component with Arduino Uno, you can learn its functioning in many different ways and control it's behavior by programming Arduino.
Arduino Uno Basics - AnalogReadSerial
I have been fiddling with Arduino Uno since I got a new Arduino Kit a few days ago. It was quite exiting for me as I have studied Electronics in my Polytechnic college. It was never as exiting as it is today. There is a lot of material available on the net as well as on Youtube if you are doing experiments with Arduino. What I am doing here is assembling all that together to help you get started with Arduino if you are new to Arduino.
Saturday
Folders in Linux
A Folder in Linux is also a File. It is a File with the list of other Files and sub-folders if any included in it. It contains a list of filenames and the corresponding inodes for each file.
This is how a folder looks like in Linux. Officially a Folder in Linux is called a Directory. If you look at the first character of the permission string in a full listing, a folder is denoted by a "d", that is a Directory. The same name is also used in the command names, such as cd for Change Directory.
It will be useful to remind ourselves the dictionary meaning of the word directory. As in a Telephone Directory. A list of items. This is exactly what a directory in Linux is. A list of files.
We will refer it as a Folder for our convenience.
This is how a folder looks like in Linux. Officially a Folder in Linux is called a Directory. If you look at the first character of the permission string in a full listing, a folder is denoted by a "d", that is a Directory. The same name is also used in the command names, such as cd for Change Directory.
It will be useful to remind ourselves the dictionary meaning of the word directory. As in a Telephone Directory. A list of items. This is exactly what a directory in Linux is. A list of files.
We will refer it as a Folder for our convenience.
Wednesday
Creating Game in Scratch - Feeding a Shark
Let us create a game in Scratch. This game has a Shark in it. As you move your mouse pointer across the screen, the shark seems to follow the pointer. There are several sea creatures and fish appearing randomly on the screen. When the shark touches a fish, the fish disappears and the shark grows in size. It is a small growth. But after some time you will notice it growing. After growing a certain amount, a message displays that the shark is not more hungry, and the game is over.
Let me explain how to create this game.
I will explain the basic of this game, you can add extras later.
I have used a blue colored sprite as a background, an image of a shark and a small fish.
The background sprite is enlarged and it moves with the mouse movement, while the shark stays in the middle. This creates the effect that the shark is moving. The fish also moves in the same way as the background sprite. In the same way all the background images move.
You can look at the coding by clicking on "See Inside" button on this link
https://scratch.mit.edu/projects/111683962/
Tuesday
Creating a Game in Scratch - Coconut Catcher
Coconut catcher is an easy game made in Scratch. You can move the monkey with the Left and Right arrow keys and catch as many coconuts as you can within 30 seconds.
I will explain below how to created this game.
Friday
Creating a game - Play Marbles
We all love to play marbles. Well most of you may have played it at some or other time in your childhood. Let us try to re-create the magic of playing glass marbles.
Tuesday
Creating a game - Sun and Rain.
Ever thought of making it rain whenever you wanted to. Well here is your chance to do so. Start the game above and shoot pieces of watermelons to the sun. The sun is feeling very hot. If you feed him at least 10 pieces of melons, then it will start to rain. You only have 20 pieces of melon in your stock. If the melons hit a cloud then they are lost. So watch the movement of the clouds carefully and press spacebar only when you are sure your melon would reach the sun. Happy raining.
All the sprites used in this game are taken from the sprites library, except the rain drops. You could easily draw them in the sprites editor. The rain sound is also not part of the sounds library.
Please feel free to go through the coding in the project's homepage.
https://scratch.mit.edu/projects/108921874/
Subscribe to:
Posts (Atom)
Featured Post
Creating Games in Scratch for ICSE Class 6
An Introduction to Creating Games in Scratch for ICSE Class 6 Hello friends, I hope you have already read the previous post on An Int...
-
These are several steps you need to use in several cases in removing a trojan or a worm manually. You may need to take one or more of these ...
-
An Introduction to Creating Games in Scratch for ICSE Class 6 Hello friends, I hope you have already read the previous post on An Int...
-
I will list some online Educational games for kids that are designed to teach different shapes. You can play them by clicking on the images ...

