Small Basic

The Official Blog of Small Basic

Browse by Tags

Tagged Content List
  • Blog Post: Event Basics - Small Basic Featured Article

    Today we're going to look at an incredibly helpful TechNet Wiki article from litdev : Small Basic: Event Basics LitDev takes us through a very thorough look at Events in Small Basic. The article is made up of four sections: What is an Event How Events Work Using a Game Loop ...
  • Blog Post: Small Basic Challenges - April 2015

    These challenges come from litdev and 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...
  • Blog Post: Battleship Games - Small Basic Featured Programs

    In the March Challenges , litdev included this challenge: Game Challenge Write a battleships game. You will need to consider how it will work with 2 players or play against the computer. Yan Grenier completed his game on 3/21: Hi all, This my solution for the Battleship...
  • Blog Post: Small Basic Challenges of the Month - March 2015

    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...
  • Blog Post: Spirograph in Small Basic

    Have you played with Spirograph before? I loved this toy and played with it well when I was a child. Challenge of the Month - March 2015 has a challenge to draw a Spirograph with Small Basic. Graphics Challenge Write a program to draw a spriagraph picture. It's very interesting that...
  • Blog Post: Small Basic Monthly Challenges (February 2015) - File Listing, Gravity Missiles, 2048, Icon Editor, MP3 Size Calculator, and Hangman!!!

    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...
  • Blog Post: Turtle Maze Challenge

    One of January's challenges was to create a maze to be solved using the Turtle: Game Challenge Write a maze game that is navigated by the turtle, using arrow keys. Perhaps add a timer to see how quickly the player can navigate the maze. The trickiest bit will be preventing the turtle cross...
  • Blog Post: New Year Challenges

    Happy New Year and welcome to another set of monly challenges for Small Basic, Challenge of the Month - January 2015 . Small Challenge Write a TextWindow program to read in some numbers from a user. It continues to read them in until the user enters something that isn't a number. When a set...
  • Blog Post: Merry Christmas

    Merry Christmas! http://smallbasic.com/program/?NGP714
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: Small Basic Challenges of the Month - October 2014

    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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: Small Basic Challenges for September - Traffic Light, Array from CSV, and a Stick Fighting Game!

    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...
  • Blog Post: 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...
Page 1 of 4 (85 items) 1234