More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
post
page
Python IDE Dashboard
Author: Administrator

JavaScript – How to read through a text file…

In this project we are looking at how to read through a text file using JavaScript. We will store a list of pupils in a text file. We are going to read through this list display its content on the

HTML Applications (.HTA)

Have you ever heard of HTA files aka HTML Applications? If you not here is what you need to know about HTA: HTA files look very similar to HTML files but when you save them you need to give them

Python Patterns

Here is a quick challenge to focus on the use of loops, nested loops and string manipulation using Python. Let’s look at the following code: for i in range(0,9): st="" for j in range(0,i): st = st + " "

How to create a bouncing ball in Scratch

Step 1 – Change your main sprite to a ball Step 2 – Add the following script to your sprite:  This tutorial is available as a pdf: How to create a bouncing ball in Scratch See how to create a

What’s an algorithm and what is pseudo code?

Check this video/animation from Ted Ed to understand what we mean by algothirm and pseudo code. Source: http://ed.ted.com/lessons/your-brain-can-solve-algorithms-david-j-malan#watch  

How to score points when your sprite collides with another sprite (in Scratch)

This tutorial is available as a pdf. It focuses on how to create a score variable for your game and how to score point when your sprite catches/touches/collides with other sprites. Download this tutorial as a pdf: How to Score

How to create flying/falling objects in Scratch

In this tutorial we will get a spaceship to fall from the top to the bottom of the screen. Add the following code to your sprite (e.g. Spaceship): To understand this script you need to understand how x and y

How to create a timer in Scratch?

Step 1 – Create a new variable called “timer”. Step 2 – Make sure you have two backdrops for your stage (The main background for your game and a Game Over background). Step 3 – Add the following code to

How to control your Sprite in Scratch…

… using the arrow keys   Step 1 – Add the following code to your sprite: Step 2 – If you don’t want your sprite to rotate, click on the blue “i” icon on your sprite. Try these “rotation style”

Why are there 1024 bytes in a kilobyte? (instead of 1000)

Here is a good brainteaser when teaching binary code… Remember: Computers can only work with binary code. Computers don’t really like the number 1000 because in binary it’s not that straightforward: The binary code for 1000 is 1111101000 However computers