Search found 87 matches

by tft
Tue Jul 30, 2024 5:32 pm
Forum: 3D Programming
Topic: How can I get the ID of 3d engine elements by the handle?
Replies: 2
Views: 4207

Re: How can I get the ID of 3d engine elements by the handle?

I have written separate procedures for every 3Dengin command that creates or deletes something. Which logs such lists with links in the background. It's actually quite easy to implement.

TFT
by tft
Mon Jul 15, 2024 1:52 pm
Forum: Coding Questions
Topic: List of Variablen in Code?
Replies: 10
Views: 2198

Re: List of Variablen in Code?

It looks like I'll have to write something myself. I did this once 15 years ago. But I no longer have the code. As part of my game project, I need to have something like this. Maybe someone will still get in touch. The procedure is not that difficult. First, remove all unnecessary tabs and spaces ...
by tft
Sun Jul 14, 2024 7:35 am
Forum: Coding Questions
Topic: List of Variablen in Code?
Replies: 10
Views: 2198

List of Variablen in Code?

Is there a tool or function that searches a project for which variables exist and how they are declared, including Define & Global?

thx TFT
by tft
Mon Jun 17, 2024 5:21 pm
Forum: 3D Programming
Topic: [Done]The surface texture is displayed as blurred.
Replies: 2
Views: 2156

Re: The surface texture is displayed as blurred.

Thanks for the info. It was due to MaterialFilteringMode()

THX TFT
by tft
Mon Jun 17, 2024 1:20 pm
Forum: 3D Programming
Topic: [Done]The surface texture is displayed as blurred.
Replies: 2
Views: 2156

[Done]The surface texture is displayed as blurred.

Today, a question for the ogre species. When a surface turns away, so that it is only half or less visible from the side, the textures are displayed very blurred. This is probably for optimization purposes. How can I turn this off? I remember it was possible. But how??

TFT
by tft
Mon Jun 17, 2024 1:15 pm
Forum: Game Programming
Topic: New small game written in PureBasic
Replies: 5
Views: 7989

Re: New small game written in PureBasic

nice :-)
by tft
Sat Jun 15, 2024 6:07 pm
Forum: 3D Programming
Topic: MousePick() 6.10
Replies: 4
Views: 2748

Re: MousePick() 6.10

Since I'm not just complaining, I have written some replacement code here to temporarily work around the problem.





Structure CreateEntityCounter
name.s
Handler.i
Count.i
EndStructure
Global NewList CEC.CreateEntityCounter()

Procedure.i CreateEntity_(nr.i,Mesh.i, Mat.i)
Static count
Shared ...
by tft
Sat Jun 15, 2024 4:33 pm
Forum: 3D Programming
Topic: MousePick() 6.10
Replies: 4
Views: 2748

MousePick() 6.10

Once again, the topic is MousePick(). With the following call, an entity can be created: `CreateEntity(0, ...)` or with `CreateEntity(#PB_Any, ...)`. In both cases, you receive a pointer to the object. However, when entities are created with `#PB_Any`, MousePick is unable to return the handler of ...
by tft
Sun Jun 09, 2024 8:50 pm
Forum: Linux
Topic: Problem with mouse button up
Replies: 5
Views: 2453

Re: Problem with mouse button up

I always use this for testing. If something new comes along, I'll expand it. Maybe it helps


;{ Main Loop

#PB_MouseWheele = 522
#PB_MouseWheeleUp = 4287102976
#PB_MouseWheeleDown = 7864320

Global LastKeyDown
Global LastKeyUp
Global LastChar.s
Global KeyDown
Global KeyUp
Global st.POINT ; System ...
by tft
Sat Jun 08, 2024 1:10 pm
Forum: Tricks 'n' Tips
Topic: miniaudio sound lib mp3
Replies: 11
Views: 3111

Re: miniaudio sound lib mp3

:D
by tft
Sat Jun 08, 2024 7:54 am
Forum: Tricks 'n' Tips
Topic: miniaudio sound lib mp3
Replies: 11
Views: 3111

Re: miniaudio sound lib mp3

What do you need to deal with it? A sandwich? Cuddles? How can I motivate this?
by tft
Fri Jun 07, 2024 7:53 pm
Forum: Tricks 'n' Tips
Topic: Typewriter Simulator for Scintilla Controls
Replies: 5
Views: 2543

Re: Typewriter Simulator for Scintilla Controls

Hallo

"There are no useless projects. I have just written a tool that does exactly 2 things: data backup from X to Y, from 4 sources to 2 targets, as part of my current project. In line with my Twitch TV ambitions, I am looking for the possibility to have text written into the PureBasic editor ...
by tft
Fri Jun 07, 2024 7:45 pm
Forum: Tricks 'n' Tips
Topic: miniaudio sound lib mp3
Replies: 11
Views: 3111

Re: miniaudio sound lib mp3

"A great project and thank you for sharing it. I am looking for the option to select the output device. Do you have any possibilities for that?"
by tft
Sun May 26, 2024 1:29 pm
Forum: Windows
Topic: [NO BUG]6.10 Name Space problem
Replies: 3
Views: 2321

Re: 6.10 Name Space problem

@r-i-v-e-r

Thanks for the links. They were very insightful.

Danke für die Links. Sie waren sehr aufschlussreich.

@Fred

After looking at the links. I think I understand why that is. Because the functions are so easy in PureBasic
let use. A hobby programmer like this can sometimes get into ...
by tft
Sun May 26, 2024 12:00 am
Forum: Windows
Topic: [NO BUG]6.10 Name Space problem
Replies: 3
Views: 2321

[NO BUG]6.10 Name Space problem

Hallo,

After two nights of hard work, I have identified an issue. It concerns the naming of objects for the following functions.

Nach 2 Nächten harter Arbeit. Habe ich ein Problem festhalten können. Es geht um die Namensgebung für die Objekte folgender Funktionen.

IPname.s = "Grundprogramm ...