Search found 163 matches

by coma
Mon Dec 11, 2006 2:40 pm
Forum: Coding Questions
Topic: result of a mathematical formula
Replies: 12
Views: 4924

thank you all for the replies, it will help me a lot.
by coma
Mon Dec 11, 2006 3:12 am
Forum: Coding Questions
Topic: result of a mathematical formula
Replies: 12
Views: 4924

result of a mathematical formula

Hi everybody.

In my program I have mathematical expressions in strings, for example a$="200+100/2"

How can I put the result of the operation into a numeric variable ? Does anyone know a procedure to do this ?

It seems very difficult to me, especially because of priority of operators.
by coma
Thu Sep 28, 2006 3:25 am
Forum: Game Programming
Topic: Tile Map like Ultima Online's
Replies: 19
Views: 8370

and with delay(2), how much cpu and fps do you have ?...
by coma
Mon Sep 25, 2006 3:48 am
Forum: Feature Requests and Wishlists
Topic: Sprite3d Functions
Replies: 13
Views: 3012

There's no code to tweak - just a static chessboard and pieces being drawn using sprite3d commands.

PureBASIC has threads and can produce DLLs - BlitzMax can't. It is also better for writing application software than BlitzMax - but the simple fact is it's not quite as good for game related ...
by coma
Sat Sep 16, 2006 8:50 pm
Forum: Coding Questions
Topic: transparent sprites on sprite3d buffer
Replies: 2
Views: 905

thanks.

well, I found a solution, not very beautiful, I use an intermediate buffer :

I draw all my sprites on another classic sprite (here transparency works fine), then I draw it with displaysprite() on my sprite3d buffer.
by coma
Sat Sep 16, 2006 8:21 pm
Forum: Coding Questions
Topic: transparent sprites on sprite3d buffer
Replies: 2
Views: 905

transparent sprites on sprite3d buffer

Hi.
I try to draw some sprites with transparency into another sprite, but without success.

for example :
UseBuffer(0)
displayTransparentSprite(4,0,0) ; >>> not displayed
usebuffer(-1)

sprite 0 is a 3d sprite.
with classic sprite buffer, it works, but when the buffer sprite is created with #PB ...
by coma
Wed Jul 05, 2006 11:46 pm
Forum: Off Topic
Topic: Soccer Australia
Replies: 157
Views: 25393

c. ronaldo diving champion !

Image
by coma
Wed Jul 05, 2006 10:17 pm
Forum: Off Topic
Topic: Soccer Australia
Replies: 157
Views: 25393

ITALY - FRANCE ! :mrgreen:
ALLEZ LES BLEUS !!!!!!!!!!!!!!
by coma
Sun Jun 25, 2006 11:05 pm
Forum: Off Topic
Topic: Soccer Australia
Replies: 157
Views: 25393

srod wrote:13 minutes to go in the Portugal v Holland game. 16 yellow cards so far + 2 reds!!! What the *uck is going on?

They'll be just 2 goalies left on the pitch soon!

**Correction - 3 red cards!
correction, 4 :lol:
by coma
Sat Jun 24, 2006 2:37 am
Forum: Off Topic
Topic: Soccer Australia
Replies: 157
Views: 25393

Fred wrote:What about France ?! We're IN !!! Yay ;)
ouaiiiiiiiis ! :mrgreen:
by coma
Wed Mar 29, 2006 4:46 am
Forum: Announcement
Topic: PureBasic 4.00 - Beta 8
Replies: 36
Views: 11028

gracias !
by coma
Sat Mar 18, 2006 4:22 am
Forum: Game Programming
Topic: how many entity do you create?
Replies: 2
Views: 1738

there's 10000 loops.

10000 entities :
For i = 0 To 99
For j = 0 To 99
CreateEntity(i*100+j, MeshID(0), MaterialID(Random(1)), i,Random(9)*0.1, j)
Next
Next

100 entities :
For i = 0 To 99
CreateEntity(i, MeshID(0), MaterialID(Random(1)), i,Random(9)*0.1, j)
Next

or

For i = 0 To 9
For j ...
by coma
Fri Mar 10, 2006 11:43 pm
Forum: Announcement
Topic: PureBasic 4.00 - Beta 6
Replies: 37
Views: 12205

thanks !!! :D
by coma
Sat Feb 25, 2006 7:45 am
Forum: Announcement
Topic: PureBasic 4.00 - Beta 4
Replies: 37
Views: 11484

PB wrote:> hardly working on purebasic

LOL, you mean "working hard on PureBasic". :)

In English, "hardly working" means "not working much". :)
yep i mean that of course.
false friend for french speaking people.
i learned something :)
by coma
Sat Feb 25, 2006 6:51 am
Forum: Announcement
Topic: PureBasic 4.00 - Beta 4
Replies: 37
Views: 11484

Sparkie wrote:Thank you! Now go take a 15 minute break, you've earned it :D
you know what ? I suspect that there are dozens of chinese clandestine workers hidden in the basement of Fred's house, hardly working on purebasic.