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: 997
» Latest member: BrianCal
» Forum threads: 232
» Forum posts: 2,318

Full Statistics

Online Users
There are currently 46 online users.
» 0 Member(s) | 44 Guest(s)
Baidu, Bing

Latest Threads
Small Basic as the "LEGO ...
Forum: Discussion
Last Post: litdev
08-17-2026, 11:06 AM
» Replies: 5
» Views: 118
I never thought this woul...
Forum: Discussion
Last Post: litdev
07-10-2026, 10:18 AM
» Replies: 1
» Views: 145
ListView issues by use LD...
Forum: Extensions
Last Post: martmen
06-11-2026, 09:46 AM
» Replies: 6
» Views: 576
I think that no more Smal...
Forum: Discussion
Last Post: eddylo
04-24-2026, 12:54 AM
» Replies: 2
» Views: 656
D'ont read a file
Forum: Standard Small Basic
Last Post: WhTurner
04-12-2026, 03:39 PM
» Replies: 1
» Views: 328
close a file
Forum: Standard Small Basic
Last Post: francesco
04-12-2026, 08:59 AM
» Replies: 2
» Views: 449
random in a array
Forum: Standard Small Basic
Last Post: francesco
04-05-2026, 06:40 PM
» Replies: 4
» Views: 757
Sqlite Version
Forum: Extensions
Last Post: Lester
03-24-2026, 06:58 PM
» Replies: 3
» Views: 589
Small Basic Explorer with...
Forum: Challenges
Last Post: martmen
03-17-2026, 03:48 PM
» Replies: 0
» Views: 291
Example Program
Forum: Extensions
Last Post: martmen
03-13-2026, 04:15 PM
» Replies: 0
» Views: 284

 
  LDBasic.FixFlickr issue
Posted by: AbsoluteBeginner - 07-08-2024, 05:21 PM - Forum: Extensions - Replies (3)

Why am I having such bad luck?  Huh

Line #6: LDBasic.FixFlickr() - Object "LDBasic" not found.
Compilation error.
I removed and reinstalled the extension from the SB-Prime Editor.

Help me again please.  Confused

EDIT LitDev - Split from https://litdev.uk/mybb/showthread.php?ti...827#pid827, referring to XXNS627.000 import

Print this item

  3D Programming in SB
Posted by: litdev - 07-08-2024, 09:29 AM - Forum: Discussion - Replies (12)

(07-07-2024, 06:22 PM)AbsoluteBeginner Wrote: I am surprised by the 3D capabilities of Small Basic that SB received from the LD extension.  Shy
It seems to me that if I see a few more such expressive examples of 3D applications, then I will also have different ideas so that I can test myself in 3D programming.  Rolleyes

To be honest, most of the effort writing this kind of thing is all the extra bits that make a game such as intro screen, scoring, levels, level editor (VLFW776.000-0), testing etc. 

There is also a bit of learning about the basics of 3D - You can see I just use squashed cubes and used spheres which are single commands in SB - you then build objects by having several of them (created and positioned in a for loop).  You need to understand the 3D coordinate system X,Y,Z how to position and point things like objects, lights and the camera and that's about it.

As I say, if you look at the code, the actual 3D stuff is minimal, the rest is just making a game around it.  I am very happy to help you guys get started with this (this is what I hope this forum can be for) - the process is to create small test programs to gain understanding first, just like with your AI game or ZS's extension - its step by step and the magic comes when you put all the little bits together!

Ideally, if a few of you are interested we can start at the beginning and work on 3D, physics or game design.  Otherwise I can only share bits of code occasionally which I don't think gets things so much further forward and may put people off.

How about a 'game of life' in 3D using Elzaimer's idea (https://litdev.uk/mybb/showthread.php?tid=95)?

Print this item

  LitDev Extension version 1.2.29.0
Posted by: litdev - 07-08-2024, 08:28 AM - Forum: Extensions - No Replies

LitDev Extension 1.2.29.0 released.

   

I am also changing the logic so the Extension Manager gets the beta version with minor version increment number.  Since most changes are small/additions which are unlikely to break anything and they are most likely being used in new code.

The main website (and github) version will remain the major version updates and be the only ones with all the extra samples etc, updated once in a while.

So the latest EM beta is now 1.2.29.1.

Print this item

  ZS Extension.
Posted by: z-s - 07-02-2024, 07:44 AM - Forum: Extensions - Replies (109)

Here Is Updated Version Of ZS Extension.
https://www.mediafire.com/file/ajkt2dsma...S.zip/file

Print this item

  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