Author Topic: 3D Starballs Library  (Read 276 times)

0 Members and 1 Guest are viewing this topic.

Offline KrazyK

  • Amiga 1200
  • ****
  • Posts: 275
  • Karma: 120
    • View Profile
    • KrazyK Remakes
3D Starballs Library
« on: March 18, 2019 »
Here's my 3D sprite starfield library for PureBasic.   I wrote it last year before my hard drive died and lost everything and meant to post it ages ago but forgot all about it.
The example shows how to use a random set of values on how to control the movement.  But it can easily be changed to have preset values in an array or a DataSection.
I'll post an example if anyone needs it.
Just add the appropriate library into your PureBasic folders, load the example and run.
Challenge Trophies Won:

Offline ~Ar-S~

  • C= 64
  • **
  • Posts: 44
  • Karma: 26
  • Demo RuleZ
    • View Profile
Re: 3D Starballs Library
« Reply #1 on: April 23, 2019 »
Hey.
Thanks.
I try it with PB 5.70 x64 and it works fine.
There is just a problem in the code. The KK_StarBallInfo() do not work, i ; it
~ Ar-S ~

Offline KrazyK

  • Amiga 1200
  • ****
  • Posts: 275
  • Karma: 120
    • View Profile
    • KrazyK Remakes
Re: 3D Starballs Library
« Reply #2 on: April 24, 2019 »
Thanks for testing the library.  The KK_StarballsInfo() is just a messagebox with version info like below.  I no longer have the original code so it looks like I didn't include that function for x64.  It's only on x86 it appears.
I'll try to re-code it again when I have a bit more time.

[edit]
It appears I added an 's' to the KK_StarBallInfo() comamnd, so for x64 it's KK_StarBallsInfo(),  Problem solved - my mistake when writing it.


« Last Edit: April 25, 2019 by KrazyK »
Challenge Trophies Won: