The Official Blog of Small Basic
Small Basic - Options
Email Blog Author
RSS for posts
Beginning Microsoft Small Basic
Challenge of the Month
Computer Science for Kids
Old Basic Coder
Small Basic E-Books
Small Basic extensions
Small Basic for Little Kids
Small Basic Interview
Small Basic Tutorial
TechNet Wiki Contest
Download Small Basic
Search Small Basic
Search this blog
Search all blogs
Translate This Page
Translate this page
Social Media Sharing
Browse by Tags
Tagged Content List
Roman Numerals - Small Basic Featured Programs
Today I'd like to pick up programs to calculate Roman numerals from the Small Basic forum. The first ones are described in a forum thread Post your sample source code here and get featured on our blogs! (Part II) . SFP007 by Glennium Please enter an integer from 1 to 3999; or ''Return'' to quit...
15 Dec 2014
Small Basic - December Challenges
Have a go at some of this month's Small Basic Challenges . Post your solutions. partial solutions, see what other come up with and discuss any methods etc on the forum site linked above. Small Challenges Write a program to find the square root of a number entered by a user. Write a program...
6 Dec 2014
Small Basic Featured Program - Solar System
Today's featured program is a great animated Solar System by a young Small Basic developer. In the words of his parent, " This program, developed by my 12 years old son, Adrian, provides a planet movement simulation, with an acurate rotation period simulation ". This is a screenshot of the prgram...
29 Nov 2014
Small Basic - Mouse Position
Mouse Position Methods There are 2 ways to get the position of the mouse cursor in Small Basic. gwX = GraphicsWindow . MouseX gwY = GraphicsWindow . MouseY mX = Mouse . MouseX mY = Mouse . MouseY GraphicsWindow.MouseX(Y) The GraphicsWindow variant gets the X and Y coordinates...
22 Nov 2014
Small Basic - Chart Extension
I added a chart object to the LitDev extension , LDChart. So far it just has a pie and doughnut variant. The C# extension source code is also available for download if you want to see how it is done or even modify to create your own. Sample Code GraphicsWindow . Width = 800 GraphicsWindow...
15 Nov 2014
Small Basic - November Challenges
Check out this month's Forum Challenges . Provide some answers, ideas or partial answers and see how others solve them. Happy Coding. Small Challenges Write a program using the While statement to read numbers from the user until they enter a number between 5 and 10 (inclusive). Write...
1 Nov 2014
Small Basic - WebCam Motion Detection
WebCam Extension There has been a webcam object in the LitDev extension ( LDWebCam ) for a while, and I recently updated it so it works on WIndows 8 as well as earlier versions of Windows. There are some effects like grayscale, snow, gamma, contrast, pixelate, fisheye, swirl etc. The effects can...
25 Oct 2014
Small Basic Featured Program - Boxing Game
Following on from NaochanON's shaddow boxing animation recently blogged , he has developed it further into a boxing game. You are the fighter on the left (gray with red gloves) with the computer player on the right (green with blue gloves). The keys to control your fighter are shown below. Left...
18 Oct 2014
Small Basic Challenges of the Month - October 2014
Ed Price - MSFT
Special thanks to LitDev, as always, for hosting these challenges for us! These challenges are intended for people who are learning to program for the first time or for those returning to programming who want to start using Small Basic. Some will be easy, some will be hard - but they will all make...
5 Oct 2014
Small Basic - Flood Fill
A recent Small Basic post about filling a region left by Turtle trails revived an old flood fill program I wrote a while ago. This is the forum thread, turtle small basic . And this is the program to flood fill regions. 'FloodFill example - for some theory see http://en.wikipedia.org/wiki...
27 Sep 2014
Small Basic Featured Program - Gravity Simulator
This is a Gravity Simulation by Zock77, the import code is FHS907. It includes self interaction between orbiting satellites - they attract each other. The gravitational force attracting objects is given by Newton. If the object masses are M and m and their separation is r, then the force of...
20 Sep 2014
Flags in Small Basic
A word flag has a meaning of a variable which contains a logical value. But today, I'd like to introduce flag graphics drawn with Small Basic. I found three threads in Small Basic forum about following 15 flags. Creating programs to draw flags may be good practices for graphics. How about adding your...
15 Sep 2014
Small Basic - GetSettingsFilePath
There are only 16 keywords and 20 objects in Small Basic, and I've been playing with Small Basic for a few years now and thought I was pretty familiar with them. I discovered one I have never used before following a post by Pappa Lapub in this forum thread Need help figuring out a way of showing score...
13 Sep 2014
Small Basic - Traffic Light Challenge
One of this month's forum challenges was to create a traffic light system. Graphics Challenge 2 Draw a traffic light that changes through the correct lighting sequence, perhaps using the Timer object. We have 2 great answers in, the first by Martin from Germany. And the second by NaochanOn...
6 Sep 2014
Small Basic Challenges for September - Traffic Light, Array from CSV, and a Stick Fighting Game!
Ed Price - MSFT
Special thanks to LitDev for hosting these challenges! These monthly challenges are intended for people who are learning to program for the first time or for those returning to programming who want to start using Small Basic. Some will be easy, some will be hard - but they will all make you think...
2 Sep 2014
Small Basic - Transparent GraphicsWindow
I recently added a feature to the LitDev Extension to create a completely transparent GraphicsWindow . The method to do this is: LDUtilities . TransparentGW ( ) I can't show a screenshot because there is absolutely nothing to see! So, what's the point... Well, anything we add to...
30 Aug 2014
Small Basic - Physics for Marionette Challenge
A 'Big ' Challenge for groups of programmers has been created by Nonki. We are recruiting during August for development in September. In summary the challenge is to create a marionette puppet in Small Basic, here is an extract of the challenge: "create a marionette (or puppet) per group which...
23 Aug 2014
Small Basic - TextWindow Cursor Positioning
We can write to the TextWindow using Write and WriteLine ; the WriteLine variant also adds a 'new line' to position the cursor at the start of the next line. There are 2 other TextWindow properties that can be used to control where the text is written, these are CursorLeft and CursorTop . Using these...
16 Aug 2014
Small Basic Challenges of the Month - August 2014
Ed Price - MSFT
These challenges are intended for people who are learning to program for the first time or for those returning to programming who want to start using Small Basic. Some will be easy, some will be hard - but they will all make you think, and more importantly be GREAT FUN! Please post your solutions...
9 Aug 2014
Small Basic Comments
Ed Price - MSFT
This is an excerpt from this great TechNet Wiki article: Small Basic: Programming Tips by litdev Comments A comment in Small Basic starts with an apostrophe ' and is highlighted in green. Anything after it is ignored to the end of the line. 'Calculate distance between objects distance...
6 Aug 2014
Small Basic - Controls are Shapes
All of the Controls (Buttons, TextBoxes etc) that can be created with the Controls object can be manipulated with the Shapes object methods. This can create some fun effects and make your games or programs more visually interesting. Here is a simple example - it is possible to click it, but pretty...
2 Aug 2014
Small Basic LitDev Extension -- Download Now from TechNet Gallery!!!
Ed Price - MSFT
Small Basic LitDev Extension View LitDev's TechNet Gallery contributions View LitDev's Profile Download the LitDev Extension : Small Basic LitDev Extension It has loads of extra functionality with over 40 new objects and over 700 methods, properties and events; including 2D physics...
29 Jul 2014
Small Basic - Clearing Turtle Trails
With the current version of Small Basic, the trails left by the turtle cannot be easily cleared. We may want to remove the trails because we are starting the turtle off again and want a clear screen or if the number of trails is very large the program will slow. One obvious option would be to do a...
26 Jul 2014
Small Basic Guru - June Winners: LitDev, Jibba Jabba, & Nonki Takahashi!!!
Ed Price - MSFT
Congrats to LitDev, Jibba Jabba, and Nonki! Great articles this month! Small Basic Technical Guru - June 2014 litdev Small Basic: Sprite Arrays Ed Price : "An important topic that's well described with fantastic examples! Great article!" Michiel...
24 Jul 2014
Small Basic - Triangle Challenge
One of this month's challenges was set by Nonki - "Draw a picture of a regular triangle" . Here are some of the solutions: By Athasak, QQK823 This answer was shown to not be an exact equilateral triangle by Nonki and have the side ratios below. Another by Athasak after some corrections...
19 Jul 2014
Page 1 of 4 (76 items)
© 2014 Microsoft Corporation.
Privacy & Cookies