Search found 574 matches

by spikey
Tue Apr 23, 2024 6:09 pm
Forum: Bugs - IDE
Topic: ParticleVelocity Quick Help
Replies: 0
Views: 34

ParticleVelocity Quick Help

I'm guessing this is a quick help fault rather than a help article fault, so apologies if I've posted to the wrong place. There is a discrepancy between the parameters given in the help article: ParticleVelocity(#ParticleEmitter, Minimum, Maximum) and the quick help: ParticleVelocity(#ParticleEmitte...
by spikey
Tue Apr 23, 2024 5:50 pm
Forum: 3D Programming
Topic: How to create a small column of smoke?
Replies: 8
Views: 223

Re: How to create a small column of smoke?

I'm surely doing something fundamentally wrong?! Yes, but probably not in the way you were expecting. You've created the emitter at -50, 0, 50 but the camera is at 2, 1, 3 and looking at 0, 0, 0. The emitter is working fine but the camera can't see it, the action is all taking place behind the came...
by spikey
Tue Apr 23, 2024 2:38 pm
Forum: 3D Programming
Topic: How to create a small column of smoke?
Replies: 8
Views: 223

Re: How to create a small column of smoke?

I can't claim any of the credit there! :D But yes, it's a really interesting demonstration of what the particle library can do.
by spikey
Tue Apr 23, 2024 12:15 pm
Forum: 3D Programming
Topic: How to create a small column of smoke?
Replies: 8
Views: 223

Re: How to create a small column of smoke?

Yup I'd be thinking about using the particle library. Have a look at Particle2.pb and Particle3.pb in the Examples\3D folder - see if there's any styles that are close to what you're thinking of. By default the particles will have no direction or velocity - so they just appear, stay put and do nothi...
by spikey
Sun Apr 21, 2024 3:41 pm
Forum: Bugs - Documentation
Topic: Some more tag problems
Replies: 0
Views: 101

Some more tag problems

PB6.11B1:

In Http\HTTPTimeout.html:
None. @remark If "Create

In Particle\ParticleAngle.html:
is emitted. @remark To avoid

In Thread\CreateMutex.html:
unlocking a mutex. @noparameter

In Window3D\CloseWindow3D.html:
are closed. @noreturnparameter
by spikey
Sun Apr 21, 2024 1:04 pm
Forum: Coding Questions
Topic: Watch RVA
Replies: 1
Views: 259

Re: Watch RVA

An RVA isn't "loaded into memory", it's a method of referring to a VA by using a base address of something and an offset which indicates the respective location. If you tell us a bit more about what you're trying to accomplish we might be able to give you a more useful answer.
by spikey
Sun Apr 21, 2024 11:40 am
Forum: Coding Questions
Topic: Thread Parameters?
Replies: 25
Views: 1369

Re: Thread Parameters?

There's a pitfall that you should be aware of. A slightly different scenario, where the work takes place before the SignalSemaphone, could lock up the main event loop. I guess that's the sort of thing you're trying to avoid: Procedure MyThread_Two(param) date$=PeekS(param) Sleep_(60000) SignalSemaph...
by spikey
Sun Apr 21, 2024 10:56 am
Forum: Coding Questions
Topic: Thread Parameters?
Replies: 25
Views: 1369

Re: Thread Parameters?

BarryG wrote: Sun Apr 21, 2024 4:10 am Sleep_(60000)
Just out of curiosity - why are you feeling the need to pause the threads for so long before exiting?
by spikey
Thu Apr 11, 2024 2:08 pm
Forum: Bugs - Windows
Topic: [Done] ListSize and MapSize = -1
Replies: 5
Views: 457

Re: ListSize and MapSize = -1

That would explain it, and :D
by spikey
Thu Apr 11, 2024 1:38 pm
Forum: Bugs - Windows
Topic: [Done] ListSize and MapSize = -1
Replies: 5
Views: 457

Re: ListSize and MapSize = -1

ricardo_sdl wrote: Thu Apr 11, 2024 1:22 pm Older versions of the compiler had different behavior?
More correctly the new version should have a different behaviour but doesn't. See the change history help article for 6.10LTS, Changed item number 5.
by spikey
Thu Apr 11, 2024 1:03 pm
Forum: Bugs - Windows
Topic: [Done] ListSize and MapSize = -1
Replies: 5
Views: 457

[Done] ListSize and MapSize = -1

The new behaviour of ListSize and MapSize on a freed item doesn't work, it halts with an error the same as previous versions. Tested on PB6.10LTS x86 and x64, ASM and C backends. Debug "* Array *" Dim MyArray.I(5) Debug ArraySize(MyArray()) FreeArray(MyArray()) Debug "" + ArraySi...
by spikey
Wed Apr 10, 2024 5:19 pm
Forum: Bugs - Documentation
Topic: [Done] Improperly rendered tag in ArraySize
Replies: 1
Views: 183

[Done] Improperly rendered tag in ArraySize

In the return value section:
(for example after @freearrayor if its initialization has failed).
by spikey
Tue Apr 09, 2024 7:47 pm
Forum: General Discussion
Topic: How to organize/keep track of assigned #'s while coding
Replies: 5
Views: 288

Re: How to organize/keep track of assigned #'s while coding

Use enumeration: I'd suggest being shorter on the "Window" bit for conciseness ie Win, Wdw or even Wn, and use longer and always descriptive names. So never #Window_1 but always something like #WinLogin, #WinSchemaWarning, #BtnOk, #BtnCancel, #MnuFile... I also assign enumeration names to...
by spikey
Tue Mar 26, 2024 4:22 pm
Forum: Coding Questions
Topic: Question about coding technique
Replies: 5
Views: 249

Re: Question about coding technique

There must be one somewhere. The compiler will halt with an error, if there isn't. It's possible that you can't currently see it though. The IDE supports code folding which may be causing parts of the code to be hidden. Check for small + marks in boxes adjacent to line numbers. These indicate sectio...
by spikey
Sun Mar 24, 2024 8:12 pm
Forum: Coding Questions
Topic: quick reading a file of 15 GByte.... how?
Replies: 22
Views: 1556

Re: quick reading a file of 15 GByte.... how?

Have a look at this thread, it presents several possible alternatives: https://www.purebasic.fr/english/viewtopic.php?p=590388