Search found 613 matches

by bluatigro
Jan 28, 2020 13:02
Forum: Hardware Interfaces / Communication
Topic: arduino ?
Replies: 3
Views: 90

arduino ?

is there anyone here who has done
arduino control whit FB ?
by bluatigro
Jan 28, 2020 12:58
Forum: General
Topic: OPENGL NEHE EXAMPLES
Replies: 12
Views: 377

Re: OPENGL NEHE EXAMPLES

update : try at alpha channel error : alpha channel not working '' BLUATIGRO 27 JAN 2020 '' openGL texture example #include "fbgfx.bi" #if __FB_LANG__ = "fb" Using FB #endif const as single pi = atn( 1 ) * 4 const as single golden_ratio = ( sqr( 5 ) - 1 ) / 2 #include once "...
by bluatigro
Jan 27, 2020 11:38
Forum: General
Topic: OPENGL NEHE EXAMPLES
Replies: 12
Views: 377

Re: OPENGL NEHE EXAMPLES

texture example in openGL '' BLUATIGRO 27 JAN 2020 '' openGL texture example #include "fbgfx.bi" #if __FB_LANG__ = "fb" Using FB #endif const as single pi = atn( 1 ) * 4 const as single golden_ratio = ( sqr( 5 ) - 1 ) / 2 #include once "GL/gl.bi" #include once "GL/...
by bluatigro
Jan 22, 2020 12:18
Forum: Game Dev
Topic: war ship sim [ opengl ]
Replies: 2
Views: 174

Re: war ship sim [ opengl ]

update : red ship added eny ai added [ not ready jet ] sea is now blue error : my fire system does not work good mouse button shoot be firing green cube emy shoot be firing constantly rem : game plays in the sail time wind is Always in the sail '' bluatigro 21 jan 2020 '' war ship '' battle sim #inc...
by bluatigro
Jan 21, 2020 5:29
Forum: Game Dev
Topic: war ship sim [ opengl ]
Replies: 2
Views: 174

war ship sim [ opengl ]

this is a try at a war ship sim using opengl rem : this not ready jet ai must be build mouse control must be build i have a idea jet error : my sceen is black my sea is not visable war ship '' bluatigro 21 jan 2020 '' war ship '' battle sim #include "_shapes.bas" dim as t_camara emy emy.sp...
by bluatigro
Jan 15, 2020 12:31
Forum: General
Topic: OPENGL NEHE EXAMPLES
Replies: 12
Views: 377

Re: OPENGL NEHE EXAMPLES

update : i m using screen again screenres does freze my pc so that crtl+alt+del does not work error : my blue cube shoot be partly transparent _opengl.bas '' BLUATIGRO 15 JAN 2020 '' _OPENGL.BAS '' MINNAMAL STUF #ifndef h_opengl #define h_opengl #include "fbgfx.bi" #if __FB_LANG__ = "...
by bluatigro
Jan 14, 2020 14:39
Forum: General
Topic: OPENGL NEHE EXAMPLES
Replies: 12
Views: 377

Re: OPENGL NEHE EXAMPLES

update : try at fulscreen material test try error : empty back screen screen shoot be blue whit 2 rotating cubes _opengl.bas '' BLUATIGRO 14 JAN 2020 '' _OPENGL.BAS '' MINNAMAL STUF #ifndef h_opengl #define h_opengl #include "fbgfx.bi" #if __FB_LANG__ = "fb" Using FB #endif const...
by bluatigro
Jan 10, 2020 11:26
Forum: Game Dev
Topic: xbox controler read try
Replies: 2
Views: 126

Re: xbox controler read try

update : added xbox consts changed some code that was not working are the consts for every game controler the same ? #include once "fbgfx.bi" '' Some common ASCII codes namespace ASCIICode const as string _ KEY_UP = chr( 255, asc( "H" ) ), _ KEY_DOWN = chr( 255, asc( "P"...
by bluatigro
Jan 09, 2020 13:45
Forum: Game Dev
Topic: xbox controler read try
Replies: 2
Views: 126

xbox controler read try

i was testing my new xbox controler only by joyid = 0 i get readings but does not change the readings when using the controler is my xbox controler defect or do i something not good help wanted error : joyid does not change on cursor pres shal i bring it back ? or has anyone a better idea ? #include...
by bluatigro
Jan 08, 2020 11:19
Forum: General
Topic: OPENGL NEHE EXAMPLES
Replies: 12
Views: 377

Re: OPENGL NEHE EXAMPLES

if that is the case i stop whit this fount examples of open gl 1.1 on www : https://www.opengl.org/archives/resources/code/samples/redbook/ they are in c first try at hello.c to hello.bas error : i get a black screen how do i change _opengl.bas to full screen ? ''bluatigro 8 jan 2020 ''hello.bas ''b...
by bluatigro
Jan 07, 2020 14:56
Forum: General
Topic: OPENGL NEHE EXAMPLES
Replies: 12
Views: 377

Re: OPENGL NEHE EXAMPLES

nehe-05 '' BLUATIGRO 7 JAN 2020 '' NEHE 05 #INCLUDE "_OPENGL.bas" dim rtri as single ' Angle for the triangle dim rquad as single ' Angle for the quad glEnable GL_CULL_FACE do glClear GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT ' Clear screen and depth buffer glLoadIdentity ' Reset the curr...
by bluatigro
Jan 07, 2020 14:35
Forum: General
Topic: OPENGL NEHE EXAMPLES
Replies: 12
Views: 377

Re: OPENGL NEHE EXAMPLES

nehe-04 '' BLUATIGRO 7 JAN 2020 '' NEHE 03 primativs and colors and animation #INCLUDE "_OPENGL.bas" dim rtri as single ' Angle For The Triangle ( NEW ) dim rquad as single ' Angle For The Quad ( NEW ) do glClear GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT ' Clear The Screen And The Depth B...
by bluatigro
Jan 07, 2020 14:22
Forum: General
Topic: OPENGL NEHE EXAMPLES
Replies: 12
Views: 377

Re: OPENGL NEHE EXAMPLES

nehe-01 is realy the nehe-02 example nehe-03.bas '' BLUATIGRO 7 JAN 2020 '' NEHE 03 primativs and colors #INCLUDE "_OPENGL.bas" glClear GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT ' Clear The Screen And The Depth Buffer glLoadIdentity ' Reset The View glTranslatef -1.5,0.0,-6.0 ' Move Left ...
by bluatigro
Jan 07, 2020 14:08
Forum: General
Topic: OPENGL NEHE EXAMPLES
Replies: 12
Views: 377

OPENGL NEHE EXAMPLES

i shal try to translate as many a nehe examlpe as i can error : nehe-01 does not stop good _opengl.bas : '' BLUATIGRO 5 JAN 2020 '' _OPENGL.BAS '' MINNAMAL STUF #ifndef h_opengl #define h_opengl #include "fbgfx.bi" #if __FB_LANG__ = "fb" Using FB #endif #include once "GL/gl....
by bluatigro
Nov 06, 2019 9:41
Forum: General
Topic: PI : many digits try
Replies: 4
Views: 199

PI : many digits try

what is the good way for this ? [ translated from vb2005 code ] const as integer n = 100 sub array_mul( byref a() as integer , f as integer ) dim as integer c = 0 , p , h for p = n to 0 step -1 h = a( p ) * f + c c = int( h / 10 ) a( p ) = h mod 10 next p end sub sub array_div( byref a() as integer ...

Go to advanced search