Search found 144 matches

by Booger
Thu Oct 30, 2025 7:27 pm
Forum: Tricks 'n' Tips
Topic: AddPathSpline
Replies: 15
Views: 2608

Re: AddPathSpline

On the machine I tested that on it just like the cache, on two other machines it doesn't like the cache. Hit and miss, I eat my words and apologize.

Structure Vector2:x.f:y.f:EndStructure

Procedure AddPathSpline(Array po.Vector2(1),Flags=0,roundness.f=0.5)
Protected n,i,close,coef.f=roundness/3 ...
by Booger
Thu Oct 30, 2025 2:57 pm
Forum: Tricks 'n' Tips
Topic: AddPathSpline
Replies: 15
Views: 2608

Re: AddPathSpline

I'll have a look when I have time to open a computer. Thanks. I'll have to buy 30 extra whiteboards to see what the idle advanced code works though. I'm a few brain cells short to just look at his code and interpret it's so advanced.
by Booger
Thu Oct 30, 2025 1:51 pm
Forum: Tricks 'n' Tips
Topic: AddPathSpline
Replies: 15
Views: 2608

Re: AddPathSpline

I like opinions, but I still don't know a practical use for this, is this to be transitional button on a window. How many of these would be used in a practical simulation. Please tell me more.
by Booger
Thu Oct 30, 2025 12:04 pm
Forum: Tricks 'n' Tips
Topic: AddPathSpline
Replies: 15
Views: 2608

Re: AddPathSpline

That's today's youth's common assumption and that's why even as far as technology has advanced things are still clunky. I'll run some tests again and see if you're right.
by Booger
Thu Oct 30, 2025 12:09 am
Forum: Tricks 'n' Tips
Topic: AddPathSpline
Replies: 15
Views: 2608

Re: AddPathSpline

I get it. I was making things work in code before the Internet so i don't know anything. I'll ignore your posts from now on and won't share how bits and bytes work down below.
by Booger
Wed Oct 29, 2025 8:29 pm
Forum: Tricks 'n' Tips
Topic: Simple Machine Check for License
Replies: 0
Views: 1440

Simple Machine Check for License

Very simple, almost useless.

Windows.

EnableExplicit ; Best practice, forces variable definition

; -------------------------------------------
; --- [ADDED] Manual Definition for MAC Address
; -------------------------------------------

#TH32CS_SNAPPROCESS = $00000002

; Note: Enable "Thread ...
by Booger
Wed Oct 29, 2025 5:44 pm
Forum: Tricks 'n' Tips
Topic: Simple on the fly audio example
Replies: 11
Views: 1856

Re: Simple on the fly audio example

Nice retro feeling! :D
Well, some of us are older than the rest but we are still here, lol.
by Booger
Wed Oct 29, 2025 5:41 pm
Forum: Tricks 'n' Tips
Topic: AddPathSpline
Replies: 15
Views: 2608

Re: AddPathSpline

That is so neat. I have no idea what a good use would be yet but I'm sure you'll tell me.
I saw a huge amount of on the fly calculations, in the 1970's we made a table for such things so there was time
left to actually do something else. Hope you don't mind the tables mod.

Structure Vector2:x.f:y ...
by Booger
Mon Oct 27, 2025 3:20 am
Forum: Tricks 'n' Tips
Topic: Find next power of two integer
Replies: 6
Views: 1864

Re: Find next power of two integer

Procedure.q NextPowerOfTwoQ(n.q)
; This procedure finds the next power of 2 >= n for a 64-bit integer.
; It returns 0 if n is 0 or if the result would overflow.

If n <= 0 Or n > $4000000000000000 ; Handle edge cases
ProcedureReturn 0
EndIf

n - 1 ; Decrement to handle cases where n is ...
by Booger
Mon Oct 27, 2025 12:05 am
Forum: Tricks 'n' Tips
Topic: Simple on the fly audio example
Replies: 11
Views: 1856

Re: Simple on the fly audio example

This is no longer simple but is near my goal. I converted to lists by suggestion. This is a concert of Mario 1-1.
Enjoy and feel free to make it great.
If you improve please share to the community. The shutdown isn't always perfect.
This is my last concert for a while, going back into lurk mode to ...
by Booger
Sun Oct 26, 2025 8:42 pm
Forum: Tricks 'n' Tips
Topic: Simple on the fly audio example
Replies: 11
Views: 1856

Re: Simple on the fly audio example

Is this what you mean with the lists?

Windows:
; This program creates a 250ms cyclic audio buffer using the
; low-level Windows Waveform Audio API (winmm.dll).
; It uses a callback function To refill buffers As they finish playing.
;
; This version plays an excerpt of "Flight of the Bumblebee" (2 ...
by Booger
Sat Oct 25, 2025 10:39 pm
Forum: Tricks 'n' Tips
Topic: Simple on the fly audio example
Replies: 11
Views: 1856

Re: Simple on the fly audio example

Impressive on the Bach. Sounds just like the apple IIC
by Booger
Fri Oct 24, 2025 8:03 pm
Forum: Tricks 'n' Tips
Topic: Simple on the fly audio example
Replies: 11
Views: 1856

Simple on the fly audio example

Just wanted to say I'm still lurking around after all these years. Just wanted to share some simple fun stuff example that somebody might find useful on a boring day.

Windows:

; This program creates a 250ms cyclic audio buffer using the
; low-level Windows Waveform Audio API (winmm.dll).
; It ...
by Booger
Sun Jun 23, 2024 7:09 pm
Forum: Game Programming
Topic: Nes Super Mario Clone
Replies: 33
Views: 28458

Re: Nes Super Mario Clone

It was abandoned. It only came about to find functions that were needed for an simple opengl graphics engine.
by Booger
Thu Dec 08, 2016 1:10 pm
Forum: PureFORM & JaPBe
Topic: jaPBe 3.13.4 [IDE for PB 4 and PB 5]
Replies: 1545
Views: 729742

Re: jaPBe 3.13.4 [IDE for PB 4 and PB 5]

Thanks Demivec.