Search found 614 matches

by SPH
Tue Jan 13, 2026 6:17 pm
Forum: Coding Questions
Topic: #PB_Sprite_AlphaBlending story [Solved]
Replies: 2
Views: 152

Re: #PB_Sprite_AlphaBlending story

Thank you very much !!
by SPH
Tue Jan 13, 2026 6:00 pm
Forum: Coding Questions
Topic: #PB_Sprite_AlphaBlending story [Solved]
Replies: 2
Views: 152

#PB_Sprite_AlphaBlending story [Solved]

If I do this:
LoadSprite(1"D:\1.bmp", #PB_Sprite_AlphaBlending)
and then at some point I do this on the sprite :
Plot (10,10,0)
how can I treat the plot as a real hole in the sprite where color zero is transparent?
I've tried, but the dot is black and not transparent...

:shock: :arrow: :|
by SPH
Mon Jan 12, 2026 10:52 pm
Forum: Coding Questions
Topic: Simpliest method compare numbers [Resolved]
Replies: 29
Views: 1398

Re: Simpliest method compare numbers


Easier :
cmb=20

Dim bank(cmb)
For i=1 To cmb
bank(i)=Random(200)
Debug bank(i)
Next
Debug "==="
;;;


SortArray(bank(), #PB_Sort_Ascending)
plus_petit=bank(1)


Debug plus_petit



Debug "= W A I T ="

For boucle=0 To 1

cmb=12000000

Dim bank(cmb)
For i=1 To cmb
bank(i)=Random(200+boucle ...
by SPH
Mon Jan 12, 2026 5:42 pm
Forum: Coding Questions
Topic: Simpliest method compare numbers [Resolved]
Replies: 29
Views: 1398

Re: Simpliest method compare numbers

Look that KCC :

Code: Select all

cmb=20

Dim bank(cmb)
For i=1 To cmb
  bank(i)=Random(200)
  Debug bank(i)
Next
Debug "==="
;;;

plus_petit=bank(1)

For i=1 To cmb
  If bank(i)<plus_petit
    plus_petit=bank(i)
  EndIf
Next
;;;

Debug plus_petit
Kiss :wink:
by SPH
Mon Jan 05, 2026 10:56 pm
Forum: Announcement
Topic: Rapid Object Mapping
Replies: 36
Views: 9107

Re: Rapid Object Mapping

PS : JHP, you have lost your avatar !!
by SPH
Mon Jan 05, 2026 10:51 pm
Forum: Tricks 'n' Tips
Topic: Gif animated in canvas
Replies: 7
Views: 637

Re: Gif animated in canvas

Ok on W11 and PB 6.30 b3 :wink:
by SPH
Thu Dec 25, 2025 12:35 pm
Forum: Off Topic
Topic: Merry Christmas
Replies: 9
Views: 921

Re: Merry Christmas

minimy wrote: Thu Dec 25, 2025 3:20 am Santas drunk:
https://tvcry.net/downloads/tvcnav.mp4
Nice !
by SPH
Thu Dec 25, 2025 12:32 pm
Forum: Game Programming
Topic: Fracturetrix Game Announcement Video
Replies: 114
Views: 20718

Re: Fracturetrix Game Announcement Video

Reallllly beauty cat !
by SPH
Sun Dec 21, 2025 5:34 am
Forum: Feature Requests and Wishlists
Topic: HideMouse
Replies: 0
Views: 469

HideMouse

Code: Select all

HideMouse()
To hide the mouse cursor (including when it's reflecting)
by SPH
Sun Dec 21, 2025 3:20 am
Forum: Coding Questions
Topic: Hide Mouse
Replies: 3
Views: 306

Re: Hide Mouse

I only use OpenScreen... So, apparently, I can't use your trick.
On one Windows 11 PC, the mouse cursor is completely invisible, but not on the other Windows 11 PC (the mouse cursor is partially visible).

But, thx you for your help :idea:
by SPH
Sun Dec 21, 2025 2:04 am
Forum: Coding Questions
Topic: Hide Mouse
Replies: 3
Views: 306

Hide Mouse

Hi

On Windows 11, I have an OpenScreen program with the mouse cursor hidden.
Or at least, partially hidden. I can't hide it completely.
The cursor itself is invisible, but the blue reflection ring is still visible on the screen.
How do I get rid of it?
by SPH
Wed Dec 17, 2025 7:17 pm
Forum: Announcement
Topic: Rapid Object Mapping
Replies: 36
Views: 9107

Re: Rapid Object Mapping


Hi SPH,

Thank you for commenting.

Previously, you posted the following:
Well, for example: a drawing of the letter "P"
The trick would be to avoid creating a polygon that would cover the "hole" of the letter.
Furthermore, the OpenGL instruction I'm using only creates convex polygons.
All this ...
by SPH
Wed Dec 17, 2025 1:23 pm
Forum: Announcement
Topic: Rapid Object Mapping
Replies: 36
Views: 9107

Re: Rapid Object Mapping

Very good video !!

Congratz :arrow: :shock:
by SPH
Tue Dec 16, 2025 5:31 pm
Forum: Off Topic
Topic: Music
Replies: 38
Views: 2392

Re: Music

by SPH
Wed Dec 03, 2025 8:26 pm
Forum: Bugs - IDE
Topic: no total translate
Replies: 6
Views: 1125

Re: no total translate

Mesa wrote: Wed Dec 03, 2025 4:36 pm The compiler shown is a pb30b3 are you sure that you are using the pb630b4 ?

All the translations are already done in the github.
My french version of pb630b4 is ok.
Yes sorry : PB6.3B3

and i have too 6.3B4 on other computer