jack
New Member
Posts: 9
|
Post by jack on Aug 31, 2015 2:02:16 GMT -6
I would like to draw a text on a screen. I follow the documentation. When I compile the source, all is OK, but it crashes when running.
Here is my source.
WindowOpen ( 0,"my window", 198, 114, 285, 270, 1) Window ( 0) ScreenOpen ( 0, 285, 270, 0, 0, 285, 270, 0) Screen ( 0)
DrawText ("my text", 10, 10, 16, 0)
While Inkey()<>27 update() wait(10) wend
|
|
|
Post by n00b on Aug 31, 2015 3:28:47 GMT -6
You have to use the SetFont() function to set the true type font used for drawing. Later today I will post some graphics examples in the forum. Also for now just use window mode. There is a problem with the FullscreenWindow() function. I am already working on it. Check the announcements regularly because I will be releasing an update soon.
|
|