Question:
How does CLS work in smileBASIC?


Answer:

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:

CLS

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
smileBASIC
Help, References, and Tutorials

Need Help?
Search answers to game development questions or ask a question yourself
Get exclusive updates from ExecuteCode.com!
Join the Email List
Download Books
Search Downloadable Books from ExecuteCode.com
Copyright 2010-2018 ExecuteCode.com.
All Rights Reserved.