What do you think about my first jPCT`s proyect?
http://ballbox.webcindario.com/
Ballbox is under development so it might have some bugs...
Nice. Too bad that i suck tremendously in this kind of game. However, i think that a little increase in the ball's "power" (10-20%) would help to make it even cooler. I'll add it to the projects page later this week if you don't mind.
BTW: How did the OLPC version work out?
Thank you so much for your advice, I will consider it.
Ofcousre you can add it to the projects page!! (I will be grateful ;D)
I tested Ballbox in a Virtual Machine, but I didn't have the opportunity to test it in a OLPC.
In the VM it works, slow but it works. If I test ballbox in a real OLPC i will tell you.
OLPCBallbox images:
http://ballbox.webcindario.com/olpc/Ballboxolpc.png
http://ballbox.webcindario.com/olpc/Ballboxolpc2.png
Disabling the textured background should help on the OLPC, because it will save a huge amount of fill rate, which the lowly cpu can't deliver.
Cool, that would be very useful!!!
I had made one last test in the OLPC VM, with the original Ballbox OLPC version, and it gave me good results for me (around 26fps).
I tried it out, but I can't get to the game. I hit enter, and it says to choose a level, and I hit enter again. Then the game crashes. Here is the output:
jimboy@jimboy-laptop:~/Downloads/Ballbox-Linux$ run
No command 'run' found, did you mean:
Command 'zrun' from package 'moreutils' (universe)
Command 'runq' from package 'exim4-daemon-heavy' (main)
Command 'runq' from package 'sendmail-bin' (universe)
Command 'runq' from package 'exim4-daemon-light' (main)
Command 'grun' from package 'grun' (universe)
Command 'qrun' from package 'torque-client' (multiverse)
Command 'lrun' from package 'lustre-utils' (universe)
Command 'rn' from package 'trn' (multiverse)
Command 'rn' from package 'trn4' (multiverse)
Command 'rup' from package 'rstat-client' (universe)
Command 'srun' from package 'slurm-llnl' (universe)
run: command not found
jimboy@jimboy-laptop:~/Downloads/Ballbox-Linux$ ./run.sh
1 [main] INFO odejava - Odejava version 0.2.4
Java version is: 1.6.0_0
-> support for BufferedImage
Version helper for 1.5+ initialized!
-> using BufferedImage
Software renderer (OpenGL mode) initialized
Software renderer disposed
Current mode:800 x 600 x 24 @60Hz
[ Thu Nov 12 15:20:08 EST 2009 ] - WARNING: Number of samples (2) not supported!
Driver is: unknown OpenGL driver on Mesa Project / Software Rasterizer
GL_ARB_texture_env_combine supported and used!
FBO supported and used!
OpenGL renderer initialized (using 4 texture stages)
128994-139073 -> using splitted buffer access!
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
[ Thu Nov 12 15:20:09 EST 2009 ] - ERROR: File 'from InputStream' not found - replacement texture used instead!
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
[ Thu Nov 12 15:20:10 EST 2009 ] - ERROR: File 'from InputStream' not found - replacement texture used instead!
Loading Texture...from InputStream
[ Thu Nov 12 15:20:10 EST 2009 ] - ERROR: File 'from InputStream' not found - replacement texture used instead!
Loading Texture...from InputStream
[ Thu Nov 12 15:20:10 EST 2009 ] - ERROR: File 'from InputStream' not found - replacement texture used instead!
Loading Texture...from InputStream
[ Thu Nov 12 15:20:10 EST 2009 ] - WARNING: Unsupported Texture width (600)...resizing to a width of 256 pixels!
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
Loading Texture...from InputStream
[ Thu Nov 12 15:20:10 EST 2009 ] - WARNING: Unsupported Texture width (20)...resizing to a width of 256 pixels!
Loading Texture...from InputStream
[ Thu Nov 12 15:20:10 EST 2009 ] - WARNING: Unsupported Texture width (4)...resizing to a width of 256 pixels!
Loading Texture...from InputStream
[ Thu Nov 12 15:20:10 EST 2009 ] - WARNING: Unsupported Texture width (4)...resizing to a width of 256 pixels!
[ Thu Nov 12 15:20:10 EST 2009 ] - ERROR: A texture with the name 'data/backgroundb.jpg' has been declared twice!
Loading Texture...from InputStream
[ Thu Nov 12 15:20:10 EST 2009 ] - WARNING: Unsupported Texture width (4)...resizing to a width of 256 pixels!
[ Thu Nov 12 15:20:10 EST 2009 ] - ERROR: A texture with the name 'data/backgroundb.jpg' has been declared twice!
Loading Texture...from InputStream
[ Thu Nov 12 15:20:10 EST 2009 ] - WARNING: Unsupported Texture width (4)...resizing to a width of 256 pixels!
[ Thu Nov 12 15:20:10 EST 2009 ] - ERROR: A texture with the name 'data/backgroundb.jpg' has been declared twice!
Loading Texture...from InputStream
[ Thu Nov 12 15:20:10 EST 2009 ] - WARNING: Unsupported Texture width (4)...resizing to a width of 256 pixels!
[ Thu Nov 12 15:20:10 EST 2009 ] - ERROR: A texture with the name 'data/backgroundb.jpg' has been declared twice!
Loading Texture...from InputStream
[ Thu Nov 12 15:20:10 EST 2009 ] - WARNING: Unsupported Texture width (4)...resizing to a width of 256 pixels!
[ Thu Nov 12 15:20:10 EST 2009 ] - ERROR: A texture with the name 'data/backgroundb.jpg' has been declared twice!
Loading file from InputStream
File from InputStream loaded...1420 bytes
Processing new material 01 - Default!
Texture named CRATE01.JPG added to TextureManager!
Processing object from 3DS-file: Box01
Object 'Box01_jPCT8' created using 12 polygons and 8 vertices.
Exception in thread "main" java.lang.IllegalStateException: Line not open
at org.classpath.icedtea.pulseaudio.PulseAudioClip.stop(PulseAudioClip.java:543)
at game.sounds.xcvbnmsdfghjertyukjhgfd.stopSound(xcvbnmsdfghjertyukjhgfd.java:35)
at game.sounds.zxcvbnmsdfghjkwertyu.stopSound(zxcvbnmsdfghjkwertyu.java:47)
at game.frames.jdbnkjdswf.loop(jdbnkjdswf.java:39)
at game.frames.kjhaskjd.loop(kjhaskjd.java:44)
at game.frames.jkhskjhfwe.input(jkhskjhfwe.java:113)
at game.frames.jkhskjhfwe.loop(jkhskjhfwe.java:80)
at Start.Run.main(Run.java:75)
jimboy@jimboy-laptop:~/Downloads/Ballbox-Linux$
I'm using Ubuntu 9.10 with
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-1ubuntu3)
That may be the problem, I'll try to get the Sun VM to work. I actually thought I was using the Sun VM.
JavaMan,
Oh, and another thing. The main menu didn't work to well for me. Pressing the arrow keys on the keyboard didn't always move the selection up/down sequentially.
I know you're just starting on it. Hope this helps!
First of all thanks for the feedback!! :)
I think I know how to solve the problem in the main menu, but i am trying to find out why you can´t enter to the choose level´s next window (Instructions window). Can you enter to the credits window?
Yes, I can get to the other screens just fine. Actually, I can get to the choose levels. The problem is when the instruction screen comes up, and I hit enter again. That's when the game crashes.
QuoteFirst of all thanks for the feedback!!
I like testing people's stuff when I have the time. :)
:-\, Try disabling the sound and the shadows ?
ok, i'll try that
I tried to run it on my old EEEPC using the default Linux that comes with the system, but i couldn't get it to work. Because the desktop uses a 16bit color depth, it couldn't find a 24bit mode and crashed. You should add a video mode selection.
Ok, got it to work. The problem was the OpenJDK VM. For some reason, that Java vm creates that sound error. The Sun-vm doesn't do that. Everything works fine.
I really like the feel of the game. It reminds me of a Wii game I played. Also, I don't know if you want this but the average number that is printed out on the console is around 400.
Thanks a lot Egon and JavaMan!!!
I am going to fix sound and video mode bugs as soon as i can
About the average number (fps), i am going to print it on game screen
thanks again!
I've added Ballbox to the projects page.
Looks great, Thanks!
I´ve uploaded a new version of Ballbox with bugs fixed.
This version comes with 4 more levels.
I hope you enjoy it!!!
I will keep working on the OLPC version and the video mode selection.
Nice work. Too bad that i really suck in this kind of game, so i can't really tell what could be improved IMHO...because i would have to improve myself first. Maybe you should make a webstart version and post it on javagaming.org (http://javagaming.org) to get at least some feedback on game play.
Great Idea!
At this moment i am working onthe OLPC version, but after finish that i will post Ballbox there.
thanks
Finally i ran Ballbox, OLPC version, on a real OLPC computer and the
performance was about 4 fps to 7 fps.. :-[
MMM.. I think that Java applications are too demanding for OLPC´s hardware..
With or without the background graphics?
Without background graphics.
Well then...another option would be to use undersampling for the graphics, i.e. render in a quarter of the resolution and scale up. But i doubt that this will help very much...
mmm... I will try that.