Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - retrotech

Pages: [1]
1
GLBasic - en / fractional part of a float
« on: 2012-Mar-29 »
Is this the proper way to get the fractional part of a floating point number in GLBasic or is there already a function to do this which might be faster?

frac_x = x - INTEGER(x)

 :-[

2
GLBasic - en / preprocessor command help
« on: 2012-Mar-14 »
Code: (glbasic) [Select]
?DEFINE compile_mode_testing TRUE

?IF compile_mode_testing = FALSE

player_lives = 3

?ELSE

player_lives = 99

?ENDIF

Please help.  My attempt at using preprocessor commands is giving me this precompiling error, "syntax error : ... true)=false".  What is the correct way to do this?

3
When I used the Font Creator the created bitmap image has a background which is not all purple but has a black vertical stripe 8 pixels wide on the right side.

Thanks for any help.

Best wishes, Ralph.


[attachment deleted by admin]

4
GLBasic - en / X_LINE needed with 2 colours
« on: 2011-Oct-10 »
I need a function like X_LINE but with 2 colours so that the colour varies from  point 1 to point 2.  Thanx.

5
Bug Reports / SAVESPRITE bug
« on: 2011-Oct-06 »
LOADSPRITE "sprite_original.bmp", 100
SAVESPRITE "sprite_saved.bmp", 100

any pixel with an rgb of 255, 0,128 is saved as 128,0,255

7
Bug Reports / bug - SHOWSCREEN & GETTIMERALL
« on: 2011-Jan-10 »
Running with Windows XP
SHOWSCREEN becomes increasingly less smooth as a program runs and
when a GLBasic program is run again the problem continues with the
same degraded display intervals which were occurring at the last run.
So over time a program is unplayable and the only solution is to reboot.
When running this test program I discovered that GETTIMERALL will
eventually report *** negative *** time between frames!!!

[attachment deleted by admin]

Pages: [1]