Search found 652 matches

by bluatigro
May 03, 2012 8:58
Forum: Windows
Topic: win32 + opengl ?
Replies: 3
Views: 527

win32 + opengl ?

this is a try at win32 + opengl i shoot get a blue blank screen [ the blue is only there to see if opengl is started right ] #include once "windows.bi" #include once "GL/gl.bi" #include once "GL/glu.bi" declare function WinMain ( byval hInstance as HINSTANCE, _ byval hP...
by bluatigro
May 03, 2012 8:49
Forum: Windows
Topic: gdi problem
Replies: 4
Views: 600

gdi problem

i have 2 questions : -1: why dont i get a blank screen ? -2: how do i lose the blue bar at the top #include once "windows.bi" dim shared as integer key( 255 ) dim shared as integer mouse_x dim shared as integer mouse_y dim shared as integer mouse_left dim shared as integer mouse_right dim ...
by bluatigro
Apr 29, 2012 17:34
Forum: Beginners
Topic: maze creation
Replies: 2
Views: 319

maze creation

i want to create a maze at random i have this : const as integer maxx = 10 const as integer maxy = 10 dim shared as integer maze( maxx , maxy ) dim as integer x , y for x = 0 to maxx for y = 0 to maxy maze( x , y ) = not 0 if x mod 2 and y mod 2 then maze( x , y ) = 0 next y next x ''createmaze for ...
by bluatigro
Apr 29, 2012 17:21
Forum: Beginners
Topic: how to do a child class ?
Replies: 6
Views: 707

Re: how to do a child class ?

thans for help

due to my eye problems i have difficultys whit searching
by bluatigro
Apr 29, 2012 17:11
Forum: Beginners
Topic: sub savescreenasbmp( file as string ) ?
Replies: 12
Views: 591

Re: sub savescreenasbmp( file as string ) ?

i want to store the screen as *.bmp on disc

i m planning animations of more than 1000 bmp's

so i cant use bsave

whit a array of bmp's on disc i can create avi's

on the moment i m creating simple games / animations whit opengl + fb
by bluatigro
Apr 28, 2012 10:15
Forum: Beginners
Topic: sub savescreenasbmp( file as string ) ?
Replies: 12
Views: 591

sub savescreenasbmp( file as string ) ?

i want to create animations whit FB

i aready know how to do graphics

what i need to store the pictures is a

savescreenasbmp( file as string ) sub

how ?
by bluatigro
Apr 28, 2012 10:08
Forum: Beginners
Topic: how to do a child class ?
Replies: 6
Views: 707

how to do a child class ?

i do know how to do this in c++ but now in free basic : type ta dim i as intrger declare constructor() declare constructor( n as integer ) end type constructor ta() this.i = 0 end constructor constructor ta( n as integer ) this.i = n end constructor type tb ''child of ta ? declare constructor() decl...

Go to advanced search