2D Drawing on Screen!?

Advanced game related topics
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by MrVainSCL.

First a big hello to all PB users. I'm a newbie and want to code my first game in pb :wink:

I am planing to code a small game on a 640 x 480 x 16 screen... I still have some problems and i don´t know how to fix them... How can i draw anything using the 2D-DrawLib commands on a screen? Is there something like "DrawingOutput(ScreenID())"?? Thanks for any idea and help... "Mr.Vain of Secretly!" - Thorsten


;---- Some 2D graphics functions... ----

DrawingOutput(WindowID()) ; -> Draw on a window... but how to draw on a screen? :wink:
FrontColour(0,0,255) ; blue
Circle(100,100,50)

FrontColour(255,0,0) ; red
Box(150,150,20,20)



MrVainSCL!
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Right, the answer is: you can't. Anyway, I've already fixed this stuff and now all 2D drawing function can be used on a double-buffer screen. For the next release... Should be coming soon. Just some ODBC fixes and it will go :)



Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by tranquil.

ODBC-WHAT?? Whats that? please speak DAU-Friendly to my silly cousin. :)))

Greetz!

Mike

Tranquilizer/ Secretly!
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

tranquil,
ODBC named as OpenDataBaseConnectivity.
in other words: you can connect your app to a Database like Dbase,Excel,Access,MYSQL etc.
And ODBC is a standard word
And what to hell is DAU-Friendly ?

Siggi
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by tranquil.

A DAU, very hard to explain in my bad english, is the silliest user you can suggest. DAU stands for "Dämlichster Anznehmender User" (German). Often used in Chatrooms. :)

Tranquilizer/ Secretly!
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

habs verstanden !(Sorry words in plain german )

Siggi
Post Reply