A little distraction for plasma. Throw the ball around the screen to relieve stress. Email me with suggestions! :)
9 years ago
Version 0.5: Very big update! Added lots of configuration options, including modifiable image and colour, physics settings, sound and an auto bounce feature. Please note that the sound is *strictly experimental* as in, it should work, but as my phonon is broken, I've never actually heard it work :). Thanks to MJD for the initial config patch, and a HUGE thanks to Christoph Burger-Scheidlin for all his help, bugfixes and patches. Enjoy.
Version 0.3:
This has the david roberts patches, so it looks nice again :) . Still to do is some config, eg colour change, image change, and maybe physics change. Ill dig into the plasma api :) .
Version 0.2b:
Quick little bugfix
Version 0.2:
Got a new image, thanks to Chris Sharkot (http://openclipart.org/media/people/chris_sharkot) on openclipart.org :)
Version 0.1:
Initial release, basic functionality.
9 years ago
Version 0.5: Very big update! Added lots of configuration options, including modifiable image and colour, physics settings, sound and an auto bounce feature. Please note that the sound is *strictly experimental* as in, it should work, but as my phonon is broken, I've never actually heard it work :). Thanks to MJD for the initial config patch, and a HUGE thanks to Christoph Burger-Scheidlin for all his help, bugfixes and patches. Enjoy.
Version 0.3:
This has the david roberts patches, so it looks nice again :) . Still to do is some config, eg colour change, image change, and maybe physics change. Ill dig into the plasma api :) .
Version 0.2b:
Quick little bugfix
Version 0.2:
Got a new image, thanks to Chris Sharkot (http://openclipart.org/media/people/chris_sharkot) on openclipart.org :)
Version 0.1:
Initial release, basic functionality.
openDesktop.org :
tromboneman
8 years ago
I seem to be having a problem, though. Whenever it hits either side of my screen, it will only move vertically. I initially thought it was only supposed to move vertically, but after taking a look at the source, realized that this wasn't supposed to be the case. I'm running Kubuntu 9.10.
Thank you
Report
ShadowKyogre
8 years ago
Report
FrostBlue
9 years ago
/home/user/bball-0.5/bball.cpp: In member function ‘void bballApplet::constraintsUpdated(Plasma::Constraints)’:
/home/user/bball-0.5/bball.cpp:248: error: ‘setDrawStandardBackground’ was not declared in this scope
make[2]: *** [CMakeFiles/plasma_applet_bball.dir/bball.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_bball.dir/all] Error 2
make: *** [all] Error 2
This is what I get when I try to make.
Help please.
Report
orkybash
9 years ago
Report
FrostBlue
9 years ago
Simple and fun, love it. Great Work.
Report
Charmed
9 years ago
Thats really sad :(
Please go on :)
Greetings Mark
Report
Kenichi
9 years ago
Report
someguyouknow
9 years ago
Report
tagx
9 years ago
Wishlist: Make bball use applets as ground to so that it will bounce on applets too.
Remember that game with pegs and you bounce a ball down?
Join #plasma !
Report
sobonpiotr
9 years ago
iszczq@debian:~/bball$ cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/
-- Found Qt-Version 4.3.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Found KDE 4.0 include dir: /usr/include
-- Found KDE 4 library dir: /usr/lib
-- Found KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found KDE4 automoc: /usr/bin/kde4automoc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/miszczq/bball
miszczq@debian:~/bball$ make
[100%] Built target bball
miszczq@debian:~/bball$ su
Hasło:
debian:/home/miszczq/bball# make install
[100%] Built target bball
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing /usr/lib/kde4/lib/kde4/bball.so
-- Installing /usr/lib/kde4/share/kde4/services/plasma-applet-bball.desktop
-- Installing /usr/lib/kde4/share/apps/desktoptheme/default/widgets/bball.svg
Restart plasma and... i can`t add bball to my plasma desktop. :{
Is anyone can help me?
Report
sobonpiotr
9 years ago
I changed cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/ into cmake -DCMAKE_INSTALL_PREFIX=/usr/ and all work good.
And i have another questions, it is possilbe to make ball not go behind other applets... like K toolbar.
Report
gillespie
9 years ago
Report
gillespie
9 years ago
Tom
Report
oldfield
9 years ago
########### Mar91
cmake -DCMAKE_INSTALL_PREFIX=(Your prefix)
make
make install
Report
Mar91
9 years ago
Report
MJD
9 years ago
I created a patch (available from http://pastebin.ca/868115) to add a config dialog to edit the basic physics parameters.
Report
koral
9 years ago
Thanks, this makes the desktop look more interactive....
It will be nice if the balls bounce one-over-the-other and if they stop issuing paint events when stopped (they still do)
Compliments!
Report
gillespie
9 years ago
Thanks
Tom
Report
buschmann23
9 years ago
thank you for this nice plasmoid. I have build packages for openSUSE 10.2 and 10.3, you can find them here:
http://software.opensuse.org/search?baseproject=ALL&p=1&q=kde4-plasmoid-bball
They already include the no border patch from David Roberts.
Report
andresj
9 years ago
$ cmake .
$ make
$ sudo make install
And then closed plasma and opened it again:
$ qdbus org.kde.plasma /MainApplication quit
$ plasma &
But when I click on Add Widgets and search for BBalL, I can't find it.
I am using KDE 4.0.0 in Kubuntu. Any suggestions or ideas? I noticed that cmake configured Makefile to install with /usr/local as prefix, but I don't know how to change this...
Report
nemti
9 years ago
Report
puelocesar
9 years ago
But how can I disable that plasma border? In your screenshot there's no border...
Report
nemti
9 years ago
Report
nemti
9 years ago
Report
pelzowski
9 years ago
patpi@KDE4:~/System/bball> cmake .
CMake Error: ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/patpi/.kde4/share/apps;/usr/share/kde4/apps
-- Configuring done
maybe I don't have some package in my system.
But maybe I can't use cmake correctly. Some little compilation instructions would be nice.
Thx in advance.
Report