How do I launch graphics samples from the command line? #234
                  
                    
                      JudgeGroovyman
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment 2 replies
-
| You have several version of SmallBASIC: 
 sbasicg (SDL2-version) can be run from command line and will then open a window on the desktop:  | 
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
What command line options do I use to launch the graphics samples
SmallBASIC/samples/distro-examples/graphicsfrom the command line?Some Background
I have sbasic installed and it runs some of the text games in the samples
SmallBASIC/samples/distro-examples/gamesbut I can't get any of the graphical demos to run from the command line?What I tried
I was able to run a few of them with sbasici but its crashing now so I want to rely on the command line.
I looked in the docs with no luck but please lmk if I missed the key documentation about this.
I also saw the output of sbasic -h and tried some of that don't know what any of it means or how to use it to launch these programs.
sbasic 3dtorus.basnothing happened. When I ransbasic -v 3dtorus.basI got this output 3dtorus.bas.error.txtsbasic ball.bassimilar story. When I ran it with -v I got this output (which is very similar to 3dtorus.bas output) ball.bas.error.txtsbasic plasma.basdoes nothingsbasic maze.basjust outputs a zerosbasic Fractal_Tree.basdoes nothingsbasic Colors.basdoes nothing and i have to ctrl-cnone of the programs in that folder have run at all so I must be doing something wrong.
What I am running
This is my sbasic version:
SmallBASIC version 12.27 Console Unix_64 Thu, 31 Oct 2024 - use -h for helpI'm on M1 macbook air 2020 Sonoma 14.5 with 16GB ram and ~8GB free space
Beta Was this translation helpful? Give feedback.
All reactions