We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 837
» Latest member: Ascentszx
» Forum threads: 218
» Forum posts: 2,253

Full Statistics

Online Users
There are currently 30 online users.
» 1 Member(s) | 28 Guest(s)
Google, KennethFem

Latest Threads
ZScript
Forum: Discussion
Last Post: z-s
01-22-2026, 03:31 AM
» Replies: 0
» Views: 24
I think that no more Smal...
Forum: Discussion
Last Post: eddylo
01-20-2026, 11:02 PM
» Replies: 0
» Views: 21
Small Basic Coder-A New G...
Forum: Discussion
Last Post: AbsoluteBeginner
01-17-2026, 07:57 PM
» Replies: 1
» Views: 416
ZS Small Basic Coder GPT.
Forum: Discussion
Last Post: z-s
01-13-2026, 03:32 AM
» Replies: 4
» Views: 133
3D maze in browser contro...
Forum: Discussion
Last Post: stevantosic
01-08-2026, 12:51 PM
» Replies: 128
» Views: 33,317
ZS Extension.
Forum: Extensions
Last Post: AbsoluteBeginner
01-04-2026, 02:50 PM
» Replies: 109
» Views: 28,295
Happy New Year!
Forum: Discussion
Last Post: AbsoluteBeginner
12-31-2025, 10:08 AM
» Replies: 0
» Views: 71
Six different 8-bit emula...
Forum: Discussion
Last Post: stevantosic
12-28-2025, 06:02 PM
» Replies: 2
» Views: 87
Challenge-Command Line GW
Forum: Challenges
Last Post: WhTurner
12-22-2025, 06:24 PM
» Replies: 7
» Views: 2,263
Google Search Terminal SB...
Forum: Standard Small Basic
Last Post: z-s
12-17-2025, 09:09 AM
» Replies: 1
» Views: 337

 
  ZSCmd Extension
Posted by: z-s - 07-01-2024, 09:35 AM - Forum: Extensions - Replies (3)

I Made A Small Extension For SmallBasic In SharpDevelop As My First Extension In CSharp.
It Is ZSCmd Contain Only One Method For Execute Of Any Cmd Command.
Here You Can Download It : https://www.mediafire.com/file/ftwbu27mv...d.zip/file
I Will Be Very Grateful To Litdev If This Extension Will Be Added In Extension Manager.
Here Is Sample Code To Try

Code:
result = ZSCmd.Execute("dir")
TextWindow.WriteLine(result)

Print this item

  Is it possible to run a SB program on an internet navigator ?
Posted by: Elzaimer - 06-30-2024, 08:41 PM - Forum: Standard Small Basic - Replies (2)

I don't think it is possible but... can I use a SB BASIC program, such as my Concentration test, on a navigator such as Chrome ? 

I have seen on the "Publish" button that we can install Microsoft Silverlight. 
It is to be able to execute à SB program on a navigator ?

Even more, would it be possible on Chrome or Safari on a smartphone ?

Thanks

Print this item

  Interesting projects which are related to MS Small Basic on Itch!
Posted by: eddylo - 06-29-2024, 06:55 PM - Forum: Discussion - No Replies

Smile Hello,

Several interesting projects about MS Small Basic which I discovered on itch.

https://pixelomer.itch.io/sb2cpp

https://dottygame.itch.io/fruitos

https://ratrogue.itch.io/terrobot

https://joe7m.itch.io/asteroids-for-smallbasic

https://ef5tornado11.itch.io/smallbasic-tetris

https://ratrogue.itch.io/games-for-rats

https://magnus-froelund.itch.io/1943
Blush

Print this item

Lightbulb ZSDesk
Posted by: z-s - 06-27-2024, 03:28 PM - Forum: Discussion - No Replies

So Many Projects Working In Our Community So I Started A New Project.
ZSDesk
In This Project I Am Using LDClient And LDServer To Control Graphic Window On Another Computer From Another Computer So That Friends Can Write On Each Other Screen , Draw Text , Add Buttons.
But Everyone Will Have Their Own Code To Communicate (Basically IP : Port of Server).
I Will Soon Provide First Version Of The Program.
I Named This Project ZSDesk (A Small Competitor Of Anydesk).
Any Ideas Are Welcome Smile


I Made first Version With Only One Function DrawBoundText On Client Try It.
Send This Input From Server : GW.DrawBoundText,x-position,y-position,width,text
Example : GW.DrawBoundText,0,0,100,HII SB
Client : JFBB226.000
Server : SSWQ838.000

Print this item

  LIFE GAME : How to optimise/speed up ?
Posted by: Elzaimer - 06-27-2024, 02:09 PM - Forum: Standard Small Basic - Replies (6)

Hello, it's me again Smile

I try to improve my level, so I began another SB project : a life game (NVCV425.000)
I would like to know how to make it run faster, as with big grids it becomes very slow.


For exemple, is there a faster way to display the living cells than using GraphicsWindow.FillRectangle ?


My only idea at this moment to make it a little faster is to merge these 2 Subs (because they can be done in the same loop) :
Sub AffichageTableau               ' displays current Gen grid
Sub CreationTableau_NextGen  '  create nextGen grid

If you have any idea...  Wink

Print this item

  LDPhysics platform game
Posted by: litdev - 06-27-2024, 11:59 AM - Forum: Challenges - Replies (15)

I'm going to have a go at a LDPhysics based game - I've never actually written a whole game using this, only demos, so fancy having a go.  I liked the approach AbsoluteBegginer took sharing the stages of his development of AI game so plan to do the same here.  LDPhysics uses the Box2D physics engine (as was used for Angry Birds and many other physics based games) and is very powerful, but does need a bit of physics knowledge.  When I added it to LD extension I wrote some documentation for it that you can see here.

I plan the game to be based on a platform system with some main game goal, with a player that can find stuff to help like bombs, arrows to shoot ropes to climb etc.  The player will pick things with left mouse and action things with right mouse button and move with arrow keys.  The physics engine works best with things happen roughly on the scale of 1m, which by default is set to 10 pixels.  Initially I will stick with this and make the game area 1000x800 pixels which corresponds to 100x80 m.  I will make my player 10*25 pixels which is quite small, but see how I get on.

The first challenge is to move the player nicely.  InBox2D you don't generally set position and velocity, you interact through forces, impulses and rotational torques.  This is so the player interacts nicely with the physics world and doesn't just 'teleport' about, get hit by things and can fall off ledges etc.  This may be be tricky, I haven't tried this so will see how it works out.

I will start with a blank game template - NJVR762.000 and will post as it develops - any ideas/suggestions along the way very welcome.

Print this item

  What command should I use to make my program pause until the user presses a key?
Posted by: Elzaimer - 06-24-2024, 09:18 AM - Forum: Standard Small Basic - Replies (21)

Hello everyone,

I'm new on this Forum and also new to programming...

I'm trying to code a test to assess the ability to concentrate (https://smallbasic.com/program/?RKCP997.000) but I'm encountering a problem.
This is how it should work:
A letter appears on the screen for 0.5 seconds then it disappears.
You have to memorize it.
Then 4 random letters appear and you must press as quickly as possible on the "Left" key if the original letter is absent and on the "Right" key if it is present.

So far my code works.

But this test should be repeated for 2 minutes, and at the end the number of errors and the average reaction time should be displayed.
But when I make a loop (lines 13 and 38 in my program), the program loops without waiting for the user to press LEFT or RIGHT.
What command should I use to make it pause until the user presses a key?

Thanks for your help ! Smile

Print this item

Exclamation Microsoft Small Basic User Questionair
Posted by: litdev - 06-23-2024, 12:43 PM - Forum: Discussion - Replies (13)

Update

   

Hey
Guests please take a moment to complete a small survey about Small Basic.

Follow the link below.


***** Questionair *****

Original Post

I am thinking about creating a questionair to try to get feedback from SB users out there that are not currently engaged.

I want it to be completely annonymous with results fully shared.  Using Google Forms, respondants do need to be logged in with a Google account, although their details are not recorded.  Any opinions welcome on this.

I want it to be fairly short - here it is at the moment in link below.  At this stage I am looking for ideas or suggestions for the questionair rather than replies to it.

Once we have a form that asks what what we want and has the right tone we can try to advertise it a bit.

Questionair

EDIT

Thanks for feed back - updating with your thoughts...

We know Facebook group has 1500 members and only a couple active contributors.  We can also see that programs published there only get a handful of imports, sometimes none.  On this forum we currently have 34 members and only a few regularly active, but most of the time there are more than 10 guests viewing.

My main question is: Are there a large number of users out there or not, and if there is why isn't there more engagement - as a comminity what are we not doing or doing wrong?

Print this item

  LitDev Version 1.2.28.0
Posted by: litdev - 06-21-2024, 09:07 AM - Forum: Extensions - Replies (4)

   

And a 3D roller coaster example using new cubic spline method, WPHM84.000, import, uncomment File commands and save somewhere.  Needs internet first time run to download a couple images.

   

Print this item

  Small Basic Online
Posted by: z-s - 06-15-2024, 04:25 AM - Forum: Standard Small Basic - Replies (1)

This One Was A Good GUI Of Small Basic Online Give It A Try Smile
CLICK HERE

Print this item