Small Basic

The Official Blog of Small Basic

Browse by Tags

Tagged Content List
  • Blog Post: Small Basic Game Programming - Game Math

    Once I wrote a series of blog posts about game programming in Small Basic. Today, I'd like to add one more post about game math. In this article, I'll talk about following Math operations. Random Number Remainder Trigonometric Functions Math for Kinetics (Dynamics) Math for Collision...
  • Blog Post: Unassigned Variables: X = 0? (Small Basic Featured Thread)

    Small Basic handles unassigned variables as equal to zero. The idea is that variables are always available. Let's look at this thread from the Small Basic Forum: https://social.msdn.microsoft.com/Forums/en-US/9aa087df-c0da-418b-95ac-ed399b2fb9e5/initialization-issue SeyfiD started the thread...
  • Blog Post: Microsoft Small Basic Guru Awards - June 2015 Winners!!!

    You can find all the TechNet Guru Awards here: The Microsoft TechNet Guru Awards! (June 2015) Let's look at the Small Basic contributions! Small Basic Technical Guru - June 2015 CodingCat Find - Small Basic's Search Feature and its Importance to...
  • Blog Post: Napier's Constant E for Small Basic

    Do you know Napier’s constant e ? The e is also known as the base of the natural logarithm. In the Challenge of the Month – July 2015 , I suggested following challenge: Community Suggestion (By Nonki) Calculate Napier's constant e (the base of the natural logarithm). ...
  • Blog Post: Small Basic - About Math.Remainder

    I think you know about Math.Remainder operation of Small Basic. But the detail seems not so popular. Usually, this function is used for natural numbers. But it can be used for such as negative numbers or decimal numbers. Small Basic doesn't have Math.Int operation. But old BASIC and some other...
  • Blog Post: Using Command Line Arguments - Updated

    In this blog, Vijaye Raji wrote about arguments in Small Basic v0.1 (to v0.5). But from v0.6, the interface has been changed. So I will rewrite his article for current version of Small Basic. The Program object in the standard library allows you to work with Command Line Arguments from inside a...
  • Blog Post: jadamelio’s Weekly Article Feature - Optimization

    Whether you are programming a video game, simulation or any other program where time and performance is important, optimizing your code is critical. Since Small Basic(Without the LitDev extension) has only a handful of streamlined tools, optimization is all about knowing the nuances in your code. I introduce...
  • Blog Post: Small Quest Revealed - Small Basic Featured Program

    I introduced this project in a former blog post . Today I will write about the alpha (demo) version of Small Quest - a text base adventure game. This project is run by PhilipRocker and me. Small Quest is a game written in Small Basic. And is developed via CodePlex . The latest version can...
  • Blog Post: Small Basic Featured Article - All about the Turtle!

    Enter the Turtle! I love this new Wiki article from Nonki: Small Basic: Turtle Not only does it have code... Turtle . Show ( ) And an image... And a LOT of information about the Turtle object! What really makes it great, is that you'll find these different sections in it...
  • Blog Post: Small Basic Encyclopedia

    I think TechNet Wiki is a Small Basic Encyclopedia. In TechNet Wiki, now we have more than 300 articles about Small Basic . Following list contains about Small Basic objects. Title object names are also linked to Small Basic Reference Documents in TechNet Wiki. Array Small Basic الوثائق...
  • Blog Post: The Hex Colors in Small Basic

    This is a featured TechNet Wiki article from Nonki: Small Basic Getting Started Guide: Appendix B: Colors You can set colors in Small Basic 3 ways: Using pre-defined color names (e.g. GraphicsWindow.BrushColor = "Red" ) Using a Hex value code (e.g. GraphicsWindows.BrushColor = "#FF0000...
  • Blog Post: Small Basic Guru Awards - May 2015 Winners!

    All the votes are in! And below are the results for the Small Basic Guru Awards, May 2015 !!!! See all the TechNet Guru Awards Winners: The Microsoft TechNet Guru Awards! (May 2015) Small Basic Technical Guru - May 2015 Ezra94 Small...
  • Blog Post: Small Basic - Limits of Literals

    I found three types of limits about numeric literals in Small Basic. Following explanation is about positive numbers, but negative numbers have the similar limits. Rounded Numeric literal larger than 10 15 will be rounded at substitution. In following code, the second one is rounded. But the third...
  • Blog Post: Small Basic Featured Article - How to Remove Goto Statements

    You can argue, why have them in the first place? Well, maybe it's someone else's code, or you were learning with Goto statements, and you want to stop using them now. Or maybe it wasn't too bad, but your program got huge and it's time to get away from spaghetti code. Whatever the reason, you...
  • Blog Post: Draw Curve in Small Basic

    Small Basic doesn't have operations to draw curve. But you can easily to draw a Bezier curve. Today I'd like to show how to draw quadratic Bezier curve in Small Basic. Quadratic Bezier curve needs three control points. Click three control points with my demo program KJG712 . Then you can get drawing...
  • Blog Post: Dragon Versus Turtle - Small Basic Featured Game by Nonki

    Here is the latest version of the game: HMP803-5 Move mouse to rotate Turtle Click to throw a star targeting Dragon's head You can throw 10 stars at a time This game comes from Small Basic Community Council member, Nonki Takahashi . Website : nonkit.com/en/ ...
  • Blog Post: A BASIC Emulator - Small Basic Featured Program

    Today, I'd like to introduce a ZX Spectrum Emulator written in Small Basic by Tryhest. The ZX Spectrum is an 8-bit personal home computer released in the United Kingdom in 1982. This program is introduced in following thread in Small Basic forum. small basic graphic and animations and more ...
  • Blog Post: Small Basic - File Tips

    Today I will introduce some tips about File object in Small Basic. File.LastError Have you ever used File.LastError? Following program is a sample using File.LastError. File.LastError property contains file error message from Windows system. Following is a sample code. GetPath ( ) While...
  • Blog Post: Small Basic - New Line

    Today I'd like to introduce about new line (line break) codes of a multi-line text in Small Basic. There are three types of new line codes. CR+LF : used in Windows, MS-DOS CR (carriage return) : used in some cases LF (line feed) : used in Unix, Mac OS X Those codes can be defined...
  • Blog Post: Optimizing - Small Basic Featured Thread

    Today, I'd like to introduce a Small Basic forum thread about Optimizing written by Ezra94 . The following excerpt piqued my interest . . . . INTERVIEWER: How do you decide on the trade-offs between speed and performance? GATES: Sometimes it’s a trade-off between adding features...
  • Blog Post: Small Basic: My Ongoing Projects

    Today, I'd like to introduce my ongoing Small Basic projects. Some of the projects have beta programs and some have only plans. 1. Another Turtle Graphics https://social.msdn.microsoft.com/Forums/en-US/4d730151-8ecb-493e-9c76-8bede94e3cf0/another-turtle-graphics?forum=smallbasic This project...
  • Blog Post: Kinect for Small Basic Quick Review

    Today I will write a quick review about Kinect for Small Basic. At first, I bought Xbox One Kinect Sensor and Kinect Adapter for Windows from Microsoft Store online. And I installed software for them along with instruction in a blog post "Kinect to Small Basic" in the CODING4FUN blog. I shared...
  • Blog Post: Advanced Turtle Graphics - Small Basic Featured Program

    Today I will introduce an extended version of Turtle Graphics program written by qwx. This program is announced as comments in my blog post last week. Qwx's program was DMX970. Updated points from my XVK119-3 were: Shortened commands Colors Main repeat loop must be in the first line ...
  • Blog Post: Turtle Graphics - Small Basic Featured Program

    Today I will introduce my Turtle Graphics program written in Small Basic. This project was started in a forum thread "Another Turtle Graphics" on March 21, 2014. This project aimed to create a programming environment used before Small Basic. But the development of this Turtle Graphics program has...
  • Blog Post: Roulette - Small Basic Featured Program

    Today I'd like to introduce my Roulette program LNM164-3 . This is Roulette version 0.3b. I wrote previous version of this program for the Challenge of the Month - June 2013 . Today I rewrote this program to add ball animation. Have fun!
Page 1 of 6 (140 items) 12345»