Author Topic: Ballbox  (Read 10387 times)

Offline enbe11_3

  • byte
  • *
  • Posts: 17
    • View Profile
Ballbox
« on: November 10, 2009, 04:02:26 am »

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

http://ballbox.webcindario.com/

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

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Re: Ballbox
« Reply #1 on: November 10, 2009, 10:08:00 pm »
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?

Offline enbe11_3

  • byte
  • *
  • Posts: 17
    • View Profile
Re: Ballbox
« Reply #2 on: November 11, 2009, 04:58:10 am »
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


Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Re: Ballbox
« Reply #3 on: November 11, 2009, 08:52:12 am »
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.

Offline enbe11_3

  • byte
  • *
  • Posts: 17
    • View Profile
Re: Ballbox
« Reply #4 on: November 12, 2009, 02:55:44 am »
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).

Offline JavaMan

  • long
  • ***
  • Posts: 231
    • View Profile
Re: Ballbox
« Reply #5 on: November 12, 2009, 09:24:17 pm »
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:

Code: [Select]
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!

Offline enbe11_3

  • byte
  • *
  • Posts: 17
    • View Profile
Re: Ballbox
« Reply #6 on: November 13, 2009, 02:26:36 am »
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?


Offline JavaMan

  • long
  • ***
  • Posts: 231
    • View Profile
Re: Ballbox
« Reply #7 on: November 13, 2009, 03:17:03 pm »
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.

Quote
First of all thanks for the feedback!!
I like testing people's stuff when I have the time.  :)

Offline enbe11_3

  • byte
  • *
  • Posts: 17
    • View Profile
Re: Ballbox
« Reply #8 on: November 14, 2009, 02:32:25 am »
  :-\, Try disabling the sound and the shadows ?

Offline JavaMan

  • long
  • ***
  • Posts: 231
    • View Profile
Re: Ballbox
« Reply #9 on: November 15, 2009, 07:25:12 pm »
ok, i'll try that

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Re: Ballbox
« Reply #10 on: November 15, 2009, 09:12:22 pm »
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.

Offline JavaMan

  • long
  • ***
  • Posts: 231
    • View Profile
Re: Ballbox
« Reply #11 on: November 15, 2009, 09:32:51 pm »
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.
« Last Edit: November 15, 2009, 11:50:58 pm by JavaMan »

Offline enbe11_3

  • byte
  • *
  • Posts: 17
    • View Profile
Re: Ballbox
« Reply #12 on: November 16, 2009, 12:52:44 am »
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!

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Re: Ballbox
« Reply #13 on: November 16, 2009, 05:57:23 pm »
I've added Ballbox to the projects page.

Offline enbe11_3

  • byte
  • *
  • Posts: 17
    • View Profile
Re: Ballbox
« Reply #14 on: November 17, 2009, 02:35:53 am »
Looks great, Thanks!