123 Calculator and Christmas Tree Turtle

123 Calculator & Christmas Tree Turtle It kind of rhymes and certainly repeats. Once again Bluegrams has packed and shipped us 2 ace programs. The rhythm is that all of Bluegrams programs are well written with readable code, robust and presented nicely. This package is diverse. One is a functioning feature rich standard calculator posted…

6

Multi-Language Programming in Small Basic

I’d like to introduce three multi-language programs for answering a forum thread: How i can add multi language program ? asked by MehmetTR. The first one is the easiest TextWindow sample.  The array msg is for multi-language texts.  You can get nth text as msg[n][lang], while lang is a language id.  I used ISO 639-1 language code…

4

Featured Games: Small Block Builder & Triple Six!

Today’s blog features 2 awesome games coded by Bluegrams. You can download the games from these 2 links: Small Block Builder  &  Triple Six! I’ve just played both these games and the game play is spot on and the GUI’s leave nothing to the imagination. Bluegrams helps the user drill straight into the game play…

5

Small Basic Featured Program - A crazy way to draw a clown

In our September Small Basic Challenges, LitDev offered this challenge: Graphics Challenge Draw a picture of a clown Jibba Jabba posted this solution: Here’s my browser solution for Clown drawing: Click me Import ID: LDD298-1 I scanned the image, parsed the pixel XY’s into Line draws then embedded the data. Great for simple solid color…

6

Pendulum Sim - Small Basic Featured Program

In the September challenges,  LitDev presented us with a…   Physics Challenge Animate a physically realistic pendulum Try to get its period correct for the scale length of the swing See here or  many other sites on this topic      Jibba Jabba rose to the challenge: http://smallbasic.com/program/?ZSP744-0     Check it out!   Here’s the text book that…

4

Turtle Maze versus Hangman - a case for seamless sharing.

A lot of Small Basic programs use “Assets” in order to work, e.g. images, sound and text files. Key to Small Basic’s effectiveness is our ability to share code and programs. At present the sharing of code is seamless but the sharing of programs may not be. To demonstrate the difference I use the 2…

10

Slot Machines - Small Basic Featured Program

In LitDev’s April Challenges: https://social.msdn.microsoft.com/Forums/en-US/3b975ffc-cbfd-407c-ab95-74912e57c65d/challenge-of-the-month-april-2015?forum=smallbasic   We had the… Game Challenge Write a slot machine game – pull the handle, spin the wheels and win win win.     Jibba Jabba submitted this beauty: Here’s my Slot Machine solution: JPT105  It uses some .au sound files so these may not run on some pc’s.   You…


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 maze boundaries…

5

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 of the mouse cursor relative to the top left corner of the GraphicsWindow.  These…

2

Small Basic Guru - June Winners: LitDev, Jibba Jabba, & Nonki Takahashi!!!

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 Van Hoorn: “Great starter for Sprite Fundamentals and how to handle them. Briljant start point for greating you 2D shooter”…

1