Main Menu

Ballbox

Started by enbe11_3, November 10, 2009, 04:02:26 AM

Previous topic - Next topic

enbe11_3


What do you think about my first jPCT`s proyect?

http://ballbox.webcindario.com/

Ballbox is under development so it might have some bugs...

EgonOlsen

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?

enbe11_3

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


EgonOlsen

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.

enbe11_3

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).

JavaMan

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!

enbe11_3

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?


JavaMan

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.  :)

enbe11_3

  :-\, Try disabling the sound and the shadows ?

JavaMan


EgonOlsen

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.

JavaMan

#11
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.

enbe11_3

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!

EgonOlsen

I've added Ballbox to the projects page.

enbe11_3

Looks great, Thanks!