Noob having problems with primitives display !!!

BlitzPlus Forums/BlitzPlus Beginners Area/Noob having problems with primitives display !!!

Trimer34(Posted 2010) [#1]
Hello everyone..

I've been copying - pasting code from the commands examples list and most of this code works fine.. but am having problems displaying graphics primitives.
I have to grab the GRAPHIC SCREEN BOX and shake it
a few seconds untill I get the image in the the GRAPHIC BOX..

example :

Graphics 800,600
Rect 100,100,200,200,1
WaitKey

The rectangle, circle. etc, would not show up untill I shake the screen box...

Please somebody help ..

Thanks in advance Milton..

Last edited 2010


Matty(Posted 2010) [#2]
You need a 'flip' statement to flip the backbuffer into view.


Trimer34(Posted 2010) [#3]
You need a 'flip' statement to flip the backbuffer into view.


Matty.

A bunch of thanks tou you. I appreciate the help bro..
is working now I was thinking that there might be something wrong with the video card .. jeje..