Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

sb2cpp - Make some stuff with Small Basic!

A topic by pixelomer created May 18, 2023 Views: 161 Replies: 2
Viewing posts 1 to 2
Submitted (1 edit)

sb2cpp is the tool I made for Tool Jam 3. It is a compiler for Microsoft's Small Basic programming language and it works on Windows, macOS and Linux. However, it is still most likely full of inconsistencies and bugs. If you have the time, please give it a try and let me know if you find something that doesn't quite match the behaviour on the the official Small Basic documentation. While doing so, you could also make a small game with it! If you do so, please share its code here. I'm sure everyone would love to see it :)

(Although it would be great if your game worked with sb2cpp, you can also share a game you made with the official IDE.)

Submitted (1 edit)

There are no "download" or "run" buttons.
And the topic is very interesting. I write almost everything I write in basic, only it's VB6. My works for this and the previous contests are written on it.

Potentially, I would be interested in a compiler for new platforms.

Submitted

Since the code is constantly changing, I didn't upload a compiled binary to itch.io. You need a working C++ compiler to use the tool anyway, so I thought it made more sense to let the users compile the tool. You can find build instructions on sb2cpp's GitHub page.

I made this tool solely because it seemed like a fun project to work on. Small Basic is a very simple language mainly made as a way to get children interested in programming, so this tool doesn't really solve any real world problem. Furthermore, although I have never used Visual Basic myself, I assume Small Basic is nowhere near as powerful or complex as Visual Basic. However, Visual Basic does seem to be supported by Mono, a widely used cross platform implementation of the .NET framework. You should check it out if you want to port your Visual Basic games to other platforms.