Search found 263 matches

by SPH
Thu Apr 18, 2024 10:50 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 334
Views: 41975

Re: PureBasic 6.10 LTS is out !

UPX is ok for programs without icon :idea:
by SPH
Wed Feb 14, 2024 10:58 pm
Forum: Tricks 'n' Tips
Topic: SDF 2d heart sketch
Replies: 6
Views: 527

Re: SDF 2d heart sketch

Very nice 😍
by SPH
Fri Feb 02, 2024 12:35 am
Forum: Game Programming
Topic: Scrab is out !
Replies: 9
Views: 2229

Re: Scrab is out !

BarryG wrote: Thu Jul 13, 2023 1:45 am It does look very nice indeed! Well done. Hope you get good sales for it.
the 10 first levels are free :wink: :idea:
by SPH
Thu Feb 01, 2024 8:16 pm
Forum: Game Programming
Topic: Scrab is out !
Replies: 9
Views: 2229

Re: Scrab is out !

Thank you and good game 😁
by SPH
Tue Jan 30, 2024 1:17 pm
Forum: Tricks 'n' Tips
Topic: Projection of points from one plane onto another.
Replies: 0
Views: 306

Projection of points from one plane onto another.

Projection of points (or coordinates) from one plane onto another. Mouse X,Y, Left and right button... Enjoy: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; SPH(2024) --- Projection de points dans un autre plan ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; If InitSpr...
by SPH
Fri Jan 19, 2024 4:57 pm
Forum: Game Programming
Topic: Scrab is out !
Replies: 9
Views: 2229

Re: Scrab is out !

Hi,

I completely revised my game by adapting it to PB6.10 and 4K
Redownload it (version 1.0c).

Above all, keep me informed.
Big thanks
by SPH
Thu Jan 18, 2024 8:31 pm
Forum: Coding Questions
Topic: Directx9 and W11
Replies: 1
Views: 330

Directx9 and W11

Hi,
Will the "directx9" undersystem library work on W11? :idea:
thx
by SPH
Thu Jan 18, 2024 11:34 am
Forum: Coding Questions
Topic: List of files impossible to view
Replies: 1
Views: 275

List of files impossible to view

Hi, Bug on PB6.04 and 6.10b1 (not tried the others) Works well on PB6.0 LTS Click on a letter on your hard drive and the list of files should appear on the right.... rep$ = GetPathPart (ProgramParameter(0)) rep2$ = GetFilePart (ProgramParameter(0)) InitKeyboard() InitSprite() ;EnableExplicit Enumera...
by SPH
Tue Jan 16, 2024 12:33 pm
Forum: Coding Questions
Topic: SpriteBlendingMode default error
Replies: 1
Views: 268

SpriteBlendingMode default error

Source and destination modes can take any of the following values: -#PB_Sprite_BlendZero -#PB_Sprite_BlendOne -#PB_Sprite_BlendSourceColor -#PB_Sprite_BlendInvertSourceColor -#PB_Sprite_BlendDestinationColor -#PB_Sprite_BlendInvertDestinationColor -#PB_Sprite_BlendSourceAlpha -#PB_Sprite_BlendInvert...
by SPH
Thu Jan 11, 2024 6:00 pm
Forum: Coding Questions
Topic: Create a DLL
Replies: 5
Views: 729

Re: Create a DLL

Thank you (very much) for your comments.
How to use a DLL then?
by SPH
Thu Jan 11, 2024 5:24 pm
Forum: Coding Questions
Topic: Create a DLL
Replies: 5
Views: 729

Re: Create a DLL

I make my DLL from PB64 5.11. It is created. But when using it, it crashes [17:23:05] Waiting for the program to start... [17:23:05] Executable type: Windows - x64 (64bit, Unicode) [17:23:05] Executable started. [17:23:05] [ERROR] Scrab_francais_translucent.pb (Line: 317) [17:23:05] [ERROR] Invalid ...
by SPH
Wed Jan 10, 2024 7:45 pm
Forum: Game Programming
Topic: Polygon Engine 2023
Replies: 8
Views: 1701

Re: Polygon Engine 2023

IceSoft wrote: Wed Jan 10, 2024 2:25 pm There are some polygons with overlapped points (i belive).
Yes, it's normal. I build an image with several polygons :D
by SPH
Wed Jan 10, 2024 4:29 pm
Forum: Coding Questions
Topic: Create a DLL
Replies: 5
Views: 729

Create a DLL

Hi all, I need your help. I want to create a DLL designed by PB5.11 (I want to use 4 instructions from PB5.11 in PB6.00+) Here is the code I enter in PB5.11: ProcedureDLL.q DSolidSprite(Sprite,x,y,Couleur):DisplaySolidSprite(Sprite,x,y,Couleur):EndProcedure ProcedureDLL.q DShadowSprite(Sprite,x,y):D...
by SPH
Wed Jan 10, 2024 7:50 am
Forum: Game Programming
Topic: Polygon Engine 2023
Replies: 8
Views: 1701

Re: Polygon Engine 2023

IceSoft wrote: Tue Jan 09, 2024 8:52 am @SPH:
Have you an editor generating the datas?
Yes, I made myself a polygon editor. For this anime, I took screenshots of the original anime. Then, I reconstruct it point by point.
by SPH
Tue Jan 09, 2024 3:16 pm
Forum: Coding Questions
Topic: Negative values passed to Chr() generate an error
Replies: 5
Views: 736

Re: Negative values passed to Chr() generate an error

Code: Select all

    For i=1 To u
      z= ReadByte(#src)
      If z<0
        z+256
      EndIf
      a$+Chr(z)
    Next