Dark Bit Factory & Gravity
PROGRAMMING => Purebasic => Topic started by: KrazyK on July 29, 2013
-
As promised, here's my personal scroller library that I use for my remakes. It only supports 640 screen width at the moment until I can be bothered to update it as that's all i tend to use anyway. It can only handle simple sine distortions at the moment too until I find a remake that I need to alter it for.
Compiled using pb 5.20 beta 6.
Take a look at the examples and have a play around with it.
;)
Edit:
Updated the library to handle any screen width and a starting sprite number. see examples.
-
Awesome, will definitely check out your code so I can learn from it (when I get time to code again). Thanks for sharing. :)
-
I post Kkscroll in PureLibraries >> UserLibraries
then I run your program and I get the errors saying
Line 35: ScrollInt() is not a function, array, list, map or marco
Have I missed somethings?
-
Same here.
-
I can't see why it won't work for you guys.
The 'kkscroll' library file should be inside the path,something like my installation path:
'E:\Apps\Purebasic520\PureLibraries\UserLibraries\' I've also tried this on my installations of v4.51, v5.11 and it works perfectly.
I also have my 2D/3D Starfield library to test too.....
-
Works for me too. Tested with PB 4.51. ( Nice work btw! :) ) Did you guys restart your IDE after copying the file to the library folder? Otherwise it won't work. ;)
-
Did you guys restart your IDE after copying the file to the library folder?
How do you do that because when I put kkscroll in purelibrary folder then i double purebasic ide then run the program......it doesnt work
i must have missed somethings ::)
-
The 'kkscroll' library file must go in the '..\UserLibraries\' folder. Then select Compiler>Restart Compiler from the top menu.
[Edit]
Here are a few new examples from my new version of the scroller and starfield library.
-
Nice work.
On the Lazy Scroll 64 example, at the end of the text I get an invalid memory access.
I'm using 5.20x86b9.
-
Update, new version with more effects. Bin the old library and check out the examples.
Compiled with PB5.20 b10
-
tried it too. another problem here:
-
On a Mac I copied library to UserLibraries , restarted compiler , then get this error
What was the library compiled on? I'm guessing this library is only usable on Windows 32 bit ?
-
Got it working in the end, many thanks. The library is a 32 bit Windows library.
-
is it possible to get a fixed version? i can not run it :(
used: PB v4.61 and PB v5.30
PB5.30 --> does not support compressed Libs
thank you
-
Mine is 5.30 PB and it saying the same things as inc(man above me)
Windows I used are Windows 7 64bit :)
-
Got it working in the end, many thanks. The library is a 32 bit Windows library.
how you maneged it ? wanna use it too... or less to see something.
-
Latest version attached here. Must be using latest version of PB to work. :)
-
finally.
it's working with PB v5.30 x86
is there any possibility to edit the Amplitude or any other values?
i would love to include your Sin into a Demo
does your Lib support alpha transparency png Font/sprites?
thanky you again for the great Job
-
PureBasic 5.31 (MacOS X - x64) - Compressed libraries are not supported (KK_Scroller).
Is the lib source available so that it can be compiled cross platform ?