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.


Messages - Qedo

Pages: 1 ... 19 20 [21] 22 23 24
301
Announcements / Re: GLBasic V11 public beta
« on: 2013-Nov-02 »
@kanonet
it is true, without output.dat dont work,  its loading forever
You can simply add a any 0 byte output.dat file in the same directory.
Ciao
Qedo

302
Announcements / Re: GLBasic V11 public beta
« on: 2013-Nov-01 »
html5 work perfectly but only with Firefox
Can you try Bezier?
Ciao
Qedo

303
like this?
ciao
Qedo

304
GLBasic - en / Re: bitmap Font resize?
« on: 2013-Oct-26 »
Use Char_width = Char_hight 128x128 pixel with  Blastars improved UO Dingsfont.
See the picture for setting (A picture is worth a thousand words).

I have used CHECK_COMP_SPRITE2MEM because on some computers (old) with Intel  integrated graphic card and probably others, SPRITE2MEM don't work (zero value array).

I think  you are right, there  is a USESCREEN+SPRITE2MEM  bug.

Ciao
Qedo

305
GLBasic - en / Re: bitmap Font resize?
« on: 2013-Oct-25 »
Send the source (without comment, sorry)
Solved moving the command USESCREEN 5 from outside NEXT loop to inside.
I don't Know if it is a bug, but GLBasic 11 seems reset to  USESCREEN -1 at every cycle of the loop.

OK on Windows. On Android OK on BlueStack but don't work on my Sony  :(.
Can you try?
Thank you
Qedo

http://web.tiscali.it/edoardobianchi/STUFF/font/Animation_Font_source.zip

Code: (glbasic) [Select]
CREATESCREEN 5, single_id_sprite, w,h
//USESCREEN 5  // work in GLBasic 10, NOT in GLBasic 11.559
FOR i=32 TO n_car
USESCREEN 5 // work in GLBasic 10 and in GLBasic 11.559
CLEARSCREEN RGB(0,0,0)
DRAWANIM self.id_sprite% , i, 0, 0 // stampa il carattere i dello sprite
ok% = SPRITE2MEM(pix[], single_id_sprite)
.....
.....
.....
NEXT
USESCREEN -1/code]

306
GLBasic - en / Re: bitmap Font resize?
« on: 2013-Oct-25 »
sorry for the delay (source program) but in GLBasic 11.559 the program don't work. see picture.
I dont know if is a bug. I'm working.
Ciao
Qedo

307
GLBasic - en / Re: bitmap Font resize?
« on: 2013-Oct-21 »
as soon as I finish the conversion from FUNCTION to TYPE (for better style programming) i will send you the source,
Ciao
Qedo

308
GLBasic - en / Re: bitmap Font resize?
« on: 2013-Oct-20 »
Hi
attached my work ( thanks to the community of GLBasic) about resize font.
If interesting i will send source and istruction.
Ciao
Qedo

http://web.tiscali.it/edoardobianchi/STUFF/font/Animation_Font.app.zip

309
Great.
I'd try to understand the code
When the next beta release?
Thank you
Ciao

310
this simple program work correctly in GlBasic 10.283 and creates a sprite hole, while don't work in Glbasic 11.414  (see the picture)
Any idea?
Ciao


id% = GENSPRITE()
// Create virtual screen
CREATESCREEN 1,id%,32,32

USESCREEN 1
DRAWRECT 0,0,31,31,RGB(255,255,255) // white background os the sprite
DRAWRECT 4,4,24,24,RGB(255,0,128)  // transparent hole in the sprite

USESCREEN -1
DRAWRECT 100,100,70,70,RGB(255,0,0)  // draw the red background

DRAWSPRITE id%,120,120  // draw the sprite

SHOWSCREEN
MOUSEWAIT

311
GLBasic - en / Re: Something wired
« on: 2012-Jun-16 »
Hi kanonet,
on my computer CPUs Intel i7-2630QM GPU 540M in both cases with qSIN(i) the times are the same: 440ms +/-10.
There is no true difference.
ciao
qedo

312
GLBasic - en / Re: Something wired
« on: 2012-Jun-16 »
Hi kanonet,
on my computer in both cases the times are the same: 80ms
ciao
qedo

313
Code Snippets / Re: new QSIN (QQSIN)
« on: 2012-Mar-12 »

@kanonet
Code: (glbasic) [Select]
How did you do your calculations, starting with Gernots one again, or just adding to our last version?
I started by Gernot  and your code and in detail i have substituted the original numeric value in this way:
// 65535 = (2^16)-1
// 182.04166666666666666666666666667 = 65535/360
// 0.00012206791406720535999456453271949 =   0.02222144652331750907567718514381/182.04166666666666666666666666667
// 0.000000003725515635463640657766991220193 = 0.00012346049003081125437778164739108/(182.04166666666666666666666666667^2)

And instead How did you do your calculations?
As you have deleted a multiplication?
Good
Ciao




314
Code Snippets / Re: new QSIN (QQSIN)
« on: 2012-Mar-11 »
My version QQSIN2.
Perhaps not the most precise but faster, almost 50%.
I enclose an application of.
Ciao

FUNCTION QQSIN2: x  // by Qedo
LOCAL xx%
xx=x* 182.04166666666666666666666666667
xx=bAND(xx , 65535)
   IF xx < 32767
      x = ( 0.00012206791406720535999456453271949 - 0.0000000037255156354636406577669912201935 * xx)* xx
      RETURN ( 0.775 + 0.225 * x ) * x
   ENDIF
   xx= 32767 - xx
   x = ( 0.00012206791406720535999456453271949 + 0.0000000037255156354636406577669912201935 * xx) * xx
   RETURN ( 0.775 - 0.225 * x ) * x
ENDFUNCTION

[attachment deleted by admin]

315
GLBasic - en / GPS on Android
« on: 2012-Mar-08 »
Hi,
I'm writing a program for runners on Android. Someone's how to use GPS module?
Thank you
Ciao

Pages: 1 ... 19 20 [21] 22 23 24