Search found 370 matches

by pf shadoko
Thu Oct 09, 2025 5:05 pm
Forum: Bugs - Windows
Topic: ScreenGadget bugs
Replies: 20
Views: 1494

Re: ScreenGadget bugs

Below is a minimal example.
If you don't see the sprite, you can do a bug report “Linux” : 3D + Sprite

InitEngine3D()
InitSprite():InitKeyboard()

ExamineDesktops()
OpenWindow(0, 0,0, DesktopWidth(0)*0.8,DesktopHeight(0)*0.8, "test - [Esc] quit",#PB_Window_ScreenCentered)
OpenWindowedScreen ...
by pf shadoko
Thu Oct 09, 2025 10:10 am
Forum: Bugs - Windows
Topic: ScreenGadget bugs
Replies: 20
Views: 1494

Re: ScreenGadget bugs

I think I've found the source of the “splitter” bug

@Erlend :
it's no windows spécific as it use sprite librarie
can you test commenting : SelectSkin(#skin)
If that doesn't change anything, try removing the 3D part (completely).
If that works, it means the problem is caused by the sprites with 3D ...
by pf shadoko
Wed Oct 08, 2025 4:15 pm
Forum: Game Programming
Topic: Game test v0.01
Replies: 61
Views: 5846

Re: Game test v0.01

Argh!
(My jaw just dropped.)
by pf shadoko
Tue Oct 07, 2025 4:25 pm
Forum: Bugs - Windows
Topic: ScreenGadget bugs
Replies: 20
Views: 1494

Re: ScreenGadget bugs

No crashes for me.
(I'm running PB6.30 x32 - Windows 10)

For now, only essential events are being managed.
by pf shadoko
Tue Oct 07, 2025 11:25 am
Forum: Bugs - Windows
Topic: ScreenGadget bugs
Replies: 20
Views: 1494

Re: ScreenGadget bugs

@ User_Russian:
For now, only PB_default is supported by SetScreenGadgetFont
(and before the creation of gadgets).

but the problem comes from SetScreenGadgetFont, I'll fix it
by pf shadoko
Tue Oct 07, 2025 10:12 am
Forum: Bugs - Windows
Topic: ScreenGadget bugs
Replies: 20
Views: 1494

Re: ScreenGadget bugs

Hi coders,

Other bugs:

- If you click on an unused area, the last gadget (or window) selected is affected.

- Animations don't always work.

Regarding:

- splitterstringgadget (drgolf): strange, I don't have this bug, do other users have this problem?

- stringscreengadget (User_Russian): maybe it ...
by pf shadoko
Tue Sep 30, 2025 8:53 am
Forum: Feature Requests and Wishlists
Topic: UseSVGImageDecoder/Encoder
Replies: 35
Views: 2170

Re: UseSVGImageDecoder/Encoder

wait a moment, this not work on vectordrawing
i will adapt this
by pf shadoko
Tue Sep 30, 2025 6:46 am
Forum: Feature Requests and Wishlists
Topic: UseSVGImageDecoder/Encoder
Replies: 35
Views: 2170

Re: UseSVGImageDecoder/Encoder

For bitmap fonts, we can handle that.
Take it from my screen library.
https://www.purebasic.fr/english/viewtopic.php?t=84206&hilit=shader+sprite
;============================================================================================ fastfont
Procedure SS_InitFont(num,name.s, height.f,style ...
by pf shadoko
Wed Sep 24, 2025 7:38 pm
Forum: 3D Programming
Topic: Should I build my own sprite-based UI system or wait?
Replies: 19
Views: 1370

Re: Should I build my own sprite-based UI system or wait?

The keyboard issue has been resolved.
by pf shadoko
Wed Sep 24, 2025 10:42 am
Forum: 3D Programming
Topic: Should I build my own sprite-based UI system or wait?
Replies: 19
Views: 1370

Re: Should I build my own sprite-based UI system or wait?

I can provide the library for Win64 or Win32
(but keyboard input does not work in library form, and I do not wish to give away the source code).
by pf shadoko
Tue Sep 23, 2025 6:35 pm
Forum: Bugs - 3D Engine
Topic: [Done] PB 6.30 b1 x86 : DrawingBuffer() with TextureOutput
Replies: 9
Views: 1399

Re: PB 6.30 b1 x86 : DrawingBuffer() with TextureOutput

This problem must have been corrected in b2.

So it's [DONE]
by pf shadoko
Tue Sep 23, 2025 6:29 pm
Forum: 3D Programming
Topic: shader 3D Editor
Replies: 5
Views: 625

shader 3D Editor

Hi guys,

My little shader editor.
It's not very practical to use (which is why I hesitated to publish it), but it saves a lot of time.

To use it in your 3D code:
- Add: IncludeFile “...\shader_editor.pb” (corresponding to the code below)
- Use engine3D in debug mode: “InitEngine3D(#PB_Engine3D ...
by pf shadoko
Fri Sep 19, 2025 1:57 pm
Forum: Bugs - 3D Engine
Topic: [Done] PB 6.30 b1 x86 : DrawingBuffer() with TextureOutput
Replies: 9
Views: 1399

Re: PB 6.30 b1 x86 : DrawingBuffer() with TextureOutput

in fact, it concerning all 2ddrawing fcts

InitEngine3D()
InitSprite():InitKeyboard():InitMouse()

ExamineDesktops()
OpenWindow(0, 0,0, DesktopWidth(0)*0.8,DesktopHeight(0)*0.8, "test - [Esc] quit",#PB_Window_ScreenCentered)
OpenWindowedScreen(WindowID(0), 0, 0, WindowWidth(0), WindowHeight(0), 0 ...
by pf shadoko
Tue Sep 16, 2025 6:14 pm
Forum: 3D Programming
Topic: WorldShadowsEx + CreateMaterialEx [PB 6.21]
Replies: 19
Views: 2849

Re: WorldShadowsEx + CreateMaterialEx [PB 6.21]

@ minimy
I think all versions are accepted by Ogre,
but starting with version 150 (or later), I believe the vertex structure must be specified in the shader.
I'll have to look into that.

I use 130

PS: In a previous post (on this thread), you mentioned a problem with shadows. Did my response fix ...