Game Programming Help for Beginners!
Home Need Help? Start here!
Questions and Answers
Get Exclusive Stuff!
Email Newsletter

How does CLS work in smileBASIC?


The smileBASIC command CLS is used to clear graphics on the console screen. If your game is text based and uses the black console screen for the input and text, use the CLS command to clear the screen. This works well with text-based games!

Here is an example of the command:


The above code will clear the console screen. Explore and see what you can do!

Page updated: January 12th, 2015 @ 5:21 AM Eastern Time

Game Making Tutorials
Find tutorials about your favorite game creation software! Use the navigation below!

Game Maker: Studio
Help, References, and Tutorials
RPG Maker Fes
Help, References, and Tutorials
Help, References, and Tutorials

Download Books
Search Downloadable Books from

Home Questions and Answers Email Newsletter
Watch our YouTube channel Read our Twitter feed
Content and Design © 2012-2023 All Rights Reserved. | Privacy Policy | Terms of Service
All Copyrights and Trademarks of mentioned products are copyrights and trademarks of their respective owners.

As an Amazon Associate and Affiliate, Breakthrough Gaming LLC earns a commission on qualifying purchases from and through our website. Thank you for your purchases!

Our other websites: