Sometimes, you need to just separate one thing from another, want some sort of pop-up window, or want a nice looking frame for the menu on your game. Well, here's some ways on how to do just that.
- The Pen tool helps you to make lines that are continuous. Good to use if you don't want to repeatedly use the Line( command
- The Line( command allows you to draw straight lines on the graphscreen
- Horizontal and Vertical
- The Circle( command allows you to draw a circle at a specified point.
- The POINTS commands
Full Screen Windows
When you need to put your game or program in some sort of "frame," then you need to decide what you are going to use it for. If you want to have something that looks very professional, and have it still look simple, here is one way to do that:
If you want a window for a game, say one that is supposed to look medieval, then this might be an appropriate window:
You just have to experiment with what window looks good and what would work with your game/program.
Pop up windows are a great way to show the user some sort of information. For example, if you have made a game that uses the list "GAME", then you can put a pop-up menu using RecallPic if the dimensions of the list is 0 (meaning that the user hasn't played your game before).
Setupeditor GAME If dim(GAME)=0:Then RecallPic 1 //You can replace "1" with any other picture variable End
Here is a picture of a popup menu like that:
Game screenIf you want a game screen to show your game statistics like health, money, number of battles, current level, or your character name, then you could use a layout screen for a game. Let's use the medieval screen from above.
As stated previously, you can call your windows in a program with the RecallPic command. For more information on how to make windows/the graphscreen, you can look at the Advanced Graphics section of the TI-Basic Starter Kit (specifically here).
You can create your own window if you want, but these are some suggestions.