Search found 640 matches

by bluatigro
May 07, 2012 12:20
Forum: Windows
Topic: gdi problem
Replies: 4
Views: 582

Re: gdi problem

this i can use

thans
by bluatigro
May 07, 2012 12:03
Forum: Beginners
Topic: *.bi ?
Replies: 7
Views: 359

Re: *.bi ?

i want to take a c++ like way to do this

and store every class into its own *.bi and *.bas file

so i dont have to cut and paste every time i use a object

and opengl stuf in one big one

i m using fbide to code stuf
by bluatigro
May 07, 2012 11:49
Forum: General
Topic: color problem
Replies: 2
Views: 222

Re: color problem

used the shr example

it works now

tanks
by bluatigro
May 07, 2012 11:42
Forum: General
Topic: matrix 3d problem
Replies: 7
Views: 269

Re: matrix 3d problem

update : -replaced the link sub -corrected the feet of the man -added some coments wil put somting like it in my opengl projects this wil be build into my raytracer to it works as expected now ''create matrix type to hold position & orentation type matrix dim as single m( 3 , 3 ) end type ''crea...
by bluatigro
May 06, 2012 18:17
Forum: General
Topic: matrix 3d problem
Replies: 7
Views: 269

Re: matrix 3d problem

error :
-the dodeca shoot be sphere like al the time
-the lim's dont join up

i shal ad comments so you can folow the flow

i know that this shoot work because i made this earlyer in vb2008

i m looking in for skeletal animations
so i can store the animations seperately in code
by bluatigro
May 04, 2012 13:21
Forum: Beginners
Topic: FBide problem
Replies: 2
Views: 294

FBide problem

how do i get fbide to store the changes

to editor character types

now if i want bigger characters

i have to change the settings every time i start fbide

i solved this partly by wearing readglasses

but that is not ideal to read my code
by bluatigro
May 04, 2012 13:04
Forum: Tips and Tricks
Topic: fuzzy logic example
Replies: 0
Views: 370

fuzzy logic example

type fuzz dim as single a , b , c , d declare sub fill( na as single , nb as single , nc as single , nd as single ) end type sub fuzz.fill( na as single , nb as single , nc as single , nd as single ) this.a = na this.b = nb this.c = nc this.d = nd end sub declare function fuzzy( x as single , f as ...
by bluatigro
May 04, 2012 11:13
Forum: Tips and Tricks
Topic: E motions sim
Replies: 6
Views: 700

E motions sim

you can use this to build a emotional AI type e_motion dim naam as string dim x as single dim y as single dim z as single declare constructor() declare constructor( n as string , nx as single , ny as single , nz as single ) declare sub fill( n as string , nx as single , ny as single , nz as single )...
by bluatigro
May 04, 2012 9:36
Forum: Game Dev
Topic: a simple maze
Replies: 4
Views: 1032

Re: a simple maze

you mean : if mouse_x <> -1 and mouse_y <> -1 then #include once "GL/gl.bi" #include once "GL/glu.bi" #include "fbgfx.bi" #if __FB_LANG__ = "fb" Using FB '' Scan code constants are stored in the FB namespace in lang FB #endif dim shared as integer mouse_x dim ...
by bluatigro
May 04, 2012 9:26
Forum: General
Topic: matrix 3d problem
Replies: 7
Views: 269

matrix 3d problem

i m also trying graphics whit matrix's i have a bug / typo somewere ? type matrix dim as single m( 3 , 3 ) end type operator * ( a as matrix , b as matrix ) as matrix dim as integer i , j , k dim uit as matrix for i = 0 to 3 for j = 0 to 3 '' uit.m( i , j ) = 0 for k = 0 to 3 '' uit.m( i , j ) += a....
by bluatigro
May 04, 2012 9:21
Forum: General
Topic: color problem
Replies: 2
Views: 222

color problem

the eye's shoot be white but are blue what is my typo / error ? '' 3d engine dim shared as single v( 20 , 6 ) dim shared as single sk( 64 , 2 ) declare sub link( no as integer , x as single , y as single , z as single _ , pan as single , tilt as single , rol as single , p as integer ) declare sub ch...
by bluatigro
May 04, 2012 8:47
Forum: Beginners
Topic: *.bi ?
Replies: 7
Views: 359

Re: *.bi ?

changed code of .bi [ see below ] got : undeclared defenition [ several times ] can i overload fb comands ? example : declare function len( x as complex ) as single can i do : #include "type\complex.bi" #ifndef COMPLEX_BI #define COMPLEX_BI type complex dim i as double dim r as double decl...
by bluatigro
May 03, 2012 13:45
Forum: Beginners
Topic: *.bi ?
Replies: 7
Views: 359

Re: *.bi ?

it shoot be done like this i think but i got a strange error .bi type complex dim i as double dim r as double declare constructor() declare constructor( a as double , bj as double ) declare sub fill( a as double , bj as double ) declare function lenght() as double end type .bas #include "t_comp...
by bluatigro
May 03, 2012 13:22
Forum: Beginners
Topic: split( a as string ) as string() ?
Replies: 11
Views: 856

split( a as string ) as string() ?

i want to split a string into parts :
o = split( "a test of split" )
o( 1 ) => "a"
o( 2 ) => "test"
etc...

how do i do that in fb ?
by bluatigro
May 03, 2012 11:06
Forum: Beginners
Topic: *.bi ?
Replies: 7
Views: 359

*.bi ?

i want to split my code into *.bi's and *.bas's

instructions please

Go to advanced search