Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 30 online users. » 2 Member(s) | 26 Guest(s) Applebot, Bing, Daviddot, KennethInave
|
Latest Threads |
TCP/IP Socket Programming
Forum: Extensions
Last Post: AbsoluteBeginner
9 hours ago
» Replies: 3
» Views: 61
|
LDCommPort
Forum: Extensions
Last Post: Eddie
07-14-2025, 01:22 PM
» Replies: 8
» Views: 109
|
Creation of SB-Neuron. Ou...
Forum: Discussion
Last Post: AbsoluteBeginner
07-09-2025, 07:21 AM
» Replies: 105
» Views: 12,059
|
I finished making my web-...
Forum: Standard Small Basic
Last Post: sm4llprogrammer2008
07-04-2025, 05:04 PM
» Replies: 0
» Views: 33
|
Diving into Z-S's SB.js w...
Forum: Standard Small Basic
Last Post: sm4llprogrammer2008
06-26-2025, 05:23 PM
» Replies: 2
» Views: 103
|
SBJS coming soon
Forum: Standard Small Basic
Last Post: sm4llprogrammer2008
06-25-2025, 01:54 PM
» Replies: 2
» Views: 80
|
Google Search Terminal SB...
Forum: Standard Small Basic
Last Post: sm4llprogrammer2008
06-24-2025, 01:27 PM
» Replies: 0
» Views: 39
|
Google Search Terminal SB...
Forum: Standard Small Basic
Last Post: z-s
06-24-2025, 03:46 AM
» Replies: 1
» Views: 50
|
Google Search Terminal SB...
Forum: Standard Small Basic
Last Post: sm4llprogrammer2008
06-23-2025, 09:47 PM
» Replies: 0
» Views: 36
|
Replace Small Basic?
Forum: Discussion
Last Post: z-s
06-23-2025, 09:37 AM
» Replies: 12
» Views: 301
|
|
|
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.
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. 
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)?
|
|
|
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)
|
|
|
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
|
|
|
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 
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
|
|
|
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.
|
|
|
|