Old Skool Effects & Other Stuff

Share your advanced PureBasic knowledge/code with the community.
User avatar
blueb
Addict
Addict
Posts: 1111
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: Old Skool Effects & Other Stuff

Post by blueb »

Thanks JHPJHP,
I don't know, I guess it depends on your perspective; from where I'm sitting:
• After a week, when the number of forum members (12) posting positive comments is less than half the number of examples (26).
I've learned many things by looking at your code, as I've followed you for a long time.

Thanks to you and many others, you've made PureBasic my go to tool.
In fact, I start my morning with a cup of coffee, and I read the PureBasic 'news' :)

I really wish there was a "Thanks button", because there's aa lot of great coders on this site that deserve recognition.

Bye
- It was too lonely at the top.

System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
User avatar
jacdelad
Addict
Addict
Posts: 1991
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Old Skool Effects & Other Stuff

Post by jacdelad »

JHPJHP, I had a tall with someone here, not long ago. We talked about appreciation and such. There are numerous reasons why some thread don't seem to get the appreciation they maybe deserve. One is, that the thread would contain too much offtopic posts. Another one that some people simply would prefer a like button (we had this discussion here, yes). Or some don't have the need for it. Or people simply don't appreciate it.
Getting not much feedback is not always bad. When I published my Mondrian, some people posted they like it and some immediately posted what could/should be changed. I'm not mad about this. Now the thread is almost dead, which is ok.
We all know you are a great coder filling many holes that other simply can't. Also your code is always well documented and formed. All the people who need your special hooks to other services and such really love your products.
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
mrbungle
Enthusiast
Enthusiast
Posts: 143
Joined: Wed Dec 30, 2020 3:18 am

Re: Old Skool Effects & Other Stuff

Post by mrbungle »

Super impressive! Thank you for these examples.
JHPJHP wrote: Thu Nov 07, 2024 4:50 pm Hi SPH,

Thank you, I'm about halfway there.

-----------------------------

Hi Fangbeast,

I don't know, I think I'd be trying to crack the code on those Numbers Stations.
• I hope a couple of the new examples also provide some interest.

-------------------------------

Hi All,

The following 8 examples are PART 2 of 4.
• Some of the examples included in the 4-part download will be simple.
• It would be a mistake to ignore these if you're interested in this type of programming.
• Compare my version with the original, and you're on your way to converting some old Basic to PureBasic.

This group contains a few more of my SpecBAS favorites: Evolution.pb, Flux.pb, etc.
• If there are any additional features they will be listed in the Title Bar.
• Some of the examples, where applicable, include the window Maximize button.

Download: Old Skool Kool PART 2
• References have been included to give credit where credit is due.

While the following image demonstrates a fairly simple effect, the way it's processed is interesting.
• The lines are static, but the color palette is shifted.

Image
User avatar
JHPJHP
Addict
Addict
Posts: 2250
Joined: Sat Oct 09, 2010 3:47 am

Re: Old Skool Effects & Other Stuff

Post by JHPJHP »

Hi All,

What A Difference A Day Makes.

Thank you to everyone who posted... I read every word of your comments, they were generous, kind, and very much appreciated.

Enjoy the weekend, I'll be back Monday with more fun stuff.

--------------------------

The included 16 examples are PART 3 & 4.
• Some of the examples in the 4-part download will be simple.
• It would be a mistake to ignore these if you're interested in this type of programming.
• Compare my version with the original, and you're on your way to converting some old Basic to PureBasic.

This group contains a few more of my SpecBAS favorites: Rotating_Tesseract.pb, Tiffany_Spiral.pb, etc.
• If there are any additional features they will be listed in the Title Bar.
• Some of the examples, where applicable, include the Maximize Window Button.

Starfield (simple but effective):
1. Maximize the window.
2. Let you mind drift as you watch the stars pass.
3. Press the Spacebar for first effect.
4. Press the [ 1 ] key for second effect.
5. Press the [ 2 ] key for third effect.

Download: Old Skool Kool PART 3 & 4
• References have been included to give credit where credit is due.

Image
Last edited by JHPJHP on Sat Nov 16, 2024 9:50 pm, edited 5 times in total.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
Mijikai
Addict
Addict
Posts: 1517
Joined: Sun Sep 11, 2016 2:17 pm

Re: Old Skool Effects & Other Stuff

Post by Mijikai »

Thanks for the great examples, very much appreciated.
Color Cycling / Shifting effects like Hyperspace is what got me interested in palette based graphics (Mark Ferrari's Art is amazing) :)
User avatar
ChrisR
Addict
Addict
Posts: 1466
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: Old Skool Effects & Other Stuff

Post by ChrisR »

Thanks JHPJHP, for all these nice Old Skool Effects codes
I have only tested, Spider Stampede, for now, I really like it

Just for fun, I could see the same thing with a spider only from time to time, to be installed on friends' PCs, and closed as soon as you kill it.
We used to do this kind of joke on the AS400 with new operators, as a hazing, with a System error message like: CPF9801 Fatal Error, Operation forbidden, AS400 will shut down in 5 minutes...
breeze4me
Enthusiast
Enthusiast
Posts: 633
Joined: Thu Mar 09, 2006 9:24 am
Location: S. Kor

Re: Old Skool Effects & Other Stuff

Post by breeze4me »

I'm actually not a big fan of drawing, but your great codes have now been added to my collection.
Thank you for sharing your codes with us.
dcr3
Enthusiast
Enthusiast
Posts: 181
Joined: Fri Aug 04, 2017 11:03 pm

Re: Old Skool Effects & Other Stuff

Post by dcr3 »

Some cool codes. Thanks for sharing.

Three of them crash on my system.

1. Sines.pb
2. Sine_wave.pb
3. Wool_Ball.pb

Don't know why? :idea:
User avatar
DK_PETER
Addict
Addict
Posts: 904
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

Re: Old Skool Effects & Other Stuff

Post by DK_PETER »

A generous collection of examples.

Thank you for making them available.
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
User avatar
jacdelad
Addict
Addict
Posts: 1991
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Old Skool Effects & Other Stuff

Post by jacdelad »

dcr3 wrote: Sat Nov 09, 2024 1:57 pm Some cool codes. Thanks for sharing.

Three of them crash on my system.

1. Sines.pb
2. Sine_wave.pb
3. Wool_Ball.pb

Don't know why? :idea:
And your system is...?
Any error message?
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
dcr3
Enthusiast
Enthusiast
Posts: 181
Joined: Fri Aug 04, 2017 11:03 pm

Re: Old Skool Effects & Other Stuff

Post by dcr3 »

jacdelad wrote: Sat Nov 09, 2024 4:21 pm And your system is...?
Any error message?
Win10 and PB6.12

No errors just hangs.

Everything else run fine. Has anyone else got issues with them 3. :?:
User avatar
JHPJHP
Addict
Addict
Posts: 2250
Joined: Sat Oct 09, 2010 3:47 am

Re: Old Skool Effects & Other Stuff

Post by JHPJHP »

Hi dcr3,

Thank you for reporting the three problem examples.

Please REM the Plot line in each example and let me know if they run... for the most part expect a black screen if it works.
• I was probably just coloring outside the lines... easy fix if this was the problem.

If the previous fix doesn't work let's go for a Hail Mary.
Set directx9 in the IDE: [ Menu ] > Compiler > Compiler Options... > Library Subsystem:

Thank you.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
dcr3
Enthusiast
Enthusiast
Posts: 181
Joined: Fri Aug 04, 2017 11:03 pm

Re: Old Skool Effects & Other Stuff

Post by dcr3 »

JHPJHP wrote: Sat Nov 09, 2024 4:46 pm Please REM the Plot line in each example and let me know if they run... for the most part expect a black screen if it works.
• I was probably just coloring outside the lines... easy fix if this was the problem.

If the previous fix doesn't work let's go for a Hail Mary.
• Set directx9 in the IDE:
Set directx9

Rem Plot line in Sines.pb . Result > Bouncing dots.

Rem Plot line in Sine_Wave.pb. Result > Black screen.

Rem Plot line in Wool_Ball.pb. Result > Black screen.
User avatar
JHPJHP
Addict
Addict
Posts: 2250
Joined: Sat Oct 09, 2010 3:47 am

Re: Old Skool Effects & Other Stuff

Post by JHPJHP »

Hi dcr3,

Thank you.

Please download the updated package and test the three examples.
• Let me know if they're now working.

NOTE: I only wrapped the Plot function in an If/EndIf; I don't believe directx9 applies here.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
dcr3
Enthusiast
Enthusiast
Posts: 181
Joined: Fri Aug 04, 2017 11:03 pm

Re: Old Skool Effects & Other Stuff

Post by dcr3 »

JHPJHP wrote: Sat Nov 09, 2024 5:36 pm NOTE: I only wrapped the Plot function in an If/EndIf; I don't believe directx9 applies here.
Re: Old Skool Effects & Other Stuff
It doesn't.

All run now.

Thank you. :)
Post Reply